compiling on Windows with mingw-w64

Ask for help and report issues with the Windows version of Transmission
Post Reply
nobody
Posts: 3
Joined: Sat Aug 22, 2009 12:53 pm

compiling on Windows with mingw-w64

Post by nobody »

Hi guys

I'm trying to compile Transmission-GTK on Win64 using Mingw-w64.

I got all external libraries to compile OK except for libevent (could not get 1.4.14b to compile, only 2.0.9-rc), but I'll deal with that when I get there. Right now I can get configure to run by hacking out the part that looks for event-config.h (as I said, I'll tend to that when I get there) but I'm having a problem compiling third-party/miniupnp:

make[3]: Entering directory `d:/Documenten/Downloads/transmission-2.13/third-party/miniupnp'
CC connecthostport.o
CC igd_desc_parse.o
CC minisoap.o
CC minissdpc.o
minissdpc.c:28: error: expected specifier-qualifier-list before 'uint16_t'
minissdpc.c: In function 'getDevicesFromMiniSSDPD':
minissdpc.c:62: error: 'struct sockaddr_un' has no member named 'sun_family'
minissdpc.c:63: error: 'struct sockaddr_un' has no member named 'sun_path'
minissdpc.c:63: error: 'struct sockaddr_un' has no member named 'sun_path'
make[3]: *** [minissdpc.o] Error 1

I don't know a lot of C but I tried looking at the C file in question and I don't see any obvious errors.

Does anyone know what's going on?

Thanks
Post Reply