linker error with gcc296

Nabeel P Khan
Wed Jul 14 18:52:00 GMT 2004

i am compiling a network simulator with gcc-compiler2.96 and that gives me
a linker error as
../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


More information about the Gcc-help mailing list