delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/30/08:28:17

From: pavenis AT lanet DOT lv
To: djgpp AT delorie DOT com
Date: Thu, 30 Nov 2000 13:17:25 +0200
MIME-Version: 1.0
Subject: Re: URG: C++ Project Compilation
Message-ID: <3A265365.16880.AFEE3A@localhost>
In-reply-to: <3a262b1c.11184702@news.yhteys.mtv3.fi>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 30 Nov 2000, at 10:38, Kai Ruottu wrote:

> On Mon, 27 Nov 2000 06:00:46 -0000, "Paulo J. Matos aka PDestroy"
> <pdestroy AT netcabo DOT pt> wrote:
> 
> >Hi all,
> >After some long hours correcting errors in my program. Real debugging time!
> >I tried to compile the project and in the phase of linking the compiler
> >(gpp) just showed up with some bunch of not-understandable errors like:
> >"cliente.o(.text+0x49b):cliente.cpp: undefined reference to
> >`Ecran::mostraIface(basic_string<char, string_char_traits<char>,
> >__default_alloc_template<false, 0> >, unsigned int)'
> >banco.o(.text+0x8a):banco.cpp: undefined reference to
> >`Ecran::mostraIface(basic_string<char, string_char_traits<char>,
> >__default_alloc_template<false, 0> >, unsigned int)'
> >banco.o(.text+0x448):banco.cpp: undefined reference to
> >`Ecran::mostraIface(basic_string<char, string_char_traits<char>,
> >__default_alloc_template<false, 0> >, unsigned int)'
> >banco.o(.text+0x1236):banco.cpp: undefined reference to `Lista<unsigned
> >int>::~Lista(void)'
> >banco.o(.text+0x132b):banco.cpp: undefined reference to `Lista<unsigned
> >int>::~Lista(void)'"
> >
> >I cannot understand what this means, nor I have an idea of how to solve
> >this. Any ideas about what is this, and any solutions?
> 
>  And your GCC/G++ version is...
> 
>  The gcc-2.8.x used to give these kind of unresolved symbols related
> to 'basic_string'... But there was a patch for this and it happened
> long long time ago... So just a guess assuming that you did everything
> ok, didn't forget any libs etc...
> 

If You have latest update of DJGPP port of gcc-2.95.2 and binutils-2.10
try using option -mbnu210 when compiling sources. If You have 
earlier versions then upgrade

Andris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019