Ticket #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 | 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
comment:2 follow-up: ↓ 4 Changed 11 months ago by michael
- Status changed from new to 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:4 in reply to: ↑ 2 Changed 11 months ago by marillat
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 :



I've found where I've already seen a fix for that.
Here is the log entry for svn revision 34896 in mplayer.