[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ / g++ question



On Mon, 6 Sep 1999, R.G. Mayhue wrote:

> This is assuming nothing special is being done here (ie: no extra

the only includes are "standard" ( ie no extra flags for g++ )

> Donovan, you did not say what the linker was complaining about. That
> would be a clue.


matrixmain.o: In function `main':
matrixmain.o(.text+0x3b): undefined reference to
`Matrix<float>::Matrix(int, int)'
matrixmain.o(.text+0x4b): undefined reference to
`Matrix<float>::Matrix(int, int)'
matrixmain.o(.text+0x57): undefined reference to
`Matrix<float>::input(void)' 
.....
( it keeps going )

Seems odd, it appears to be  telling me that every function 
I call from main() is undefined.

-- 
Donovan