[FFmpeg-devel] Update on lbos

Rich Felker dalias
Wed Feb 6 08:31:29 CET 2008


On Tue, Feb 05, 2008 at 11:15:00PM -0800, Dave Yeo wrote:
> On 02/05/08 03:12 am, Luca Abeni wrote:
> > Hi Dave,
> > 
> > Dave Yeo wrote:
> > [...]
> >> Here the build dies in ffserver with lots of undefined this and that 
> >> (mostly network related) if network.h is removed from ffserver.c.
> >> With network.h included it dies with
> >> I:\usr\src\ffmpeg\ffserver.o(ffserver.c) : error LNK2029: 
> >> "_ff_neterrno" : unresolved external
> >> I:\usr\src\ffmpeg\ffserver.o(ffserver.c) : error LNK2029: 
> >> "_FF_NETERROR" : unresolved external
> > I suspect this happens because ffserver ends up by including
> > libbrokenos/include/network.h instead of libavformat/network.h
> > Try moving the network.h file from libbrokenos/include to libbrokenos:
> > I think this should fix the problem (the presence of network.h
> > in libbrokenos/include is a bug).
> 
> Moving network.h results in build failure due to poll.h not being included.
> Btw, should it not be sys/poll.h? Actually copying poll.h to sys/poll.h 
> and moving network.h does allow the build to finish.

No, sys/poll.h is incorrect and nonconformant. I reported that bug a
while back and it was fixed to use simply poll.h.

Rich




More information about the ffmpeg-devel mailing list