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

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