[FFmpeg-devel] [fixed] FreeBSD 8.1, --disable-network due to in.h not included.

Måns Rullgård mans
Tue Sep 7 12:09:46 CEST 2010

bombsiteunrested at gmail.com writes:

> Hi all.
> Had fixed this:
>  libavformat/udp.c:77: error: 'IPPROTO_IPV6' undeclared (first use in
> this function)
> by including netinet/in.h (mentioned here:
> http://forums.freebsd.org/archive/index.php/t-5228.html ). Although it
> needs
> #define __BSD_VISIBLE 1
> defined somewhere, don't know where exactly - so just removed #ifdef
> .. #endif from netinet/in.h, leading to successful build.
> Shouldn't be udp.c and configure script fixed to include&define?
> cheers.

BSD should pull their collective arse out of the last century and
bring their OS into this one.  It's not very likely to happen though.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list