Article View: gnu.gcc.help
Article #49713BUILD PROBLEM: GCC and libg++
From: Andreas Rektenwald
Date: Fri, 31 Dec 1993 09:55
Date: Fri, 31 Dec 1993 09:55
40 lines
2608 bytes
2608 bytes
Have compiled gcc 2.4.5 as described in INSTALL.
Have fetched libg++-2.5.3.
First problem:
gcc -c -g -O -I. -I. filebuf.cc
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.4.5/include/sys/fcntlcom.h: In method `class filebuf* filebuf::open (const char *, int, int (= 436 ))':
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.4.5/include/sys/fcntlcom.h:149: too many arguments to function `int open ()'
filebuf.cc:105: at this point in file
*** Error code 1
make: Fatal error: Command failed for target `filebuf.o'
Current working directory /public/tools/development/libg++-2.5.3/libio
*** Error code 1
make: Fatal error: Command failed for target `all-libio'
OK, have put a "-fno-strict-prototype" into the Makefile. Now compiled some files
sucessfully...
`if [ -f ${rootme}../gcc/xgcc ] ; then echo ${rootme}../gcc/xgcc -B${rootme}../gcc/ ; else echo gcc ; fi` -c -g -O -fno-strict-prototype -I. -I. `if [ -f ${rootme}../gcc/xgcc ] ; then echo -I${rootme}../gcc/include; else echo ; fi` stream.cc
In file included from ./iostream.h:31, from stream.h:31, from stream.cc:27:
./streambuf.h:452: warning: inline declaration ignored for function with `...'
./streambuf.h:458: warning: inline declaration ignored for function with `...'
`if [ -f ${rootme}../gcc/xgcc ] ; then echo ${rootme}../gcc/xgcc -B${rootme}../gcc/ ; else echo gcc ; fi` -c -g -O -fno-strict-prototype -I. -I. `if [ -f ${rootme}../gcc/xgcc ] ; then echo -I${rootme}../gcc/include; else echo ; fi` streambuf.cc
In file included from iostreamP.h:25, from streambuf.cc:31:
streambuf.h:251: Internal compiler error.
streambuf.h:251: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'.
*** Error code 1
make: Fatal error: Command failed for target `streambuf.o'
Have now spent 3 days, I only need gcc and the library to compile FLEXFAX.
I'm running on a Sparc IPC with SunOS 4.1.1.
All help is welcome!
Thanks a lot and a Happy New Year,
-- andi ;-)
Technical Details
Message-ID:
<2g0sto$eii@hp4at.eunet.co.at>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!scsing.switch.ch!swidir.switch.ch!news.univie.ac.at!hp4at!sun!andiShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,4bd4f1763ffc1b2c,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-12-31 01:53:25 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!scsing.switch.ch!swidir.switch.ch!news.univie.ac.at!hp4at!sun!andi From: andi@sun.xsoft.co.at (Andreas Rektenwald) Newsgroups: gnu.gcc.help Subject: BUILD PROBLEM: GCC and libg++ Date: 31 Dec 1993 09:55:04 GMT Organization: EUnet EDV-Dienstleistungsgesellschaft m.b.H Lines: 40 Sender: andi@sun (Andreas Rektenwald) Distribution: world Message-ID: <2g0sto$eii@hp4at.eunet.co.at> NNTP-Posting-Host: xsoft.co.at Keywords: libg++