This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[Fwd: gcc-2.95.2 build query]
- To: gcc at gcc dot gnu dot org
- Subject: [Fwd: gcc-2.95.2 build query]
- From: Rajeshwar Naik <raj at sandi dot stph dot net>
- Date: Thu, 06 Jan 2000 11:47:03 -0500
- Organization: Sand Microelectronics (India) Pvt. Ltd.
- Reply-To: raj at sandi dot stph dot net
Hi,
I am enclosing the part of the file /usr/include/sys/siginfo.h with this
email for your reference.
thanks,
Raj
-- Begin lines 67 thru 77 of file siginfo.h -------
#ifndef _SIGEVENT
#define _SIGEVENT
struct sigevent {
int sigev_notify; /* notification mode */
int sigev_signo; /* signal number */
union sigval sigev_value; /* signal value */
void (*sigev_notify_function)(union sigval);
pthread_attr_t *sigev_notify_attributes;
int __sigev_pad2;
};
#endif /* _SIGEVENT */
--
====================================================================
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
- 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