Steve Holme wrote: >
>Mmmm very strange. I must admit I don't include SSH or RTMP support (at the > >moment) when I build libcurl here. > >I use Visual Studio (and have solution and project files for .NET 2003 >(v7.1), 2005 (v8.0), 2008 (v9.0) and 2010 (v10.0)) and have them configured >to build against OpenSSL (as a DLL rather than statically) and to include >NTLM support. > >Are you building RTMP yourself, or do you have a pre-built version? > > I didn't build RTMP, seems that some of libs I included uses it > > > Steve Holme wrote: >Visual Studio uses a 2 pass linker. gnu-ld does not. The OP may have to >reorder the libs in the link-command. -lws2_32 (missing htonl@4 etc.) >should come after all other libs referring to those functions. > > g++ -DCURL_STATICLIB -DUSE_LIBSSH2 -DHAVE_LIBSSH2 -DCURL_DISABLE_LDAP -DHAVE_LIBSSH2_H -DLIBSSH2_WIN32 -DLIBSSH2_LIBRARY -DUSE_SSLEAY -O0 -g3 -Wall -c -fmessage-length=0 -osrc\CURLDown.o ..\src\CURLDown.cpp g++ -L../lib -oCURLDown.exe src\CURLDown.o -lcurl -lcrypto -lwinmm -lgdi32 -lwldap32 -leay32 -lidn -lrtmp -lssh2 -lz -lssl32 -lssl -lws2_32 > > Now I get only one error!! > ../lib/librtmp.a(rtmp.o):rtmp.c:(.text+0xb45): undefined reference to `timeGetTime@0' > > >
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html