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

From: "John Harrison" <jahhaj AT bigfoot DOT com>
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp,gnu.gcc.help
References: <8vstc7$ion$1 AT venus DOT telepac DOT pt>
Subject: Re: C++ Project Compilation
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <PKnU5.14798$ea7.300156@news2-win.server.ntlworld.com>
Date: Mon, 27 Nov 2000 07:07:02 -0000
NNTP-Posting-Host: 213.104.184.122
X-Complaints-To: abuse AT ntlworld DOT com
X-Trace: news2-win.server.ntlworld.com 975308847 213.104.184.122 (Mon, 27 Nov 2000 07:07:27 GMT)
NNTP-Posting-Date: Mon, 27 Nov 2000 07:07:27 GMT
Organization: ntlworld News Service
Lines: 63
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Paulo J. Matos aka PDestroy" <pdestroy AT netcabo DOT pt> wrote in message
news:8vstc7$ion$1 AT venus DOT telepac DOT pt...
> 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)'

This error means you haven't defined Ecran::mostraIface(string, 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)'

This is the same.

> 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)'

This is the same.

> banco.o(.text+0x1236):banco.cpp: undefined reference to `Lista<unsigned
> int>::~Lista(void)'

This means you haven't defined

Lista<T>::~Lista()

because this is a template, is possible that you have defined it but not in
the right place.

> banco.o(.text+0x132b):banco.cpp: undefined reference to `Lista<unsigned
> int>::~Lista(void)'"

This is the same.

john

>
> 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?
>
> Best regards,
>
>
> --
> Paulo J. Matos aka PDestroy
> http://www.pdestroy.net
> ICQ UIN - 361853
>
> --
> Feed the children, save the whales but above all, free() the malloc()s.
>            - Anonymous
>
>


- Raw text -


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