[rtmpdump] Link OpenSSL statically for Win32

David Woodhouse dwmw2 at infradead.org
Sun Apr 18 21:07:49 CEST 2010


On Sun, 2010-04-18 at 11:44 -0700, Howard Chu wrote:
> It might be, but the OpenSSL license is incompatible with the GPL, so it would 
> be illegal for us to distribute such a binary. What end-users build and run is 
> their own business of course.

Ah, crap. Of course.

Is the GNUTLS build expected to work on Windows? I get this...

[dwmw2 at macbook rtmpdump]$ make CC=/usr/bin/i686-pc-mingw32-gcc mingw AR=/usr/bin/i686-pc-mingw32-ar mingw CRYPTO=GNUTLS
make[1]: Entering directory `/home/dwmw2/working/rtmpdump'
/usr/bin/i686-pc-mingw32-gcc -Wall   -DRTMPDUMP_VERSION=\"v2.2c\"  -O2   -c -o rtmpdump.o rtmpdump.c
make[2]: Entering directory `/home/dwmw2/working/rtmpdump/librtmp'
/usr/bin/i686-pc-mingw32-gcc -Wall   -DRTMPDUMP_VERSION=\"v2.2c\" -DUSE_GNUTLS -O2   -c -o rtmp.o rtmp.c
In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/gcrypt.h:35,
                 from handshake.h:27,
                 from rtmp.c:123:
/usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:16:2: error: #error "ws2tcpip.h is not compatible with winsock.h. Include winsock2.h instead."
In file included
from /usr/i686-pc-mingw32/sys-root/mingw/include/gcrypt.h:35,
                 from handshake.h:27,
                 from rtmp.c:123:
/usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:124: error:
redefinition of 'struct ip_mreq'
/usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:272: error: two
or more data types in declaration specifiers
make[2]: *** [rtmp.o] Error 1
make[2]: Leaving directory `/home/dwmw2/working/rtmpdump/librtmp'

-- 
dwmw2



More information about the rtmpdump mailing list