[Ffmpeg-devel] question on rtsp with libavformat

Ben Lear benlear
Fri Jun 23 06:24:18 CEST 2006

Scott wrote:
> Okay, I applied the patch, and it seems like everything
> compliled fine, but attempting to create libavformat.dll
> comes back with an "undefined reference to" error for every
> winsock function used anywhere in the project.
> Example:
> os_support.o(.text+0xdb): In function "init_winsock':
> c:/ffmpeg/libavformat/os_support.c:80 undefined reference to
> "WSAAtartup at 8' but for every winsock function in any file; htons at 4,
> getsockname at 12, etc. 

Missing winsock lib yeah ?

Make sure your link includes libws2_32.a



More information about the ffmpeg-devel mailing list