Article View: gnu.g++.lib.bug
Article #266Problems compiling libg++ 2.2.2
From: Tom Holub
Date: Wed, 19 Aug 1992 05:39
Date: Wed, 19 Aug 1992 05:39
35 lines
1810 bytes
1810 bytes
I'm using a Sequent Symmetry running Dynix+BSD 4.2, and I'm having problems
compiling libg++.a 2.2.2. The problem seems to be in the libg++
directory; when I type 'make' there, the following occurs:
soda [77] make
rootme=`pwd` ; export rootme; CC="`if [ -f ${rootme}/../gcc/gcc ] ; then echo
${rootme}/../gcc/gcc\\ -B${rootme}/../gcc/ ; else echo gcc ; fi` `if
[ -f ${rootme}/../gcc/gcc ] ; then echo -I${rootme}/../gcc/include ; else
echo ; fi`"; export CC; ./utils/gen-params >tmp-params.h
rm -f libg++.a
rootme=`pwd` ; export rootme ; cd src ; `if [ -f ${rootme}/../binutils/ar ] ;
then echo ${rootme}/../binutils/ar ; else echo ar ; fi` qc ../libg++.a *.o
ar: *.o cannot open
make: *** [build-libg++.a] Error 1
make: *** Waiting for unfinished jobs....
and then since the parallel make here likes sending millions of .c's out
at once, I get pages and pages of compiler errors, mostly relating to
the lack of _G_config.h. If I try to make _G_config.h, I get:
nm: dummy.o: cannot open
nm: dummy.o: cannot open
nm failed to find FUNC in dummy.o!
./utils/gen-params: -1: bad number
make: *** [_G_config.h] Error 1
I saw that someone on gnu.g++.help had the same problem, but I didn't
see a solution there. Any help would be appreciated.
-Tom
(Incidentally, the provided makefiles didn't execute 'touch stamp'
correctly, so I had to create the stamp files myself)
Technical Details
Message-ID:
<9208190539.AA11506@soda.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!soda.berkeley.edu!tomShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!soda.berkeley.edu!tom From: tom@soda.berkeley.edu (Tom Holub) Subject: Problems compiling libg++ 2.2.2 Message-ID: <9208190539.AA11506@soda.Berkeley.EDU> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 19 Aug 1992 05:39:38 GMT Approved: bug-lib-g++@prep.ai.mit.edu Lines: 36