This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

syntax errors in gcc-4.2.1's stdarg.h


I'm attaching some of the output I got when I last tried to build
pl-5.6.40.  Maybe part of the problem is that the workstation can't find
cdefs.h.  Thanks.

Bill

________________________________________________________________
Please visit a saintly hero:
http://www.jakemoore.org

And a boy with a wonderful wish:
http://shaneswish.com/
cp /home/bill/pl-5.6.40/src/pl-stream.h ../include/SWI-Stream.h
sed 's/"pl-itf.h"/<SWI-Prolog.h>/' /home/bill/pl-5.6.40/src/pl-extend.c > ../include/stub.c
/usr/local/bin/gcc -c -I. -I/home/bill/pl-5.6.40/src -I/home/bill/pl-5.6.40/src/rc -Wall -O3 -fno-strict-aliasing  -pthread rc/access.c -o rc/access.o
In file included from rc/rc.h:53,
                 from rc/access.c:26:
/usr/local/include/inttypes.h:4:23: error: sys/cdefs.h: No such file or directory
/usr/local/include/inttypes.h:5:20: error: endian.h: No such file or directory
In file included from rc/rc.h:53,
                 from rc/access.c:26:
/usr/local/include/inttypes.h:231: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
/usr/local/include/inttypes.h:239: error: conflicting types for 'intptr_t'
/usr/local/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/sys/int_types.h:119: error: previous declaration of 'intptr_t' was here
/usr/local/include/inttypes.h:240: error: conflicting types for 'uintptr_t'
/usr/local/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/sys/int_types.h:120: error: previous declaration of 'uintptr_t' was here
In file included from /usr/local/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdio.h:14,
                 from rc/rc.h:63,
                 from rc/access.c:26:
/usr/local/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdarg.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
In file included from rc/rc.h:63,
                 from rc/access.c:26:
/usr/local/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdio.h:241: error: expected declaration specifiers or '...' before '__gnuc_va_list'
In file included from rc/rcutil.h:28,
                 from rc/access.c:43:
/usr/local/lib/gcc/sparc-sun-solaris2.8/4.2.1/include/stdarg.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'va_list'
make[1]: *** [rc/access.o] Error 1
make[1]: Leaving directory `/home/bill/pl-5.6.40/src'
gmake: *** [lite] Error 2
%^Dexit

script done on Thu 06 Sep 2007 11:23:03 AM EDT

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]