On Sun, 17 Oct 2004, Frank Heckenbach wrote:
I have uploaded a new beta version of GPC to http://www.g-n-u.de/gpc/!
My attempt to compile this snapshot dies with the following message:
/install/gpc/build/gcc/xgcc -B/install/gpc/build/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -c -I. -W -Wall -Wmissing-prototypes -Wmissing-declarations -g -O2 -Wpointer-arith -Wwrite-strings /install/gpc/gcc-3.3.1/gcc/p/rts/rts.c /install/gpc/gcc-3.3.1/gcc/p/rts/rts.c:237: error: conflicting types for `sys_siglist' /usr/include/signal.h:298: error: previous declaration of `sys_siglist' make[2]: *** [rts.o] Error 1 make[2]: Leaving directory `/install/gpc/build/gcc/p/rts' make[1]: *** [pascal.rts] Error 2 make[1]: Leaving directory `/install/gpc/build/gcc' make: *** [all-gcc] Error 2
Any clues?
My /usr/include/signal.h contains these declarations:
/* Names of the signals. This variable exists only for compatibility. Use `strsignal' instead (see <string.h>). */ extern __const char *__const _sys_siglist[_NSIG]; extern __const char *__const sys_siglist[_NSIG];
Regards, Adam Naumowicz
====================================================================== Department of Applied Logic fax. +48 (85) 745-7662 Institute of Computer Science tel. +48 (85) 745-7559 (office) University of Bialystok e-mail: adamn@mizar.org Sosnowa 64, 15-887 Bialystok, Poland http://math.uwb.edu.pl/~adamn/ ======================================================================