delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/27/02:28:57

Message-Id: <3.0.1.32.20001127151322.0069cad8@wingate>
X-Sender: n_abing#ns DOT roxas-online DOT net DOT ph AT wingate
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
Date: Mon, 27 Nov 2000 15:13:22 +0800
To: djgpp AT delorie DOT com
From: "Nimrod A. Abing" <n_abing AT ns DOT roxas-online DOT net DOT ph>
Subject: Re: URG: C++ Project Compilation
Cc: pdestroy AT netcabo DOT pt
In-Reply-To: <8vstc7$ion$1@venus.telepac.pt>
Mime-Version: 1.0
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

At 06:00 AM 11/27/2000 -0000, you 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?

What's so "not-understandable" about this? "undefined reference to
blahblahblah" means that the linker cannot find the symbols that you
referenced in your program. One solution is to check your command-line: the
order in which your object files appear in your command line matters during
linking stage.

HTH, bye.

nimrod_a_abing
--------------
+========================================+
|  Home page: www.geocities.com/n_abing  |
+========================================+

- Raw text -


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