After compiling, when I am doing the linking, the compiler conmplains that I have undefined symbols but I have included the library files, what else could I be missing?
Printable View
After compiling, when I am doing the linking, the compiler conmplains that I have undefined symbols but I have included the library files, what else could I be missing?
What compiler? What are the errors? You need to provide more information.
Regards,
Paul McKenzie
First, check for the missing symbols.
Then, identify the library file (or object file) where the symbols are defined.
Last, include the missing library file (or object file) in the link list.
I don't know what compiler you use.
borlandc compiler
Then, make sure you link all the required libraries. Usualy, this is the thing forgoten.
But I have link the libraries but it still give me this problem, that's why I am very vexed over this problem
How would i know if the compiler has included my libraries and objects files?
if im not mistaken, you have to make a config
file for borland, <something>.cfg.
this file should include lines like
-L<DIR>
this makes a default linking to the libraries.
read the readme file very thouroughly, it's all there!