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