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]

Make and make bootstrap failure on UW7.0.1



I've successfully bootstrapped egcs-2.95 at one stage of its deveopment on
a PentiumPro running UW7.0.1, but recent versions have failed to make.  I have
tried both "make" and "make bootstrap".  Here is the error message I am getting:

 gcc  -DIN_GCC     -g -O2   -DHAVE_CONFIG_H    -I. -I/usr/src/egcs_snapshot/gcc -I/usr/src/egcs_snapshot/gcc/config -I/usr/src/egcs_snapshot/gcc/../include  \
        -DTARGET_MACHINE=\"i686-UnixWare7.0.1-sysv5\"  \
        -c `echo /usr/src/egcs_snapshot/gcc/collect2.c | sed 's,^\./,,'`
/usr/src/egcs_snapshot/gcc/collect2.c: In function `my_strsignal':
/usr/src/egcs_snapshot/gcc/collect2.c:356: `NSIG' undeclared (first use in this function)
/usr/src/egcs_snapshot/gcc/collect2.c:356: (Each undeclared identifier is reported only once
/usr/src/egcs_snapshot/gcc/collect2.c:356: for each function it appears in.)
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.

The verion of egcs now installed on the pentium pro from the earlier,
successful bootstrap, came from the full 19990629 snapshot.  All languages
made and I did a make install.  I then linked /usr/bin/cc to /usr/local/bin/gcc.

The most recent snapshot that is failing to build is 19990716.  The machine
automatically configured for an i686-UnixWare7.0.1-sysv5 target.

I assume that NSIG is defined in a header file that gcc is somehow not finding.
This makes me wonder what I need to do to make sure that all headers that might
be needed for a build of egcs (or any other are in the path of the shell
making the build.  How about, eg. /usr/local/lib/gcc-lib/i686-UnixWare7.0.1
-sysv5/gcc-2.95/include?  Or are the header files that an installation of
egcs puts in that directory copied over to /usr/include or /usr/local/include?
What paths the compiler knows about and what paths the shell must provision 
are not documented, AFAIK.  I'd be grateful for any pointers.

dc
_____________________
David Coder
SysAdmin
WebHosting
Verio.com
703-749-7955 x1314






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