[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] libmicrohttpd under mingw environment
From: |
Leo von Klenze |
Subject: |
[libmicrohttpd] libmicrohttpd under mingw environment |
Date: |
Thu, 07 May 2009 14:17:16 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090409) |
Hello list!
I have some problems running libmicrohttpd under Windows.
I get a SIGILL signal from gdb when running my server (hnetcfg.dll).
Now I want to compile the library with mingw to debug it.
Unfortunatley I get some errors (version 0.4.1):
> daemon.c: In function `MHD_start_daemon_va':
> daemon.c:1297: error: `F_GETFL' undeclared (first use in this function)
> daemon.c:1297: error: (Each undeclared identifier is reported only once
> daemon.c:1297: error: for each function it appears in.)
> daemon.c:1300: error: `F_SETFL' undeclared (first use in this function)
> daemon.c:1300: error: `O_NONBLOCK' undeclared (first use in this function)
I configured the library to not support ssl because I don't need it. I
also tried
version 0.3.1 but this version produces some errors, too:
> memorypool.c: In function `MHD_pool_create':
> memorypool.c:75: error: `MAP_ANONYMOUS' undeclared (first use in this
> function)
Since there are binaries on the webpage for Windows, I assume it should work
somehow.
However, on linux all is working fine with no errors.
Every help is appreciated!
Thanks,
Leo
- [libmicrohttpd] libmicrohttpd under mingw environment,
Leo von Klenze <=