This is the mail archive of the gcc@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]

[Fwd: gcc-2.95.2 build query]


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


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



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