This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
linker error with gcc296
- From: Nabeel P Khan <nkhan at mail dot eecis dot udel dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 14 Jul 2004 14:51:56 -0400 (EDT)
- Subject: 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