Opened 13 years ago
Closed 12 years ago
#1356 closed defect (fixed)
Fail to build for kfreebsd in libavformat/sctp.c
Reported by: | marillat | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | 0.11 | Keywords: | |
Cc: | Michael Niedermayer | Blocked By: | |
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Hi,
0.11 fail to build for KfreeBSD (Debian Unstable) with this error :
In file included from libavformat/sctp.c:41:0: /usr/include/netinet/sctp.h:35:10: error: expected declaration specifiers or '...' before string constant In file included from /usr/include/netinet/sctp.h:543:0, from libavformat/sctp.c:41: /usr/include/netinet/sctp_uio.h:35:10: error: expected declaration specifiers or '...' before string constant libavformat/sctp.c: In function 'ff_sctp_send':
You can find the build log here :
http://grouchy.esiee.fr/logs/ffmpeg-dmo_0.11-dmo1-kfreebsd-amd64-20120527-0017
Change History (5)
comment:1 by , 13 years ago
follow-up: 4 comment:2 by , 12 years ago
Status: | new → open |
---|
Sorry for the late reply
The build log link is sadly 404, but iam not sure it would help
about the mplayer check, we check for the header as well but obviosuly this isnt enough.
the relevant part of our configure is
check_header netinet/sctp.h
and
sctp_protocol_deps="network netinet_sctp_h"
the error you quote is in the system header though which is a bit odd and would indicate that the header is buggy. Seeing the content of the systemheader in which the error happens may help understand better where the problem is
comment:3 by , 12 years ago
Cc: | added |
---|
comment:4 by , 12 years ago
Replying to michael:
the error you quote is in the system header though which is a bit odd and would indicate that the header is buggy. Seeing the content of the systemheader in which the error happens may help understand better where the problem is
You can find headers here :
comment:5 by , 12 years ago
Reproduced by developer: | set |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Fixed in git master, ill backport it to 0.11
I've found where I've already seen a fix for that.
Here is the log entry for svn revision 34896 in mplayer.