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