Martin Storsjö <[email protected]> writes: > On Wed, 8 Aug 2012, Reinhard Tartler wrote: > >> On Wed, Aug 8, 2012 at 7:56 PM, Martin Storsjö <[email protected]> wrote: >>> On Wed, 8 Aug 2012, Luca Barbato wrote: >>> >>>> On 08/08/2012 04:42 PM, Martin Storsjö wrote: >>>>> >>>>> From: Michael Niedermayer <[email protected]> >>>>> >>>>> This fixes build failures on debian/kfreebsd >>>> >>>> >>>>> - check_header netinet/sctp.h >>>>> + check_type netinet/sctp.h "struct sctp_event_subscribe" >>>> >>>> >>>> Which is the "failure" ? >>> >>> >>> Not sure (haven't set up a debian/fkreebsd setup to test it yet), but I'd >>> assume they have the sctp.h header but it doesn't have the >>> sctp_event_subscribe struct. >> >> libavformat/sctp.o in current libav.git master fails to build on >> kfreebsd-amd64 with this: >> >> CC libavformat/sctp.o >> In file included from libavformat/sctp.c:41: >> /usr/include/netinet/sctp.h:33: error: expected declaration specifiers >> or ‘...’ before string constant >> In file included from /usr/include/netinet/sctp.h:494, >> from libavformat/sctp.c:41: >> /usr/include/netinet/sctp_uio.h:33: error: expected declaration >> specifiers or ‘...’ before string constant >> libavformat/sctp.c: In function ‘ff_sctp_send’: >> libavformat/sctp.c:124: warning: assignment discards qualifiers from >> pointer target type >> make: *** [libavformat/sctp.o] Error 1 > > Hmm, so this header basically can't be included, if we build with the > cflags we use. Is some of the posix/standard compliance flags the > culprit perhaps?
Could also be missing some prerequisite header that's not being included. BSD is notorious for that. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
