[vlc-devel] Re: Compiling on MacOS X tiger
Ross Finlayson
finlayson at live.com
Wed May 11 00:29:35 CEST 2005
> > HTTPSink.cpp:110: error: invalid conversion from 'int*' to 'socklen_t*'
> > HTTPSink.cpp:110: error: initializing argument 3 of 'int accept
> > (int, sockaddr*, socklen_t*)'
> > make[3]: *** [HTTPSink.o] Error 1
> > make[2]: *** [liveMedia/libliveMedia.a] Error 2
> > make[1]: *** [.live] Error 2
>
>It seems to work when patching the file adding a cast for the third
>argument with (int *). Probably we should add a patch to fix this, but
>I'm not sure...
The solution is to compile this with
-DSOCKLEN_T=socklen_t
Recent versions of the "LIVE.COM Streaming Media" code include a
"config.macosx" file that defines this (as well as a
"config.macosx-before-version-10.4" file that defines SOCKLEN_T as "int").
Ross Finlayson
LIVE.COM
<http://www.live.com/>
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list