home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16620 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.7 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sgigate!sgi!fido!viking!asgeir
  2. From: asgeir@viking.asd.sgi.com (Asgeir Eiriksson)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Help with GNU C/C++
  5. Date: 18 Nov 1992 20:38:18 GMT
  6. Organization: Silicon Graphics, Inc.  Mountain View, CA
  7. Lines: 51
  8. Message-ID: <1ee9jqINN4jb@fido.asd.sgi.com>
  9. References: <jonv.9.0@bernard.pitzer.claremont.edu>
  10. NNTP-Posting-Host: viking.asd.sgi.com
  11.  
  12. In <jonv.9.0@bernard.pitzer.claremont.edu> jonv@bernard.pitzer.claremont.edu (Jon Vestal) writes:
  13.  
  14. >Hi,
  15.  
  16. >I have recently installed GNU C and can not get libg++ to compile.  I have 
  17. >GNU C 2.3.1 and libg++ 2.2.  I configure for irix4d.  I am runing Indigos 
  18. >with R3000 and Irix4.05.  Here is the error I get when trying to compile 
  19. >libg++:
  20.  
  21. >cc: Error: no source file
  22. >nm: Error: cannot open dummy.o
  23. >nm: Error: cannot open dummy.o
  24. >nm failed to find FUN in dummy.o!
  25. >./utils/gen-params: -1: bad number
  26. >*** Error code 1
  27.  
  28.  
  29. From the g++ FAQ:
  30. =================
  31.  
  32. 20. I am having trouble building libg++-2.2 on Ultrix [and possibly other
  33.     systems].  I get errors referring to "dummy.o".  Help!
  34.  
  35. (The errors on Ultrix end with somehting like
  36.  
  37. ldopen: cannot open dummy.o
  38. nm: Error: cannot open dummy.o
  39. ldopen: cannot open dummy.o
  40. nm: Error: cannot open dummy.o
  41. nm failed to find FUNC in dummy.o!
  42. sh: -1: bad number
  43. *** Error code 1
  44.  
  45. and there may be similar problems on other systems).
  46.  
  47. The fix for this is to make libg++ by saying "make CC=gcc".
  48.  
  49.  
  50. Other hints:
  51. ============
  52.  
  53.  1) Did you run  'make install-fixincludes' ?
  54.  
  55.     - the rest of the compilation problems (to do with varargs) go away
  56.       if you do this.
  57.  
  58.  
  59. I'm still using gcc 2.2.2, and the above is sufficient to build gcc
  60. and libg++.a 
  61.  
  62. 'Asgeir
  63.