[rtmpdump] r434 - trunk/librtmp/rtmp_sys.h
Howard Chu
hyc at highlandsun.com
Sun Apr 18 22:18:15 CEST 2010
David Woodhouse wrote:
> On Sun, 2010-04-18 at 12:52 -0700, Howard Chu wrote:
>> Then something is weird with your cross-compile environment, it builds fine
>> for me with MinGW/MSYS.
>
> Perhaps it's using a version of libgcrypt which doesn't include
> ws2tcpip.h for itself? I don't know why gcrypt.h does that -- if I
> remove it, it still builds fine (this was before I included the file
> from rtmp_sys.h, of course).
> I'm just using the mingw32 packages which are part of the Fedora 12
> distribution.
Yeah, it may be the version of libgcrypt you have. I grabbed it from the
author's site: http://josefsson.org/gnutls4win/
> After manually adding -lgpg-error -lintl -liconv to the link command
> line, I now have a statically linked rtmpdump.exe which I _can_ legally
> distribute. I haven't actually tested it yet though -- that would
> require booting Windows :)
Again, weird environment. My binary has no dependency on -lintl or -liconv.
Since we do no internationalization or localization, there's no reason for
these libraries to be dragged in. Whatever those Fedora guys are doing with
this stuff, it seems to be wrong.
(I do my builds in a virtualbox with host-only networking. Running it live on
the internet is still asking for trouble, and even if it's just a VM I don't
want to have to keep wiping and re-installing it just because some stupid
virus snuck in.)
> http://david.woodhou.se/rtmpdump.exe
More information about the rtmpdump
mailing list