From: "Kevin O'Donovan" <ODonovanK@logica.com>
To: gnu@gnu.org
Subject: Gcc compilation problems
Date: Sat, 01 Apr 2000 00:00:00 -0000 [thread overview]
Message-ID: <200001051700.MAA19101@mescaline.gnu.org> (raw)
Message-ID: <20000401000000.cW5ORIHEYwzW95YaCd2iFsnG6kSBJcdkvXSc7jML4F4@z> (raw)
Hi,
I'm running HP-UX-11.00, and tried to compile gcc-2.95.2 on my machine.
However it failed (as did gcc-2.95.1 before it). I've added below what
I could copy and paste from the xterm window when it failed.
What are the prerequisites for gcc? I understand you need bison and
flex, both of which I have compiled and installed, and have also
compiled and installed the autoconf and automake packages, and gmake
also. Is there something I'm missing?
Any info much appreciated, thanx,
Kevin.
Applying No_Double_Slash to ./SC/Map.h
Fixed: ./SC/Map.h
Applying No_Double_Slash to ./SC/Objection.h
Fixed: ./SC/Objection.h
Applying No_Double_Slash to ./SC/Path.h
Fixed: ./SC/Path.h
Applying No_Double_Slash to ./SC/Pool.h
Fixed: ./SC/Pool.h
Applying No_Double_Slash to ./SC/Regex.h
Fixed: ./SC/Regex.h
Applying No_Double_Slash to ./SC/Search_path.h
Fixed: ./SC/Search_path.h
Applying No_Double_Slash to ./SC/Stopwatch.h
Fixed: ./SC/Stopwatch.h
Applying No_Double_Slash to ./SC/String.h
Fixed: ./SC/String.h
Applying No_Double_Slash to ./SC/Strstream.h
Fixed: ./SC/Strstream.h
Applying No_Double_Slash to ./SC/Time.h
Fixed: ./SC/Time.h
Applying No_Double_Slash to ./SC/Tmppath.h
Fixed: ./SC/Tmppath.h
Applying No_Double_Slash to ./SC/bag.h
Fixed: ./SC/bag.h
Applying No_Double_Slash to ./SC/g2++.h
Fixed: ./SC/g2++.h
Applying No_Double_Slash to ./SC/g2comp.h
Fixed: ./SC/g2comp.h
Applying No_Double_Slash to ./SC/g2ctype.h
Fixed: ./SC/g2ctype.h
Applying No_Double_Slash to ./SC/g2debug.h
Fixed: ./SC/g2debug.h
Applying No_Double_Slash to ./SC/g2desc.h
Fixed: ./SC/g2desc.h
Applying No_Double_Slash to ./SC/g2io.h
Fixed: ./SC/g2io.h
Applying No_Double_Slash to ./SC/g2mach.h
Fixed: ./SC/g2mach.h
Applying No_Double_Slash to ./SC/g2tree.h
Fixed: ./SC/g2tree.h
Applying No_Double_Slash to ./SC/g2values.h
Fixed: ./SC/g2values.h
Applying No_Double_Slash to ./SC/ipcmonitor.h
Fixed: ./SC/ipcmonitor.h
Applying No_Double_Slash to ./SC/ipcstream.h
Fixed: ./SC/ipcstream.h
Applying No_Double_Slash to ./SC/ksh_test.h
Fixed: ./SC/ksh_test.h
Applying No_Double_Slash to ./SC/set.h
Fixed: ./SC/set.h
Applying No_Double_Slash to ./SC/set_of_p.h
Fixed: ./SC/set_of_p.h
Copied ./rpc/../rpc/rpc_com.h
Copied ./rpc/../rpc/rpc_msg.h
Copied ./rpc/../rpc/svc_soc.h
Copied ./rpc/../rpc/types.h
Copied ./sys/../machine/param.h
Copied ./sys/../machine/spl.h
Copied ./sys/../machine/inline.h
Copied ./sys/../machine/psl.h
Copied ./sys/../machine/vmtypes.h
Copied ./sys/../machine/../machine/param_shm.h
Cleaning up DONE files.
Removing unneeded directories:
rm -f include/syslimits.h
if [ -f include/limits.h ]; then \
mv include/limits.h include/syslimits.h; \
else \
cp ./gsyslimits.h include/syslimits.h; \
fi
chmod a+r include/syslimits.h
if [ "/usr/include" = "/usr/local/hppa2.0n-hp-hpux11.00/sys-include" ] \
&& [ -d /usr/local/hppa2.0n-hp-hpux11.00/sys-include ]; then \
if [ -d /usr/local/lib ] ; then true ; else mkdir /usr/local/lib ; fi;
\
if [ -d /usr/local/lib/gcc-lib ] ; then true ; else mkdir
/usr/local/lib/gcc-lib; fi; \
if [ -d /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00 ] ; then true ;
else mkdir /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00 ; fi; \
if [ -d /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2 ] ; then
true ; else mkdir /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2 ;
fi; \
else true; fi
touch stmp-fixinc
if [ -f /usr/include/limits.h ] ; then \
cat ./limitx.h ./glimits.h ./limity.h > tmp-xlimits.h; \
else \
cat ./glimits.h > tmp-xlimits.h; \
fi
mv tmp-xlimits.h xlimits.h
for file in .. ./ginclude/stdarg.h ./ginclude/stddef.h
./ginclude/varargs.h ./ginclude/va-alpha.h ./ginclude/va-h8300.h
./ginclude/va-i860.h ./ginclude/va-i960.h ./ginclude/va-mips.h
./ginclude/va-m88k.h ./ginclude/va-mn10200.h ./ginclude/va-mn10300.h
./ginclude/va-pa.h ./ginclude/va-pyr.h ./ginclude/va-sparc.h
./ginclude/va-clipper.h ./ginclude/va-spur.h ./ginclude/va-m32r.h
./ginclude/va-sh.h ./ginclude/va-v850.h ./ginclude/va-arc.h
./ginclude/iso646.h ./ginclude/va-ppc.h ./ginclude/va-c4x.h
./cp/inc/typeinfo ./cp/inc/exception ./cp/inc/new ./cp/inc/new.h
./ginclude/proto.h ./ginclude/stdbool.h; do \
if [ X$file != X.. ]; then \
realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
touch include/$realfile; \
rm -f include/$realfile; \
cp $file include; \
chmod a+r include/$realfile; \
fi; \
done
rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/float.h
if [ xfloat-i64.h != xMakefile.in ]; then \
cp ./config/float-i64.h include/float.h && \
chmod a+r include/float.h; \
else :; fi
rm -f include/README
cp ./README-fixinc include/README
chmod a+r include/README
touch stmp-int-hdrs
rm -f SYSCALLS.c tmp-SYSCALLS.s
cat ./sys-types.h ./sys-protos.h > SYSCALLS.c
/com/gnu/gcc/gcc-2.95.2/gcc/xgcc -B/com/gnu/gcc/gcc-2.95.2/gcc/
-B/usr/local/hppa2.0n-hp-hpux11.00/bin/
-I/usr/local/hppa2.0n-hp-hpux11.00/include -DIN_GCC -DHAIFA -g
-I./include -I. -I. -I./config -I./../include \
-aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c
cc1: warning: -g is only supported when using GAS on this processor,
cc1: warning: -g option disabled.
rm -f SYSCALLS.c tmp-SYSCALLS.s
cc -c -DIN_GCC -DHAIFA -g -DHAVE_CONFIG_H -I. -I. -I./config
-I./../include gcov.c
cpp: "gcov.c", line 0: warning 2021:
cc -DIN_GCC -DHAIFA -g -DHAVE_CONFIG_H gcov.o intl.o obstack.o
alloca.o ../libiberty/libiberty.a -o gcov
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (gcov.o) was
detected. The linked output may not run on a PA 1.x system.
thisdir=`pwd` ; \
sed -e
"s:startfile=chillrt0:startfile=${thisdir}/ch/runtime/chillrt0.o:" \
-e "s:libpath=chillrt:libpath=-L${thisdir}/ch/runtime/:" \
-e "s:whatgcc=gcc:whatgcc=\"${thisdir}/xgcc -B${thisdir}/\":" \
-e "s:gnuchill_version=unknown:gnuchill_version=1.5.2:" \
-e "s:gnuchill_script_flags=:gnuchill_script_flags=\"\":"
./ch/chill.in > chill ; \
chmod a+x chill ; \
if [ -f ../gcc-cross ]; then \
whatgcc=`t='s,^,hppa2.0n-hp-hpux11.00-,'; echo gcc | sed -e $t` ; \
else \
whatgcc=`t='s,x,x,'; echo gcc | sed -e $t` ; \
fi; \
sed -e
"s:startfile=chillrt0:startfile=/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/chillrt0.o:"
\
-e "s:whatgcc=gcc:whatgcc=/usr/local/bin/${whatgcc}:" \
-e "s:gnuchill_version=unknown:gnuchill_version=1.5.2:" \
-e "s:libpath=chillrt:libpath=:" \
-e "s:gnuchill_script_flags=:gnuchill_script_flags=\"\":"
./ch/chill.in > chill.install ; \
chmod a+x chill.install
echo " toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o
function.o stmt.o except.o expr.o calls.o expmed.o explow.o optabs.o
intl.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o genrtl.o real.o
dbxout.o sdbout.o dwarfout.o dwarf2out.o xcoffout.o bitmap.o alias.o
gcse.o integrate.o jump.o cse.o loop.o unroll.o flow.o stupid.o
combine.o varray.o regclass.o regmove.o local-alloc.o global.o reload.o
reload1.o caller-save.o insn-peep.o reorg.o haifa-sched.o final.o
recog.o reg-stack.o insn-opinit.o insn-recog.o insn-extract.o
insn-output.o insn-emit.o lcm.o profile.o insn-attrtab.o pa.o getpwd.o
convert.o mbchar.o dyn-string.o splay-tree.o graph.o sbitmap.o
resource.o hash.o" | sed -e 's, \([a-z0-9]\), ../\1,g' -e 's/\.o/.o/g'
>stamp-objlist
cd ch; make "AR_FLAGS_FOR_TARGET=rc" "AR_FOR_TARGET=ar" "BISON=bison"
"BISONFLAGS=" "CFLAGS=-g" "CLIB="
"GCC_FOR_TARGET=/com/gnu/gcc/gcc-2.95.2/gcc/xgcc
-B/com/gnu/gcc/gcc-2.95.2/gcc/ -B/usr/local/hppa2.0n-hp-hpux11.00/bin/
-I/usr/local/hppa2.0n-hp-hpux11.00/include" "LDFLAGS=" "LEX=flex"
"LEXFLAGS=" "LN=ln" "LN_S=ln -s"
"MAKEINFO=/com/gnu/gcc/gcc-2.95.2/texinfo/makeinfo/makeinfo "
"MAKEINFOFLAGS=" "RANLIB_FOR_TARGET=true" "RANLIB_TEST_FOR_TARGET=[ -f
true ] || ( [ "hppa2.0n-hp-hpux11.00" = "hppa2.0n-hp-hpux11.00" ] && [
-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=/usr/local"
"gxx_include_dir=/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/../../../..`echo
/usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/include/g++-3"
"tooldir=/usr/local/hppa2.0n-hp-hpux11.00"
"gcc_tooldir=/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/../../../../hppa2.0n-hp-hpux11.00"
"bindir=/usr/local/bin"
"libsubdir=/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2"
"datadir=/usr/local/share" "distdir=../tmp/\$(subdir)"
"localedir=/usr/local/share/locale" "CC=cc" "CHILLFLAGS=-g"
"CHILL_FOR_TARGET=cc" "CHILL_LIB=-lchill" "GNUCHILL_VERSION=1.5.2"
../cc1chill
make[2]: Entering directory `/com/gnu/gcc/gcc-2.95.2/gcc/ch'
cc -c -DIN_GCC -g -I. -I.. -I. -I./.. -I./../config
-I./../../include parse.c
cc -c -DIN_GCC -g -I. -I.. -I. -I./.. -I./../config
-I./../../include actions.c
cc: "actions.c", line 158: warning 604: Pointers are not
assignment-compatible.
cc: "actions.c", line 158: warning 563: Argument #4 is not the correct
type.
cc: "actions.c", line 1438: warning 604: Pointers are not
assignment-compatible.
cc -c -DIN_GCC -g -I. -I.. -I. -I./.. -I./../config
-I./../../include except.c
cc -c -DIN_GCC -g -I. -I.. -I. -I./.. -I./../config
-I./../../include grant.c
cc -c -DIN_GCC -g -I. -I.. -I. -I./.. -I./../config
-I./../../include lang.c
cc -c -DIN_GCC -g -I. -I.. -I. -I./.. -I./../config
-I./../../include tree.c
cc -c -DIN_GCC -g -I. -I.. -I. -I./.. -I./../config
-I./../../include lex.c
cc -c -DIN_GCC -g -I. -I.. -I. -I./.. -I./../config
-I./../../include decl.c
cc: "decl.c", line 1808: warning 604: Pointers are not
assignment-compatible.
cc: "decl.c", line 1808: warning 563: Argument #4 is not the correct
type.
cc: "decl.c", line 4447: error 1711: Inconsistent parameter list
declaration for "start_struct".
make[2]: *** [decl.o] Error 1
make[2]: Leaving directory `/com/gnu/gcc/gcc-2.95.2/gcc/ch'
make[1]: *** [cc1chill] Error 2
make[1]: Leaving directory `/com/gnu/gcc/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2
#
next reply other threads:[~2000-04-01 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-05 9:00 Kevin O'Donovan [this message]
2000-04-01 0:00 ` Kevin O'Donovan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200001051700.MAA19101@mescaline.gnu.org \
--to=odonovank@logica.com \
--cc=gnu@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).