public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* missing files
@ 2001-11-08  4:51 J P
  0 siblings, 0 replies; only message in thread
From: J P @ 2001-11-08  4:51 UTC (permalink / raw)
  To: gcc-help

i am trying to compile the gcc on a hp 9000 series D370 running hpux 11i.  i 
have been using the 11.00 suggestions and that has worked well until i got 
the the compiler. the problems are as follows (from the log i had it write 
to):
-----------------------------------------------------------------------
Forbidden identifiers: PWB hp9000s800 hp9k8 hppa hpux unix
cpp: "../../../gcc-3.0.1/./gcc/fixinc/../config/pa/xm-pahpux.h", line 48: 
warning 2001: Redefinition of macro ONLY_INT_FIELDS.
(Bundled) cc: "../../../gcc-3.0.1/./gcc/fixinc/server.c", line 103: warning 
546: Conflicting enumeration types used in expression.
(Bundled) cc: "../../../gcc-3.0.1/./gcc/fixinc/server.c", line 180: warning 
546: Conflicting enumeration types used in expression.
cpp: "../../../gcc-3.0.1/./gcc/fixinc/../config/pa/xm-pahpux.h", line 48: 
warning 2001: Redefinition of macro ONLY_INT_FIELDS.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (fixincl.o) was 
detected. The linked output may not run on a PA 1.x system.
make[3]: *** No rule to make target `../specs', needed by `machname.h'.  
Stop.
make[2]: *** [../../gcc-3.0.1/./gcc/fixinc/fixincl] Error 2
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap] Error 2
hal.net.brandeis.edu 41:

*********************************************************************************************************************************************
turns out it just wants the target directory made.

*********************************************************************************************************************************************
***********************************************try 2: 
continuation***************************************************************************
*********************************************************************************************************************************************
*******************
***from log file***
*******************

make[1]: Entering directory `/software/gcc301/libiberty'
make[2]: Entering directory `/software/gcc301/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/software/gcc301/libiberty/testsuite'
make[1]: Leaving directory `/software/gcc301/libiberty'
Bootstrapping the compiler
make[1]: Entering directory `/software/gcc301/gcc'
/software/gcc301/../make-3.79.1/make CC="cc" libdir=/usr/local/lib 
LANGUAGES="c " \
	CFLAGS="" MAKEINFO="makeinfo " \
	MAKEINFOFLAGS=""
