bug-gnulib
[Top][All Lists]
Advanced

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

test-sched build error on CentOS 5


From: Tom G. Christensen
Subject: test-sched build error on CentOS 5
Date: Mon, 19 Sep 2011 20:40:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110805 Red Hat/3.1.12-1.el6_1 Thunderbird/3.1.12

Hello,

Building a full gnulib bootstrap failed on CentOS 5:
depbase=`echo test-sched.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DGNULIB_STRICT_CHECKING=1 -I. -I. -I.. -I./.. -I../gllib -I./../gllib -g -O2 -Wall -MT test-sched.o -MD -MP -MF $depbase.Tpo -c -o test-sched.o test-sched.c &&\
        mv -f $depbase.Tpo $depbase.Po
test-sched.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 't1'

It is caused by pid_t being undefined, adding <sys/types.h> to test-sched.c allowed the build to complete with no further problems.

Pre-processed source is here:
http://jupiterrise.com/tmp/test-sched.i

-tgc



reply via email to

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