From: hartnegg@sun1.ruf.uni-freiburg.de (Klaus Hartnegg) Subject: Re: G++:where is the c++ library? I couldn't link c++ program. Date: Sun, 3 Jan 1993 16:17:34 GMT
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!