[Ffmpeg-devel] question on rtsp with libavformat

Michael A. Kohn mike
Sat Jun 24 23:12:35 CEST 2006



On Fri, 23 Jun 2006, Ben Lear wrote:

> 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

The problem is the configure script trashes $extralibs before it creates 
config.mak.. i submitted a patch that corrects this by commenting out the 
offending line.. i'm not sure why that line is there in the first place 
tho..

/mike





More information about the ffmpeg-devel mailing list