[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib compilation error
From: |
Eric Blake |
Subject: |
Re: gnulib compilation error |
Date: |
Mon, 16 May 2011 13:55:31 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 |
On 05/16/2011 01:51 PM, Sam Steingold wrote:
> I am getting this error:
On which platform?
>
> In file included from /home/sds/src/clisp/current/build-g/gllib/sys/stat.h:44,
> from clisp.c:31:
> /home/sds/src/clisp/current/build-g/gllib/time.h:469: error: expected ';',
> ',' or ')' before '__timer'
> /home/sds/src/clisp/current/build-g/gllib/time.h:491: error: expected ';',
> ',' or ')' before '__timer'
>
> time.h:469:_GL_FUNCDECL_SYS (localtime_r, struct tm *, (time_t const
> *restrict __timer,
> struct tm *restrict __result)
> _GL_ARG_NONNULL ((1, 2)));
>
> it appears that time_t is not defined.
Most likely a broken header, and we can work around it if we know which
platform needs the replacement <time.h> to include some prerequisite
headers.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature