Click to See Complete Forum and Search --> : newbie question : symbol referencing error


Zerg2000
March 16th, 2003, 10:06 PM
I am a newbie and Java programmer, anyway.

I want to know what is ld: fatal : Symbol referencing error and how to solve it.

Thank you and urgent.

dude_1967
March 17th, 2003, 04:15 AM
Zerg,

This is a linker error from the cc compiler/linker under Unix or from the GNU-compiler/linker under Unix/Linux. The linker is unable to find some symbol which could be either a subroutine or a variable. This is a fatal error for the linker as opposed to a simple warning. The linker can not proceed any further after a fatal error and the build will be stopped.

Sincerely, Chris.

P.S. Which development environment are you using? GNU, cc under Unix...

:)

PaulWendt
March 17th, 2003, 06:43 AM
To add to the answer already here, it means that your linker
didn't find a symbol that it needs. All symbols are either in object
files or libraries. Thus, you need to link your exe with the object
file or library that contains the symbol the linker can't find.

--Paul