home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22545 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.6 KB  |  33 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!news.belwue.de!sun1.ruf.uni-freiburg.de!hartnegg
  3. From: hartnegg@sun1.ruf.uni-freiburg.de (Klaus Hartnegg)
  4. Subject: Re: G++:where is the c++ library? I couldn't link c++ program.
  5. Message-ID: <1993Jan3.161734.25246@sun1.ruf.uni-freiburg.de>
  6. Organization: Rechenzentrum der Universitaet Freiburg, Deutschland
  7. References: <1992Dec28.134302.12378@news.ysu.edu> <C026Gw.Cqq@mach1.wlu.ca> <1i2545INNpb@matt.ksu.ksu.edu>
  8. Date: Sun, 3 Jan 93 16:17:34 GMT
  9. Lines:       23
  10.  
  11. probreak@matt.ksu.ksu.edu (James Michael Chacon) writes:
  12. >kfisher3@mach1.wlu.ca (kevin fisher U) writes:
  13. >>Weijin Mai (ah214@yfn.ysu.edu) wrote:
  14. >>: cin and the linker doesn't find the library for these two functions. I used
  15. >>: the -llibrary switch and tried out all the library in usr/lib without success.
  16.  
  17. >>I had this problem, and someone kindly enlightened me, so I will enlighten
  18. >>you--compile using the -static option.  All your woes will end.
  19.  
  20. >Actually what you should do is use the -nojump option instead. This way, the
  21. >shared libraries get linked in, and you don't have huge binaries in the end.
  22.  
  23. I had the same problem with cout. -nojump solved it
  24.  
  25. BUT: now the compiler does not find form.
  26. Undefined symbol _form referenced from text segment.
  27. What library or other trick is needed to compile this?
  28. -- 
  29. ------------------------------------------------------------------------------
  30. Klaus Hartnegg, Kleist-Str. 7, D-7835 Teningen, Germany   
  31. hartnegg@sun1.ruf.uni-freiburg.de  or  hakl@ibm.ruf.uni-freiburg.de
  32. Disclaimer: this text reflects MY opinion, not that of my employer!
  33.