This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc-2.95.2 build query
- To: gcc at gcc dot gnu dot org
- Subject: gcc-2.95.2 build query
- From: Rajeshwar Naik <raj at sandi dot stph dot net>
- Date: Thu, 06 Jan 2000 10:32:29 -0500
- Organization: Sand Microelectronics (India) Pvt. Ltd.
- Reply-To: raj at sandi dot stph dot net
Hi,
I was trying to build the gcc compiler on our Sun
sparc workstation (OS:Solaris2.7) and encountered
the following when running the "make bootstrap"
command.
make[1]: Entering directory `/usr3/gcc2/objdir/libiberty'
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -O2 -I.
-I../../gcc-2.95.2/libiberty/../include
../../gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
gcc -c -DHAVE_CONFIG_H -O2 -I. -I../../gcc-2.95.2/libiberty/../include
../../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.2/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.2/include/sys/types.h:281,
from ../../gcc-2.95.2/libiberty/choose-temp.c:30:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
: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 `/usr3/gcc2/objdir/libiberty'
make: *** [all-libiberty] Error 2
Please help me out with a work-around solution for this error.
Nothing seems to be wrong with the file :
/usr/include/sys/siginfo.h
thanks,
Raj
--
====================================================================
Rajeshwar Naik Ph # : (91)40-7721642 (w)
Senior Design Engineer Fax# : (91)40-7720884 (w)
Sand Microelectronics (India) Pvt. Ltd. Email : raj@sandi.stph.net