Hi all...

 

I tried to build libmicrohttpd-0.9.28 on CentOS 5.7

but failed to build because the following error message

 

 

daemon.c: In function 'MHD_accept_connection':

daemon.c:1325: error: 'SOCK_NONBLOCK' undeclared (first use in this
function)

daemon.c:1325: error: (Each undeclared identifier is reported only once

daemon.c:1325: error: for each function it appears in.)

daemon.c: In function 'parse_options_va':

daemon.c:2454: warning: comparison is always false due to limited range of
data type

daemon.c: In function 'setup_epoll_to_listen':

daemon.c:2732: error: 'EPOLL_CLOEXEC' undeclared (first use in this
function)

 

configure option 

--enable-shared --enable-static --enable-https --enable-bauth --enable-
dauth --enable-epoll

 

My machine 

kernel: 2.6.18-308.4.1.el5

glibc : 2.5-65

 

Thanks,

hyunho

Reply via email to