Re: c und c++ kombiniert, Compiler von Suse 9.2: error mit "__gxx_personality_v0"

Ralf Corsepius <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
On Sun, 2005-01-23 at 14:14 +0100, Philipp Thomas wrote:
> Günther Montag <[email protected]> [23 Jan 2005 14:05:18 +0100]:
> 
> >"undefined reference to __gxx_personality-vO "
> >
> >welche lib muß ich linken?
> 
> Welcher Compiler wird verwendet? C Code sollte mit gcc compiliert
> werden, C++ Code mit g++.
> 
> Wird zu dem C Programm eine C++ Bibliothek hinzu gelinkt, sollte
> ebenfalls mit g++ gelinkt werden.
s/sollte/muss/g

Die obige Fehlermeldung ist die typische Fehlermeldung die auftritt,
wenn versucht wird, ein C-Programm mittels "gcc" mit einer C++-Library
zu verlinken.

Ralf



-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.