home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / g / help / 1650 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.5 KB  |  67 lines

  1. Newsgroups: gnu.g++.help
  2. Path: sparky!uunet!mcsun!sun4nl!ruuinf!prisma.cv.ruu.nl!bartm
  3. From: bartm@cv.ruu.nl (Bart Muyzer)
  4. Subject: Undefined symbols?? (building libg++ 2.3 with gcc 2.3.3 on HP9k700)
  5. Originator: bartm@mind.cv.ruu.nl
  6. Sender: usenet@cv.ruu.nl (Usenet Network)
  7. Message-ID: <1993Jan8.113025.25153@cv.ruu.nl>
  8. Date: Fri, 8 Jan 1993 11:30:25 GMT
  9. Nntp-Posting-Host: mind.cv.ruu.nl
  10. Organization: University of Utrecht, 3D Computer Vision Research Group
  11. Lines: 54
  12.  
  13. Hello,
  14.  
  15. [Sorry if you see this message more than once; there seems to be something
  16. wrong with posting to "world"...]
  17.  
  18. As a followup to the patches I posted a while ago which make libg++ 2.2 work
  19. for HP9000/700 with gcc 2.3.1, I'm currently porting libg++ 2.3 to the
  20. 9000/700. I use gcc 2.3.3 fo this.
  21.  
  22. The port has been fairly easy so far, however one problem remains that I
  23. haven't been able to solve yet:
  24.  
  25. While running "make check" in libg++/etc/fib I get:
  26.  
  27.   gcc -O  -I./../../iostream -I./../../src -I./../.. -o fib fib.o ../../li bg++.a
  28.   ld: Unsatisfied symbols:
  29.      __ls__FR7ostreamd (code)
  30.      __ls__FR7ostreami (code)
  31.      __ls__FR7ostreamPCc (code)
  32.   collect: /bin/ld returned 1 exit status
  33. *** Error code 1
  34.  
  35. Adding a little more verbosity, I get:
  36.  
  37.   gcc -v -O  -I./../../iostream -I./../../src -I./../.. -o fib fib.o ../../libg++.a
  38.   Reading specs from /usr/local/lib/gcc-lib/hp700-hpux/2.3.3/specs
  39.   gcc version 2.3.3
  40.    /usr/local/lib/gcc-lib/hp700-hpux/2.3.3/ld -u main -a archive -o fib /lib/crt0.o fib.o ../../libg++.a /usr/local/lib/gcc-lib/hp700-hpux/2.3.3/libgcc.a -lc /usr/local/lib/gcc-lib/hp700-hpux/2.3.3/libgcc.a
  41.   ld: Unsatisfied symbols:
  42.      __ls__FR7ostreamd (code)
  43.      __ls__FR7ostreami (code)
  44.      __ls__FR7ostreamPCc (code)
  45.   collect: /bin/ld returned 1 exit status
  46.  
  47. Poking around in libg++ learned me that all of the symbols aren't even there!!
  48.  
  49. I compiled libg++ 2.3 with gcc 2.3.3 so it cannot be the "name mangling
  50. problem" described by Brendan Kehoe (I guess).
  51.  
  52. The funny thing is that when I link with libg++ 2.2 (built with gcc 2.3.1),
  53. all works well. In libg++ 2.2, the symbols seem to come from the "iostream.o"
  54. module.
  55.  
  56. Could anybody please help me with this? I would like to post a new set of
  57. patches ASAP to share my experiences...
  58.  
  59. Any help will be greatly appreciated!
  60.  
  61.                             >] Bartm [<
  62. -- 
  63. Bart Muyzer, Systems and Network Administrator, [NIC-Whois handle: BJM9]
  64.      3D Computer Vision, Room E02.222, University Hospital Utrecht,
  65.      Heidelberglaan 100, 3584 CX Utrecht, Holland. E-mail: bartm@cv.ruu.nl
  66.      Fax: +31-30-513399. Tel: +31-30-506711 (w), +31-3402-52157 (h). 
  67.