delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/30/05:51:40

From: karuottu AT freenet DOT hut DOT fi (Kai Ruottu)
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp,gnu.gcc.help
Subject: Re: URG: C++ Project Compilation
Date: Thu, 30 Nov 2000 10:38:11 GMT
Organization: Telia Finland Customer News Service
Lines: 33
Message-ID: <3a262b1c.11184702@news.yhteys.mtv3.fi>
References: <8vstc7$ion$1 AT venus DOT telepac DOT pt>
NNTP-Posting-Host: dyn-h-055.yhteys.mtv3.fi
X-Trace: nntp.teliafi.net 975580462 9525 62.236.232.55 (30 Nov 2000 10:34:22 GMT)
X-Complaints-To: abuse AT teliafi DOT net
NNTP-Posting-Date: 30 Nov 2000 10:34:22 GMT
X-Newsreader: Forte Free Agent 1.21/32.243
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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...



- Raw text -


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