make[2]: Entering directory `/software/gcc301/gcc'
(cd intl && /software/gcc301/../make-3.79.1/make all)
make[3]: Entering directory `/software/gcc301/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/software/gcc301/gcc/intl'
(cd po && /software/gcc301/../make-3.79.1/make all)
make[3]: Entering directory `/software/gcc301/gcc/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/software/gcc301/gcc/po'
cd ../../gcc-3.0.1/./gcc/fixinc; /software/gcc301/../make-3.79.1/make 
"AR_FLAGS_FOR_TARGET=" "AR_CREATE_FOR_TARGET=` if [ -f 
/software/gcc301/gcc/../binutils/ar ] ; then echo 
/software/gcc301/gcc/../binutils/ar ; else if [ "hppa2.0n-hp-hpux11.11" = 
"hppa2.0n-hp-hpux11.11" ] ; then echo ar; else 
t='s,^,hppa2.0n-hp-hpux11.11-,'; echo ar | sed -e $t ; fi; fi`  rc" 
"AR_EXTRACT_FOR_TARGET=` if [ -f /software/gcc301/gcc/../binutils/ar ] ; 
then echo /software/gcc301/gcc/../binutils/ar ; else if [ 
"hppa2.0n-hp-hpux11.11" = "hppa2.0n-hp-hpux11.11" ] ; then echo ar; else 
t='s,^,hppa2.0n-hp-hpux11.11-,'; echo ar | sed -e $t ; fi; fi`  x" 
"AR_FOR_TARGET=` if [ -f /software/gcc301/gcc/../binutils/ar ] ; then echo 
/software/gcc301/gcc/../binutils/ar ; else if [ "hppa2.0n-hp-hpux11.11" = 
"hppa2.0n-hp-hpux11.11" ] ; then echo ar; else 
t='s,^,hppa2.0n-hp-hpux11.11-,'; echo ar | sed -e $t ; fi; fi`" 
"BISON=false" "BISONFLAGS=" "CFLAGS= " "CLIB=" "GCC_FOR_TARGET=./xgcc -B./ 
-B/usr/local/hppa2.0n-hp-hpux11.11/bin/ -isystem 
/usr/local/hppa2.0n-hp-hpux11.11/include" "LDFLAGS=" "FLEX=false" 
"FLEXFLAGS=" "LN=ln" "LN_S=ln -s" "MAKEINFO=makeinfo " "MAKEINFOFLAGS=" 
"MAKEOVERRIDES=" "RANLIB_FOR_TARGET=` if [ -f 
/software/gcc301/gcc/../binutils/ranlib ] ; then echo 
/software/gcc301/gcc/../binutils/ranlib ; else if [ "hppa2.0n-hp-hpux11.11" 
= "hppa2.0n-hp-hpux11.11" ] ; then echo ranlib; else 
t='s,^,hppa2.0n-hp-hpux11.11-,'; echo ranlib | sed -e $t ; fi; fi`" 
"RANLIB_TEST_FOR_TARGET=[ -f ` if [ -f 
/software/gcc301/gcc/../binutils/ranlib ] ; then echo 
/software/gcc301/gcc/../binutils/ranlib ; else if [ "hppa2.0n-hp-hpux11.11" 
= "hppa2.0n-hp-hpux11.11" ] ; then echo ranlib; else 
t='s,^,hppa2.0n-hp-hpux11.11-,'; echo ranlib | sed -e $t ; fi; fi` ] || ( [ 
"hppa2.0n-hp-hpux11.11" = "hppa2.0n-hp-hpux11.11" ] && [ -f /usr/bin/ranlib 
-o -f /bin/ranlib ] )" "SHELL=/bin/sh" "STAGE_PREFIX=" "exeext=" 
"build_exeext=" "objext=.o" "exec_prefix=/usr/local" "prefix=/usr/local" 
"local_prefix=NONE" 
"gxx_include_dir=/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.11/3.0.1/../../../..`echo 
/usr/local | sed -e 's|^/usr/local||' -e 's|/[^/]*|/..|g'`/include/g++-v3" 
"tooldir=/usr/local/hppa2.0n-hp-hpux11.11" 
"gcc_tooldir=/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.11/3.0.1/../../../../hppa2.0n-hp-hpux11.11" 
"bindir=/usr/local/bin" 
"libsubdir=/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.11/3.0.1" 
"datadir=/usr/local/share" "localedir=/usr/local/share/locale" "CC=`echo cc 
| sed -e 's|^ *[^ /][^ /]*/|%&|' -e 's| -B| -B%|g' -e 's|% *[^- /]|%&|g' -e 
's|%% *|../|g' -e 's|%||g'`" fixincl
make[3]: Entering directory `/software/gcc-3.0.1/gcc/fixinc'
cc -c -DIN_GCC -DHAVE_CONFIG_H    -I. -I.. -I. -I./.. -I./../config 
-I./../../include fixincl.c
make[3]: Leaving directory `/software/gcc-3.0.1/gcc/fixinc'
make[2]: Leaving directory `/software/gcc301/gcc'
make[1]: Leaving directory `/software/gcc301/gcc'

****************
***from shell***
****************

hal.net.brandeis.edu 48: ../make-3.79.1/make bootstrap >makeboot.log
cpp: "fixlib.h", line 30: error 4036: Can't open include file 'config.h'.
make[3]: *** [fixincl.o] Error 1
make[2]: *** [../../gcc-3.0.1/./gcc/fixinc/fixincl] Error 2
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap] Error 2
hal.net.brandeis.edu 49: ls
Makefile               config.cache           gcc                    
libiberty              makeboot.log.old       mh-frag
conf.log               config.status          hppa2.0n-hp-hpux11.11  
makeboot.log           makeboot.log~
hal.net.brandeis.edu 50: xemacs makeboot.log &
[1] 12869
hal.net.brandeis.edu 51:

*********************************************************************************************************************************************

not sure it restarted.  have to find config.h and make sure it's ok. fix it 
if neceaasry.

#include "auto-host.h"
#include "ansidecl.h"
#include "config.h"
#include "system.h"

that line from the file calling config.h shows that it's looking for it in 
/software/gcc-3.0.1/gcc/

logically possible files are:

hal.net.brandeis.edu 26: du -a | grep config.h | more
14      ./gcc301/libiberty/config.h
2       ./gcc301/gcc/config.h

have tried finding the gcc mailing list at www.gnu.org unfortunately i was 
unable to find it. will try copying the gcc301/gcc.config.h over to the 
/gcc-3.0.1/gcc/ directory.

*********************************************************************************************************************************************
***********************************************try 3: 
continuation***************************************************************************
*********************************************************************************************************************************************
*******************
***from log file***
*******************

make[1]: Entering directory `/software/gcc301/libiberty'
make[2]: Entering directory `/software/gcc301/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/software/gcc301/libiberty/testsuite'
make[1]: Leaving directory `/software/gcc301/libiberty'
Bootstrapping the compiler
make[1]: Entering directory `/software/gcc301/gcc'
/software/gcc301/../make-3.79.1/./make CC="cc" libdir=/usr/local/lib 
LANGUAGES="c " \
	CFLAGS="" MAKEINFO="makeinfo " \
	MAKEINFOFLAGS=""
make[2]: Entering directory `/software/gcc301/gcc'
(cd intl && /software/gcc301/../make-3.79.1/./make all)
make[3]: Entering directory `/software/gcc301/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/software/gcc301/gcc/intl'
(cd po && /software/gcc301/../make-3.79.1/./make all)
make[3]: Entering directory `/software/gcc301/gcc/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/software/gcc301/gcc/po'
cd ../../gcc-3.0.1/./gcc/fixinc; /software/gcc301/../make-3.79.1/./make 
"AR_FLAGS_FOR_TARGET=" "AR_CREATE_FOR_TARGET=` if [ -f 
/software/gcc301/gcc/../binutils/ar ] ; then echo 
/software/gcc301/gcc/../binutils/ar ; else if [ "hppa2.0n-hp-hpux11.11" = 
"hppa2.0n-hp-hpux11.11" ] ; then echo ar; else 
t='s,^,hppa2.0n-hp-hpux11.11-,'; echo ar | sed -e $t ; fi; fi`  rc" 
"AR_EXTRACT_FOR_TARGET=` if [ -f /software/gcc301/gcc/../binutils/ar ] ; 
then echo /software/gcc301/gcc/../binutils/ar ; else if [ 
"hppa2.0n-hp-hpux11.11" = "hppa2.0n-hp-hpux11.11" ] ; then echo ar; else 
t='s,^,hppa2.0n-hp-hpux11.11-,'; echo ar | sed -e $t ; fi; fi`  x" 
"AR_FOR_TARGET=` if [ -f /software/gcc301/gcc/../binutils/ar ] ; then echo 
/software/gcc301/gcc/../binutils/ar ; else if [ "hppa2.0n-hp-hpux11.11" = 
"hppa2.0n-hp-hpux11.11" ] ; then echo ar; else 
t='s,^,hppa2.0n-hp-hpux11.11-,'; echo ar | sed -e $t ; fi; fi`" 
"BISON=false" "BISONFLAGS=" "CFLAGS= " "CLIB=" "GCC_FOR_TARGET=./xgcc -B./ 
-B/usr/local/hppa2.0n-hp-hpux11.11/bin/ -isystem 
/usr/local/hppa2.0n-hp-hpux11.11/include" "LDFLAGS=" "FLEX=false" 
"FLEXFLAGS=" "LN=ln" "LN_S=ln -s" "MAKEINFO=makeinfo " "MAKEINFOFLAGS=" 
"MAKEOVERRIDES=" "RANLIB_FOR_TARGET=` if [ -f 
/software/gcc301/gcc/../binutils/ranlib ] ; then echo 
/software/gcc301/gcc/../binutils/ranlib ; else if [ "hppa2.0n-hp-hpux11.11" 
= "hppa2.0n-hp-hpux11.11" ] ; then echo ranlib; else 
t='s,^,hppa2.0n-hp-hpux11.11-,'; echo ranlib | sed -e $t ; fi; fi`" 
"RANLIB_TEST_FOR_TARGET=[ -f ` if [ -f 
/software/gcc301/gcc/../binutils/ranlib ] ; then echo 
/software/gcc301/gcc/../binutils/ranlib ; else if [ "hppa2.0n-hp-hpux11.11" 
= "hppa2.0n-hp-hpux11.11" ] ; then echo ranlib; else 
t='s,^,hppa2.0n-hp-hpux11.11-,'; echo ranlib | sed -e $t ; fi; fi` ] || ( [ 
"hppa2.0n-hp-hpux11.11" = "hppa2.0n-hp-hpux11.11" ] && [ -f /usr/bin/ranlib 
-o -f /bin/ranlib ] )" "SHELL=/bin/sh" "STAGE_PREFIX=" "exeext=" 
"build_exeext=" "objext=.o" "exec_prefix=/usr/local" "prefix=/usr/local" 
"local_prefix=NONE" 
"gxx_include_dir=/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.11/3.0.1/../../../..`echo 
/usr/local | sed -e 's|^/usr/local||' -e 's|/[^/]*|/..|g'`/include/g++-v3" 
"tooldir=/usr/local/hppa2.0n-hp-hpux11.11" 
"gcc_tooldir=/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.11/3.0.1/../../../../hppa2.0n-hp-hpux11.11" 
"bindir=/usr/local/bin" 
"libsubdir=/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.11/3.0.1" 
"datadir=/usr/local/share" "localedir=/usr/local/share/locale" "CC=`echo cc 
| sed -e 's|^ *[^ /][^ /]*/|%&|' -e 's| -B| -B%|g' -e 's|% *[^- /]|%&|g' -e 
's|%% *|../|g' -e 's|%||g'`" fixincl
make[3]: Entering directory `/software/gcc-3.0.1/gcc/fixinc'
cc -c -DIN_GCC -DHAVE_CONFIG_H    -I. -I.. -I. -I./.. -I./../config 
-I./../../include fixincl.c
make[3]: Leaving directory `/software/gcc-3.0.1/gcc/fixinc'
make[2]: Leaving directory `/software/gcc301/gcc'
make[1]: Leaving directory `/software/gcc301/gcc'

****************
***from shell***
****************

hal.net.brandeis.edu 34: ../make-3.79.1/./make bootstrap >makeboot.log
cpp: "../tm.h", line 14: error 4036: Can't open include file 'insn-codes.h'.
cpp: "../tm.h", line 15: error 4036: Can't open include file 'insn-flags.h'.
cpp: "../config.h", line 10: error 4036: Can't open include file 
'insn-codes.h'.
cpp: "../config.h", line 11: error 4036: Can't open include file 
'insn-flags.h'.
make[3]: *** [fixincl.o] Error 1
make[2]: *** [../../gcc-3.0.1/./gcc/fixinc/fixincl] Error 2
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap] Error 2

*********************************************************************************************************************************************

umm... was it even suppossed to look for that? i've no clue about that. i 
need to contact gnu.org again. find out what mailing list to use for the 
gcc. it seems as if they don't have one...

"insn-codes.h" is in gcc301/gcc/
"insn-flags.h" is in gcc301/gcc/
------------------------------------------------------------------------
that's form the log file.  it's the last few lines of the first problem 
(which was solved) and the second and third problems. was my fix for the 
second problem correct? should i have done something else? if so what? how 
do i fix it? otherwise, could someoen please help with with solving the 
third one?


*******************
Joh Perlmutter
NOC "intern"
Brandeis University


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-19 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-08  4:51 missing files J P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).