[Udpcast] [patch] Fix FTBFS on GCC 4.7

Michal Petrucha michal.petrucha at ksp.sk
Sat Feb 16 03:24:39 CET 2013


I tried building udpcast on a current Arch Linux today and I got the
following error:

gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I.  -I.   -c -o console.o console.c
In file included from console.c:7:0:
console.h:25:9: error: unknown type name 'fd_set'

Luckily, a fix is fairly straightforward; the definition of fd_set was
moved into a different header (which is included anyway). See the
attached patch.

Michal Petrucha

P.S.: I'm not subscribed to the list, so please CC: me in any replies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udpcast-gcc-4.7.patch
Type: text/x-diff
Size: 525 bytes
Desc: not available
URL: <http://www.udpcast.linux.lu/pipermail/udpcast/attachments/20130216/56524494/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.udpcast.linux.lu/pipermail/udpcast/attachments/20130216/56524494/attachment.sig>


More information about the Udpcast mailing list