This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Undefined symbols with gcc


Greetings all,
    I am trying to find out why I have 2 symbols undefined when using 
gcc.  I am running Redhat 7.0, with a gcc-3.0.3 compiler built with 
--enable-threads.  A typical command line is:

gcc -g -DNN_DPK -DHAVE_CONFIG_H -DLINUX -DVAXULT -DULTRIX -c nn_math2.c 
-o  lib/nn_math2.o

    The two symbols that are undefined (as reported by the linker):
(...)/nn_math2.c:2754: undefined reference to `LC55'
(...)/nn_math2.c:2754: undefined reference to `LC61'

    I have noticed from nm that the symbols are indeed not defined in 
nn_math2.o.  However, when I run without debug information turned on, it 
works fine.  Any idea's?  Currently, I have tried building gcc with 
binutils 2.11.2 to see if there was an issue with the assembler or 
something, there appears not to be.  


AdvaTHANKSnce!

Glenn
glenn@answerontech.com

   




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]