🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++.leda
Article #147

workaround: LEDA and g++ 2.7.0repo - problems

#147
From: Kai Bartels
Date: Mon, 23 Oct 1995 19:18
34 lines
1917 bytes
FYI:

In article <462ujv$639@p235.informatik.uni-bremen.de>, I wrote:
>I just installed the new g++ (2.7.0) along with the repo-patch, which
[...]
>I was happy to be able to install LEDA at home with this new g++, but ...
[...]
>1) The linker complains about 'unexpected multiple declarations' of stuff
>   like list methods.

I think I found a workaround:
First I re-installed my old and working ranlib. The one I installed schortly
before LEDA didn't seem to work properly. :^)

Then I noticed that the "multiple definitions of symbol" messages of the
linker mentioned only three methods over and over: the destructors of
string_rep and handle_rep and handle_rep::operator delete.

So I removed the declarations of theses from the appropriate include files
(the call of LEDA_MEMORY for the delete operator) and now anything seems to
work OK.

>2) Some classes - string, string_rep and handle-rep - seem to be declared by
>   g++'s libstdc++ as well. On the other hand that library is needed for io
>   streams.

That's just nonsense, pls ignore.

regards, Kai
-- 
"They don't give a damn about harming those flowers and those trees"
                                                                 <Supertramp>
Uni: kaba@zfn.uni-Bremen.de        +        Home: kaba@wintermute.hb.north.de
Snail:      Kai Bartels + c/o Jungnickl + Kohlmannstr. 1 + 28359 Bremen + FRG
Technical Details
Message-ID: <46gpq7$6ao@p235.informatik.uni-Bremen.de>
Path: arc1-ca.pugleaf.net!informatik.uni-bremen.de!kaba
References: <462ujv$639@p235.informatik.uni-bremen.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!informatik.uni-bremen.de!kaba
From: kaba@informatik.uni-bremen.de (Kai Bartels)
Newsgroups: comp.lang.c++.leda
Subject: workaround: LEDA and g++ 2.7.0repo - problems
Date: 23 Oct 1995 19:18:31 GMT
Organization: Universitaet Bremen, Germany
Message-ID: <46gpq7$6ao@p235.informatik.uni-Bremen.de>
References: <462ujv$639@p235.informatik.uni-bremen.de>
NNTP-Posting-Host: p214.informatik.uni-bremen.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit