keep getting "undefined reference to" linker error

Brian Dessent brian@dessent.net
Fri Aug 10 04:40:00 GMT 2007


"H.S." wrote:

> gcc -g -Wall -c -ansi -Wno-deprecated -I./
> -I/home/hs/tmp/taucs/build/linux -I/home/hs/tmp/taucs/src  spmat.cc  -o
> spmat.o

Just switching to gcc isn't sufficient, it still has the .cc extension.

Brian



More information about the Gcc-help mailing list