[rtmpdump] compile mingw error, /usr/bin/ld: cannot find -lws2_32 , svn-r254

bird bird1110 at gmail.com
Thu Feb 18 08:03:17 CET 2010


make mingw > errorlog 2>&1

errorlog:
make[1]: Entering directory `/home/bird/rtmpdump'
gcc -Wall  log.o rtmp.o amf.o rtmpdump.o parseurl.o hashswf.o -o
rtmpdump.exe -lcrypto -lz -lws2_32 -lwinmm -lgdi32
/usr/bin/ld: cannot find -lws2_32
collect2: ld returned 1 exit status
make[1]: *** [rtmpdump] Error 1
make[1]: Leaving directory `/home/bird/rtmpdump'
make: *** [mingw] Error 2

in makefile,
mingw:
modifed
CROSS_COMPILE=mingw32-
to
CROSS_COMPILE=

anyone please help
thanks
bird


More information about the rtmpdump mailing list