[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: linking problem
From:       Mark Deneen <deneen () gmx ! net>
Date:       2002-10-12 20:37:56
[Download RAW message or body]

Malte Starostik wrote:

>On Saturday 12 October 2002 22:10, Hasanen wrote:
>  
>
>>hi
>>i am trying to link a small program but i got the following undefined
>>refrences :
>>
>>lib... undefined refrecence to cerr
>>lib... undefined refrecence to ostream::......
>>and many other .. all of them is a c++ routines . so what library i missied
>>to include ???
>>    
>>
>Any chance you're compiling with "cc" or "gcc" and not "c++" or "g++"? The 
>latter automatically links in the iostreams library while the former does 
>not.
>  
>

FWIW, I had a problem with my compiler once where it decided not to add 
-lstdc++ implicitly, and I had to manually add it.

-M

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic