Re: [libmicrohttpd] MHD_start_daemon returns NULL

2022-12-23 Thread Roel Janssen
Hi Evgeny, Thank you very much for your quick and helpful reply! Actually, I don't have the .config file because I'm working on a .. restricted device.. Also, I've cross-compiled the library for use on that target device, so I don't know how one would be able to check this at configure-time. T

Re: [libmicrohttpd] MHD_start_daemon returns NULL

2022-12-23 Thread Evgeny Grin
Hi Roel, Looks like your Linux kernel was compiled without eventfd support. Can you check your '.config' for 'CONFIG_EVENTFD'? The easiest way to build working MHD in such case is use '--enable-itc=pipe' configure parameter. It will prevent usage of eventfd functions even if eventfd support

[libmicrohttpd] MHD_start_daemon returns NULL

2022-12-22 Thread Roel Janssen
Dear list, I'm trying to create an HTTP server for an ARMv7 device. But MHD_start_daemon returns NULL, and I don't know how to go from there. The device uses kernel: # uname -a Linux buildroot 4.0.0-ADI-1.3.0 #1 PREEMPT Thu Sep 15 16:03:17 UTC 2022 armv7l GNU/Linux And libc: # /lib/libc-2.18.so

Re: [libmicrohttpd] MHD_start_daemon returns NULL in Release Mode

2015-02-24 Thread dumitrița munteanu
It worked in the end! I have wrapped this MHD_start_daemon function, but i didn't write MHD_OPTION_END in the end of MHD_start_daemon. Thanks for support! On Tue, Feb 24, 2015 at 11:35 AM, dumitrița munteanu wrote: > > There is no updated version for Windows. I have tried with 0.9.17 -- which

Re: [libmicrohttpd] MHD_start_daemon returns NULL in Release Mode

2015-02-24 Thread dumitrița munteanu
There is no updated version for Windows. I have tried with 0.9.17 -- which is much older, and the result is the same. MHD_start_daemon returns always NULL, but this time with an warning message: Invalid option 2751692! (Did you termiante the list with MDH_OPTION_END ? ) [which i did : struct MH

Re: [libmicrohttpd] MHD_start_daemon returns NULL in Release Mode

2015-02-20 Thread Evgeny Grin
17.02.2015, 15:19, "dumitrița munteanu" : > Hello everybody > > I am using libmicrohttpd-0.9.35-w32  -- more exactly libmicrohttpd-10.dll for > which I have wriiten a wrapper in order to load the functions from > libmicrohttpd in Visual Studio 2010. > > My problem is that MHD_start_daemon retur

[libmicrohttpd] MHD_start_daemon returns NULL in Release Mode

2015-02-17 Thread dumitrița munteanu
Hello everybody I am using libmicrohttpd-0.9.35-w32 -- more exactly libmicrohttpd-10.dll for which I have wriiten a wrapper in order to load the functions from libmicrohttpd in Visual Studio 2010. *My problem is that MHD_start_daemon returns NULL in Release mode, but it works on Debug Mode. * I