libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Problems compiling in OSX with CLOCK_MONOTONIC.


From: Christian Grothoff
Subject: Re: [libmicrohttpd] Problems compiling in OSX with CLOCK_MONOTONIC.
Date: Mon, 23 Sep 2013 20:36:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130827 Icedove/17.0.8

Thanks for reporting, should be fixed in SVN 29506. Please let me know
if not... -Christian

On 09/23/2013 08:18 PM, James Aspinwall wrote:
> 
> I am having problems compiling in OSX because CLOCK_MONOTONIC is missing. I 
> get the following error:
> 
> 
> gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src/include/plibc -I../.. 
> -I../../src/include -I../../src/applicationlayer   
> -DDATA_DIR=\"../../src/datadir/\"  -no-cpp-precomp -fno-common 
> -fno-strict-aliasing -g -O2 -MT proxy.o -MD -MP -MF .deps/proxy.Tpo -c -o 
> proxy.o proxy.c
> proxy.c: In function ‘parse_uri’:
> proxy.c:247: warning: field precision should have type ‘int’, but argument 3 
> has type ‘regoff_t’
> proxy.c:248: warning: field precision should have type ‘int’, but argument 3 
> has type ‘regoff_t’
> proxy.c:249: warning: field precision should have type ‘int’, but argument 3 
> has type ‘regoff_t’
> proxy.c:250: warning: field precision should have type ‘int’, but argument 3 
> has type ‘regoff_t’
> proxy.c:251: warning: field precision should have type ‘int’, but argument 3 
> has type ‘regoff_t’
> proxy.c:252: warning: field precision should have type ‘int’, but argument 3 
> has type ‘regoff_t’
> proxy.c: In function ‘run’:
> proxy.c:1165: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
> proxy.c:1165: error: (Each undeclared identifier is reported only once
> proxy.c:1165: error: for each function it appears in.)
> make[4]: *** [proxy.o] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2



reply via email to

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