libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] error building for Centos 5.7


From: Christian Grothoff
Subject: Re: [libmicrohttpd] error building for Centos 5.7
Date: Tue, 27 Aug 2013 15:27:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130704 Icedove/17.0.7

Ok, we clearly need to add some #ifdef's for older GNU/Linux platforms here.
According to https://github.com/joyent/node/issues/2484, you need >= Linux 
2.6.28
and glibc >= 2.9 for these features.  But we _can_ live without them (at the
expense of some performance), so I'll patch it later.

-Christian

On 08/27/2013 08:56 AM, 김현호 wrote:
> 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

[Prev in Thread] Current Thread [Next in Thread]