problem installing gcc 2.95.2
Leow Wee Kheng
leowwk@comp.nus.edu.sg
Wed Feb 2 16:07:00 GMT 2000
Hi,
I followed the instructions to install gcc 2.95.2
but encountered the following problem:
[67]# make bootstrap
make[1]: Entering directory `/disks/chestnut1/local/gcc-2.95.2/libiberty'
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/disks/chestnut1/tmp/gcc-2.95.2/libiberty/../include /disks/chestnut1/tmp/gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/disks/chestnut1/tmp/gcc-2.95.2/libiberty/../include /disks/chestnut1/tmp/gcc-2.95.2/libiberty/choose-temp.c
In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.f.1/include/time.h:90,
from /usr/include/sys/time.h:405,
from /usr/include/sys/select.h:17,
from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.f.1/include/sys/types.h:281,
from /disks/chestnut1/tmp/gcc-2.95.2/libiberty/choose-temp.c:30:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
make[1]: *** [choose-temp.o] Error 1
make[1]: Leaving directory `/disks/chestnut1/local/gcc-2.95.2/libiberty'
make: *** [all-libiberty] Error 2
I've tried several different options, including the method
of installing multiple gcc's. But, none of them worked.
Could you tell me how to get around the problem?
Thanks a lot.
Wee Leow
More information about the Gcc-help
mailing list