[Mingw-w64-public] Building libmicrohhtpd: "Please include winsock2.h before windows.h" + "plibc.h:74:8: error: redefinition of 'struct _stat64'"

2012-07-07 Thread Rune K. Svendsen
Hello dear list I'm trying to build libmicrohttpd using mingw-w64, and it's not going so well. I'm met with a warning first: /usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp] followed

Re: [Mingw-w64-public] linking error: "*x* referenced in section `.text' of [...]: defined in discarded section `.text' of [...]"

2012-07-05 Thread Rune K. Svendsen
On 07/06/2012 12:06 AM, JonY wrote: > On 7/6/2012 04:16, Rune K. Svendsen wrote: >> Hi list! >> >> I'm trying to build the Streamer part of the PeerStreamer open source >> project (http://peerstreamer.org) using the gcc-mingw-w64 package on >> Ubuntu 12.04 (gc

[Mingw-w64-public] linking error: "*x* referenced in section `.text' of [...]: defined in discarded section `.text' of [...]"

2012-07-05 Thread Rune K. Svendsen
Hi list! I'm trying to build the Streamer part of the PeerStreamer open source project (http://peerstreamer.org) using the gcc-mingw-w64 package on Ubuntu 12.04 (gcc version 4.6.3). The building process goes fine. Some warnings, but I think that's to expect. When it gets to the final step of s