home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sgigate!sgi!fido!viking!asgeir
- From: asgeir@viking.asd.sgi.com (Asgeir Eiriksson)
- Newsgroups: comp.sys.sgi
- Subject: Re: Help with GNU C/C++
- Date: 18 Nov 1992 20:38:18 GMT
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 51
- Message-ID: <1ee9jqINN4jb@fido.asd.sgi.com>
- References: <jonv.9.0@bernard.pitzer.claremont.edu>
- NNTP-Posting-Host: viking.asd.sgi.com
-
- In <jonv.9.0@bernard.pitzer.claremont.edu> jonv@bernard.pitzer.claremont.edu (Jon Vestal) writes:
-
- >Hi,
-
- >I have recently installed GNU C and can not get libg++ to compile. I have
- >GNU C 2.3.1 and libg++ 2.2. I configure for irix4d. I am runing Indigos
- >with R3000 and Irix4.05. Here is the error I get when trying to compile
- >libg++:
-
- >cc: Error: no source file
- >nm: Error: cannot open dummy.o
- >nm: Error: cannot open dummy.o
- >nm failed to find FUN in dummy.o!
- >./utils/gen-params: -1: bad number
- >*** Error code 1
-
-
- From the g++ FAQ:
- =================
-
- 20. I am having trouble building libg++-2.2 on Ultrix [and possibly other
- systems]. I get errors referring to "dummy.o". Help!
-
- (The errors on Ultrix end with somehting like
-
- ldopen: cannot open dummy.o
- nm: Error: cannot open dummy.o
- ldopen: cannot open dummy.o
- nm: Error: cannot open dummy.o
- nm failed to find FUNC in dummy.o!
- sh: -1: bad number
- *** Error code 1
-
- and there may be similar problems on other systems).
-
- The fix for this is to make libg++ by saying "make CC=gcc".
-
-
- Other hints:
- ============
-
- 1) Did you run 'make install-fixincludes' ?
-
- - the rest of the compilation problems (to do with varargs) go away
- if you do this.
-
-
- I'm still using gcc 2.2.2, and the above is sufficient to build gcc
- and libg++.a
-
- 'Asgeir
-