home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / g / help / 1475 < prev    next >
Encoding:
Text File  |  1992-11-23  |  2.1 KB  |  59 lines

  1. Newsgroups: gnu.g++.help
  2. Path: sparky!uunet!usc!rpi!sarah!thor.albany.edu!jjo619
  3. From: jjo619@thor.albany.edu (John O'neill)
  4. Subject: Help compile libg++2.2 (almost have it)
  5. Message-ID: <1992Nov23.180553.9257@sarah.albany.edu>
  6. Summary: Cant compile 2 files in iostream
  7. Keywords: libg++,iostream install,dec5000
  8. Sender: news@sarah.albany.edu (News Administrator)
  9. Organization: State University of New York at Albany
  10. References: <1992Nov23.172435.8111@brtph560.bnr.ca>
  11. Date: Mon, 23 Nov 92 18:05:53 GMT
  12. Lines: 45
  13.  
  14. I am having Problems installing libg++-2.2.  
  15. I got everything to compile except 2 files from the iostream library.
  16. I made libg++ without these two files but when I ran g++ I got the 
  17. following error message:
  18. ld:
  19. Undefined:
  20. vscan__9streambufPCcPcPUc
  21. vform__9streambufPCcPc
  22.  
  23. Seems like I need to compile sbufvscan.C and sbufvform.C.
  24. Can someone tell me how to compile these two routines.  I'm using 
  25. gcc version 2.1 on a decstation 5000/240 running Ultrix v4.2a.  
  26. ( can version libg++-2.2 be used with gcc v2.1? ).   
  27.  
  28. I include the output of running make and the error messages.
  29.  
  30. Thanks Alot,
  31. John O'Neill
  32.  
  33. PS Quick question, how can you tell what version of libg++ you are using?
  34.  
  35. ========================================================================
  36. %make -f Makefile
  37. `if [ -f ${rootprefix}../../gcc/gcc ] ;  then echo ${rootprefix}../../gcc/gcc -B
  38. ${rootprefix}../../gcc/ ;  else echo gcc ; fi` -g  -I. -I.. -I. -I./../src -I./.
  39. ./g++-include -c `if [ -f ${rootprefix}../../gcc/gcc ] ;  then echo -I${rootpref
  40. ix}../../gcc/include ;  else echo ; fi` sbufvform.C
  41. sbufvform.C: In method `int  streambuf::vform (const char *, char *)':
  42. sbufvform.C:248: warning: implicit declaration of function `__builtin_alignof'
  43. sbufvform.C:248: parse error before `4'
  44. sbufvform.C:248: parse error before `4'
  45. sbufvform.C:248: parse error before `['
  46. sbufvform.C:260: parse error before `4'
  47. sbufvform.C:260: parse error before `4'
  48. sbufvform.C:260: parse error before `)'
  49. .
  50. . similar errors
  51. .
  52. sbufvform.C:427: parse error before `4'
  53. sbufvform.C:427: parse error before `)'
  54. *** Error code 1
  55. Stop.
  56.  
  57. Similiar problem with sbufvscan.C (comment out sbufvform.C)
  58.  
  59.