[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
missing config.h
From: |
J P |
Subject: |
missing config.h |
Date: |
Thu, 15 Nov 2001 18:46:51 +0000 |
i'm porting the compiler to hux 11i on a hp9000 series D370.
i have been using the hpux 11 suggestions and got the gmake and binutils
working with ease. now i'm trying to get the compiler as well.
i have come across the fillowing errors:
***first error: has been fixed***
**from log**
make[3]: Leaving directory `/software/gcc301/gcc/fixinc'
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'
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**
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:
*that error was fixed by finding that the machname.h files on the machine
are identical and the target directory listed int he file calling machname.h
was causeing the problem. by fixing that it works.
***********************
****problem 2: unresolved****
**from the lgo file:**
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 the 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
****
a line from the file calling config.h shows that it's looking for it in
/software/gcc-3.0.1/gcc/
there is a copy here which is empty when one calls cat on it. there are
several others in gcc-3.0.1 is ther one i should move to that directory in
order to get this to work?or could someone send me the missing file so i can
get it to work.
once it's compiled, if anyone would like, i'll send hte complete log file
with my notes of how the problems encountered were dealt with for you to go
over and fix for the next version to compile better.
-Josh Perlmutter
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp