bug-gnulib
[Top][All Lists]
Advanced

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

build fails on CentOS 5 [Re: compiler error on macOS Siera with address@


From: Tom G. Christensen
Subject: build fails on CentOS 5 [Re: compiler error on macOS Siera with address@hidden
Date: Thu, 20 Oct 2016 08:23:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 17/10/16 16:38, Tom G. Christensen wrote:
On 25/09/16 06:16, Paul Eggert wrote:
I attempted to fix the problem by installing the attached patch into
gnulib master. I can't easily test this, though, as I don't have macOS.

The patch did not include the substitution of HAVE_SYS_CDEFS_H needed
when creating sched.h.

Below is from a CentOS 5 host:

make[4]: Entering directory
`/home/tgc/tmp/daily_build/gnulib/000-gnulib-simple-59aa69f/gllib'
depbase=`echo glthread/cond.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\"
-DNO_XMALLOC -DEXEEXT=\"\" -I. -I..  -DGNULIB_STRICT_CHECKING=1
-fvisibility=hidden -g -O2 -MT glthread/cond.o -MD -MP -MF $depbase.Tpo
-c -o glthread/cond.o glthread/cond.c &&\
        mv -f $depbase.Tpo $depbase.Po
In file included from /usr/include/pthread.h:24,
                 from ./glthread/lock.h:90,
                 from ./glthread/cond.h:56,
                 from glthread/cond.c:23:
./sched.h:27:6: error: token "@" is not valid in preprocessor expressions

$ sed -n '27p' gllib/sched.h
# if @HAVE_SYS_CDEFS_H@


I'm still seeing this error on CentOS 3, 4 and 5.

-tgc



reply via email to

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