🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #333

libg++2.3 build fails

#333
From: Stephen C. Fitch
Date: Wed, 23 Dec 1992 17:06
41 lines
1933 bytes
Hi,

I'm in the process of compiling the libg++2.3 library, when I
run the make after executing configure I see:

..
...
...... A bunch of lines deleted, here it is from after 
...... the creation of libiberty.a
....
....
ar qc libiberty.a \
  argv.o basename.o concat.o cplus-dem.o fdmatch.o  getopt.o getopt1.o obstack.o spaces.o strerror.o strsignal.o memmove.o strtoul.o alloca.o
ranlib libiberty.a
rootme=`pwd`/ ; export rootme; \
CC="cc "; export CC; \
CXX="gcc  "; export CXX; \
CONFIG_NM="nm"; export CONFIG_NM; \
./utils/gen-params LIB_VERSION=2.3  >tmp-params.h
gcc: dummy.C: linker input file unused since linking not done
nm: dummy.o: cannot open
nm: dummy.o: cannot open
nm failed to find FUNC in dummy.o!
./utils/gen-params: -1: bad number 
*** Error code 1 
make: Fatal error: Command failed for target `_G_config.h' 
Current working directory /usr/local/tmp/libg++-2.3/libg++
*** Error code 1 
make: Fatal error: Command failed for target `all-libg++' 
polaris%  


I'm on a SparcStation 1 running SunOS 4.1.3. I have previously
compiled gcc2.3 (with --prefix="/usr/local/tmp" LANGUAGES="c c++",
I'm not sure if this make is using the new 2.3 release compiler 
or my old 1.37 ver of gcc. I cannot remove the old 1.37 ver of gcc,
that lives in /usr/local/bin.

Any clues as to where I have gone wrong ?

Steve Fitch.
Technical Details
Message-ID: <1ha6b9INN2bb@usenet.INS.CWRU.Edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!cleveland.FReenet.EDU!cc971

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!cleveland.FReenet.EDU!cc971
From: cc971@cleveland.FReenet.EDU (Stephen  C. Fitch)
Subject: libg++2.3 build fails
Message-ID: <1ha6b9INN2bb@usenet.INS.CWRU.Edu>
Sender: gnulists@ai.mit.edu
Reply-To: cc971@cleveland.freenet.edu (Stephen  C. Fitch)
Organization: Case Western Reserve University, Cleveland, OH (USA)
Distribution: gnu
Date: Wed, 23 Dec 1992 17:06:49 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 43