Thread: Borland C++
View Single Post
Old Oct 27th, 2005, 6:06 PM   #1
-=PARADOX=-
Programmer
 
-=PARADOX=-'s Avatar
 
Join Date: Oct 2005
Location: Portugal
Posts: 53
Rep Power: 4 -=PARADOX=- is on a distinguished road
Question Borland C++

Hello there!

I found this cool forum under google... now I'm going post my first thread... so be nice...

Well, I get tired of DevC++ craches and bugs and start using a monster IDE like Borland C++ Builder 6...
I'm making a basic program in the console mode, with classes and stuff...
But when I try to compile the prog, the compiler gives me the folowing messages:

[Linker Error] Unresolved external 'Data::~Data()' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Trabalhador::~Trabalhador()' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Pessoa::~Pessoa()' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Chefe::~Chefe()' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Data::Data()' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Data::Data(unsigned int, unsigned int, unsigned int)' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Trabalhador::Trabalhador(char *, char *, unsigned int, Data&)' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Trabalhador::setSalario(float)' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Chefe::Chefe(char *, char *, unsigned int, Data&)' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Chefe::add(Pessoa&)' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Chefe::getFullInfo() const' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Pessoa::getFullInfo() const' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Trabalhador::getFullInfo() const' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Trabalhador::getSalario() const' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Chefe::getSalario() const' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ
[Linker Error] Unresolved external 'Chefe::exists(Pessoa&) const' referenced from D:\AULAS\2ANO\1SEMESTRE\PP1\AULA6\MAIN.OBJ

In the help of Builder says this:

Unresolved external symbol referenced from module
The named symbol is referenced in the given module but is not defined anywhere in the set of object files and libraries included in the link. Check to make sure the symbol is spelled correctly.
You will usually see this error from the linker for C or C++ symbols if any of the following occur:

You did not properly match a symbol’s declarations of __pascal and __cdecl types in different source files.
	You have omitted the name of an object file your program needs. You need to manually add all required packages to the Requires list.
	You did not link in the emulation library.

If you are linking C++ code with C modules, you might have forgotten to wrap C external declarations in extern “C”.

You could also have a case mismatch between two symbols.

But don't understand mutch of this... :eek:

Help please!!!

Thanks.
-=PARADOX=- is offline   Reply With Quote