I am not allowed to reply directly to the CVS mailing list,
so this goes here.
The 2 commits in the subject create 2 new files 'udp.c'
and 'tcp.c' in stream/
Both unconditionally define an '#include <netdb.h>',
but that header file does
not exist in MingW/Msys.
Error:
<snip>
gcc -c -I../libvo -I../../libvo -fno-PIC -O4
-march=athlon-xp -mtune=athlon-xp
-pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/src/DVB/include
-I/usr/include/dxr2
-I/usr/local/include/cdda -Ic:/mingw/include/freetype2
-Ic:/mingw/include -I..
-I../loader -o udp.o udp.c
udp.c:29:19: netdb.h: No such file or directory
udp.c: In function `udp_open_socket':
udp.c:139: warning: passing arg 4 of `setsockopt' from
incompatible pointer type
udp.c:151: warning: passing arg 4 of `setsockopt' from
incompatible pointer type
udp.c:183: warning: passing arg 4 of `getsockopt' from
incompatible pointer type
make[1]: *** [udp.o] Error 1
make[1]: Leaving directory `/home/KyleK/main/stream'
make: *** [stream/stream.a] Error 2
The '#define <netdb.h>' has to be moved a couple of
lines down into the '#ifndef
WINSOCK2' block.
Frank
_______________________________________________
MPlayer-cygwin mailing list
MPlayer-cygwin mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygw
in
|