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]

linker error with gcc296


i am compiling a network simulator with gcc-compiler2.96 and that gives me
a linker error as
follows
--------------------------------------------------------------------
../mac/pmac1.o(.text+0x3e5): In function `COORD_CalcDistanceAndAngle':
/home/nkhan/qualnet/3.6/main/../include/coordinates.h:301: undefined
reference to `assert'
collect2: ld returned 1 exit status
make: *** [../bin/qualnet] Error 1


can you tell me any intuition how and what to look for since the function
COORD_CalcDistanceAngle (mentioned in the error) has no errors in itself
Nor there is a reference to it in pmac1.o as mentioned in the linker
error.

thanks
-nabeel


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