home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / g / lib / bug / 454 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.7 KB  |  51 lines

  1. Newsgroups: gnu.g++.lib.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
  3. From: bothner@cygnus.com
  4. Subject: Re: libg++ 2.2 problem
  5. Message-ID: <9207290121.AA27979@cygnus.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. References: <9207272047.AA14817@_devon.prepnet.com>
  9. Distribution: gnu
  10. Date: Tue, 28 Jul 1992 11:21:14 GMT
  11. Approved: bug-lib-g++@prep.ai.mit.edu
  12. Lines: 37
  13.  
  14. > I built libg++ version 2.2 on a HP 9000/730 (running HP-UX 8.05)
  15. > using GCC version 2.2.2.  Whenever I try to link libg++.a with
  16. > any C++ program, no matter how trivial, I always get the following
  17. > error from the linker:
  18. > ld: Unsatisfied symbols:
  19. >    _vt.filebuf (data)
  20.  
  21. Try this patch to libg++/utils/gen-params.
  22.  
  23.     --Per Bothner
  24. Cygnus Support     bothner@cygnus.com
  25.  
  26. ===================================================================
  27. RCS file: /rel/cvsfiles/devo/libg++/utils/gen-params,v
  28. retrieving revision 1.15
  29. diff -c -r1.15 gen-params
  30. *** 1.15    1992/06/26 19:29:41
  31. --- gen-params    1992/07/16 22:03:20
  32. ***************
  33. *** 75,81 ****
  34.     fi
  35.   
  36.     if test -n "${DOLLAR_IN_LABEL}" ; then
  37. !     echo "#define ${macro_prefix} ${DOLLAR_IN_LABEL} ${DOLLAR_IN_LABEL}"
  38.     elif test "`${CONFIG_NM} dummy.o | grep 'vt[$$]filebuf'`" != ""; then
  39.       echo "#define ${macro_prefix}DOLLAR_IN_LABEL 1"
  40.     elif test "`${CONFIG_NM} dummy.o | grep 'vt[.]filebuf'`" != ""; then
  41. --- 75,81 ----
  42.     fi
  43.   
  44.     if test -n "${DOLLAR_IN_LABEL}" ; then
  45. !     echo "#define ${macro_prefix}DOLLAR_IN_LABEL ${DOLLAR_IN_LABEL}"
  46.     elif test "`${CONFIG_NM} dummy.o | grep 'vt[$$]filebuf'`" != ""; then
  47.       echo "#define ${macro_prefix}DOLLAR_IN_LABEL 1"
  48.     elif test "`${CONFIG_NM} dummy.o | grep 'vt[.]filebuf'`" != ""; then
  49.  
  50.