I have a problem when i want to compile VLC 0.9 with ffmpeg
Code: Select all
/usr/local/lib/libavformat.a(rtsp.o): In function `rtsp_parse_line':
/home/Loic/ffmpeg-trunk/libavformat/rtsp.c:665: undefined reference to `_ntohl@4
'
/usr/local/lib/libavformat.a(rtsp.o): In function `rtsp_read_header':
/home/Loic/ffmpeg-trunk/libavformat/rtsp.c:1026: undefined reference to `_htonl@
4'
/home/Loic/ffmpeg-trunk/libavformat/rtsp.c:1027: undefined reference to `_inet_n
toa@4'
/usr/local/lib/libavformat.a(rtsp.o): In function `rtsp_read_packet':
/home/Loic/ffmpeg-trunk/libavformat/rtsp.c:1149: undefined reference to `_select
@20'
/home/Loic/ffmpeg-trunk/libavformat/rtsp.c:1154: undefined reference to `___WSAF
DIsSet@8'
/usr/local/lib/libavformat.a(rtsp.o): In function `sdp_read_header':
/home/Loic/ffmpeg-trunk/libavformat/rtsp.c:1371: undefined reference to `_inet_n
toa@4'
/usr/local/lib/libavformat.a(rtp.o): In function `rtp_parse_open':
/home/Loic/ffmpeg-trunk/libavformat/rtp.c:472: undefined reference to `_gethostn
ame@8'
/usr/local/lib/libavformat.a(rtpproto.o): In function `rtp_read':
/home/Loic/ffmpeg-trunk/libavformat/rtpproto.c:198: undefined reference to `_sel
ect@20'
/home/Loic/ffmpeg-trunk/libavformat/rtpproto.c:201: undefined reference to `___W
SAFDIsSet@8'
/home/Loic/ffmpeg-trunk/libavformat/rtpproto.c:216: undefined reference to `_rec
vfrom@24'
/home/Loic/ffmpeg-trunk/libavformat/rtpproto.c:219: undefined reference to `_WSA
GetLastError@0'
/home/Loic/ffmpeg-trunk/libavformat/rtpproto.c:219: undefined reference to `_WSA
GetLastError@0'
/home/Loic/ffmpeg-trunk/libavformat/rtpproto.c:214: undefined reference to `___W
SAFDIsSet@8'
/usr/local/lib/libavformat.a(tcp.o): In function `tcp_open':
/home/Loic/ffmpeg-trunk/libavformat/network.h:51: undefined reference to `_WSASt
artup@8'
/usr/local/lib/libavformat.a(tcp.o): In function `tcp_open':
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:108: undefined reference to `_closesoc
ket@4'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:60: undefined reference to `_htons@4'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:64: undefined reference to `_socket@12
'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:70: undefined reference to `_connect@1
2'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:73: undefined reference to `_WSAGetLas
tError@0'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:75: undefined reference to `_WSAGetLas
tError@0'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:75: undefined reference to `_WSAGetLas
tError@0'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:90: undefined reference to `_select@20
'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:91: undefined reference to `___WSAFDIs
Set@8'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:97: undefined reference to `_getsockop
t@20'
/usr/local/lib/libavformat.a(tcp.o): In function `tcp_read':
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:128: undefined reference to `_select@2
0'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:129: undefined reference to `___WSAFDI
sSet@8'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:130: undefined reference to `_recv@16'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:132: undefined reference to `_WSAGetLa
stError@0'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:132: undefined reference to `_WSAGetLa
stError@0'
/usr/local/lib/libavformat.a(tcp.o): In function `tcp_write':
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:158: undefined reference to `_select@2
0'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:159: undefined reference to `___WSAFDI
sSet@8'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:160: undefined reference to `_send@16'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:162: undefined reference to `_WSAGetLa
stError@0'
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:162: undefined reference to `_WSAGetLa
stError@0'
/usr/local/lib/libavformat.a(tcp.o): In function `tcp_close':
/home/Loic/ffmpeg-trunk/libavformat/tcp.c:179: undefined reference to `_closesoc
ket@4'
/usr/local/lib/libavformat.a(tcp.o): In function `tcp_close':
/home/Loic/ffmpeg-trunk/libavformat/network.h:60: undefined reference to `_WSACl
eanup@0'
/usr/local/lib/libavformat.a(udp.o): In function `udp_set_remote_url':
/home/Loic/ffmpeg-trunk/libavformat/udp.c:242: undefined reference to `_htons@4'
/usr/local/lib/libavformat.a(udp.o): In function `udp_open':
/home/Loic/ffmpeg-trunk/libavformat/network.h:51: undefined reference to `_WSASt
artup@8'
/usr/local/lib/libavformat.a(udp.o): In function `udp_open':
/home/Loic/ffmpeg-trunk/libavformat/udp.c:367: undefined reference to `_htonl@4'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:368: undefined reference to `_setsocko
pt@20'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:411: undefined reference to `_closesoc
ket@4'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:242: undefined reference to `_htons@4'
/usr/local/lib/libavformat.a(udp.o): In function `udp_open':
/home/Loic/ffmpeg-trunk/libavformat/network.h:51: undefined reference to `_WSASt
artup@8'
/usr/local/lib/libavformat.a(udp.o): In function `udp_open':
/home/Loic/ffmpeg-trunk/libavformat/udp.c:329: undefined reference to `_socket@1
2'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:334: undefined reference to `_htonl@4'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:339: undefined reference to `_htons@4'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:343: undefined reference to `_setsocko
pt@20'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:347: undefined reference to `_bind@12'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:351: undefined reference to `_getsockn
ame@12'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:352: undefined reference to `_ntohs@4'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:358: undefined reference to `_setsocko
pt@20'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:396: undefined reference to `_setsocko
pt@20'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:404: undefined reference to `_setsocko
pt@20'
/usr/local/lib/libavformat.a(udp.o): In function `udp_read':
/home/Loic/ffmpeg-trunk/libavformat/udp.c:429: undefined reference to `_recvfrom
@24'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:432: undefined reference to `_WSAGetLa
stError@0'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:432: undefined reference to `_WSAGetLa
stError@0'
/usr/local/lib/libavformat.a(udp.o): In function `udp_write':
/home/Loic/ffmpeg-trunk/libavformat/udp.c:448: undefined reference to `_sendto@2
4'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:456: undefined reference to `_WSAGetLa
stError@0'
/home/Loic/ffmpeg-trunk/libavformat/udp.c:456: undefined reference to `_WSAGetLa
stError@0'
/usr/local/lib/libavformat.a(udp.o): In function `udp_close':
/home/Loic/ffmpeg-trunk/libavformat/udp.c:483: undefined reference to `_closesoc
ket@4'
/usr/local/lib/libavformat.a(udp.o): In function `udp_close':
/home/Loic/ffmpeg-trunk/libavformat/network.h:60: undefined reference to `_WSACl
eanup@0'
/usr/local/lib/libavformat.a(udp.o): In function `udp_close':
/home/Loic/ffmpeg-trunk/libavformat/udp.c:473: undefined reference to `_setsocko
pt@20'
/usr/local/lib/libavformat.a(os_support.o): In function `resolve_host':
/home/Loic/ffmpeg-trunk/libavformat/os_support.c:63: undefined reference to `_ge
thostbyname@4'
/usr/local/lib/libavformat.a(os_support.o): In function `ff_socket_nonblock':
/home/Loic/ffmpeg-trunk/libavformat/os_support.c:74: undefined reference to `_io
ctlsocket@12'
/usr/local/lib/libavformat.a(os_support.o): In function `poll':
/home/Loic/ffmpeg-trunk/libavformat/os_support.c:136: undefined reference to `_s
elect@20'
/home/Loic/ffmpeg-trunk/libavformat/os_support.c:145: undefined reference to `__
_WSAFDIsSet@8'
/home/Loic/ffmpeg-trunk/libavformat/os_support.c:146: undefined reference to `__
_WSAFDIsSet@8'
/home/Loic/ffmpeg-trunk/libavformat/os_support.c:147: undefined reference to `__
_WSAFDIsSet@8'
Creating library file: .libs/libffmpeg_plugin.dll.a
collect2: ld returned 1 exit status
make[6]: *** [libffmpeg_plugin.la] Error 1
make[6]: Leaving directory `/home/Loic/vlc-0.9.0-svn/modules/codec/ffmpeg'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/Loic/vlc-0.9.0-svn/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Loic/vlc-0.9.0-svn/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/Loic/vlc-0.9.0-svn/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Loic/vlc-0.9.0-svn/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Loic/vlc-0.9.0-svn'
make: *** [all] Error 2
I compile with cygwin and parameters indicate in the wiki