🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
2 messages
2 total messages Started by Tom Holub Wed, 19 Aug 1992 05:39
Problems compiling libg++ 2.2.2
#266
Author: Tom Holub
Date: Wed, 19 Aug 1992 05:39
35 lines
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)
Re: Problems compiling libg++ 2.2.2
#269
Author: bothner
Date: Wed, 19 Aug 1992 06:21
29 lines
1576 bytes
> Incidentally, the provided makefiles didn't execute 'touch stamp'
> correctly, so I had to create the stamp files myself

The question is "why not?".  It works in normal sequential
environments.  Since you're the one with the non-standard
parallel make, you're the one who has to figure out what the
problem is, and how to fix it.

> 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

This might a a diferent (non-make) problem.  But note that:

> 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

is the first part of teh rule for making _G_config.h.  It's just
that the make is getting ahead of itself.  (I guess one could have
_G_config.h an explicit dependency of in-io and in-src.  Would
that help any?)

	--Per Bothner
Cygnus Support     bothner@cygnus.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads