[FFmpeg-devel] [fixed] FreeBSD 8.1, --disable-network due to in.h not included.
Igor 'Lo' (И.L.)
bombsiteunrested
Tue Sep 7 12:02:19 CEST 2010
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
__BSD_VISIBLE
.. #endif from netinet/in.h, leading to successful build.
Shouldn't be udp.c and configure script fixed to include&define?
cheers.
More information about the ffmpeg-devel
mailing list