[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] GNU libmicrohttpd 0.9.53 released
From: |
Evgeny Grin |
Subject: |
Re: [libmicrohttpd] GNU libmicrohttpd 0.9.53 released |
Date: |
Wed, 12 Apr 2017 21:12:11 +0300 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
Thanks for report!
This could happen with ancient Linux kernels (which is not supported
already).
Other platforms are unaffected.
Fixed by 01df8861c19a203cea9ef26570893c2b9c0e48b2.
--
Best Wishes,
Evgeny Grin
On 12.04.2017 16:02, Anthony G. Basile wrote:
> On 4/11/17 5:53 PM, Evgeny Grin wrote:
>> I'm glad to announce the release of GNU libmicrohttpd 0.9.53.
>>
>> * Reworked handling connection in epoll mode so all active connections
>> are processed exactly one time per turn
>>
> libmicrohttpd 0.9.53 fails to build if EPOLL_SUPPORT is not available.
> At line 2255 of src/microhttpd/daemon.c there a reference to
> connection->epoll_state which is not shielded by #ifdef EPOLL_SUPPORT
> and causes the following build error:
>
> make[3]: Entering directory
> '/var/tmp/portage/net-libs/libmicrohttpd-0.9.53/work/libmicrohttpd-0.9.53/src/microhttpd'
> /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc
> -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src/include
> -I../../src/microhttpd -I/usr/include/p11-kit-1 -DBUILDING_MHD_LIB=1
> -fvisibility=hidden -pthread -I/usr/include/p11-kit-1 -O2 -pipe
> -fno-strict-aliasing -c -o libmicrohttpd_la-daemon.lo `test -f
> 'daemon.c' || echo './'`daemon.c
> libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H
> -I. -I../.. -I../../src/include -I../../src/microhttpd
> -I/usr/include/p11-kit-1 -DBUILDING_MHD_LIB=1 -fvisibility=hidden
> -pthread -I/usr/include/p11-kit-1 -O2 -pipe -fno-strict-aliasing -c
> daemon.c -fPIC -DPIC -o .libs/libmicrohttpd_la-daemon.o
> daemon.c: In function ‘send_param_adapter’:
> daemon.c:2255:23: error: ‘struct MHD_Connection’ has no member named
> ‘epoll_state’
> connection->epoll_state &= ~MHD_EPOLL_STATE_WRITE_READY;
> ^
> make[3]: *** [Makefile:1056: libmicrohttpd_la-daemon.lo] Error 1
> make[3]: Leaving directory
> '/var/tmp/portage/net-libs/libmicrohttpd-0.9.53/work/libmicrohttpd-0.9.53/src/microhttpd'
> make[2]: *** [Makefile:414: all-recursive] Error 1
> make[2]: Leaving directory
> '/var/tmp/portage/net-libs/libmicrohttpd-0.9.53/work/libmicrohttpd-0.9.53/src'
> make[1]: *** [Makefile:545: all-recursive] Error 1
> make[1]: Leaving directory
> '/var/tmp/portage/net-libs/libmicrohttpd-0.9.53/work/libmicrohttpd-0.9.53'
> make: *** [Makefile:450: all] Error 2
>