[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ / g++ question
On Tue, 7 Sep 1999, JF Martinez wrote:
> g++ -c *.cpp
> g++ -o matrix vector.o matrix.o main.o
Still get the same error. It looks like this:
matrixmain.o: In function `main':
matrixmain.o(.text+0x3b): undefined reference to
`Matrix<float>::Matrix(int, int )'
.....
several more lines of this kind of thing. ( ie "undefined references" are
to things that I have defined in the templates. )
btw, I'm running egcs-c++-1.1b ( turbo linux build )
--
Donovan