This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Novice programmer in need of some help
- From: Jez Master <jez_masterii at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 1 Apr 2002 19:37:09 -0800 (PST)
- Subject: Novice programmer in need of some help
Hi, I'm a novice programmer so bear with me please if
I seem to be a bit ignorant..:)
ok, I've tried compiling with the command "g++ -o
thmt.o tree.o gen_tdata.o" and i get this error..
I believe this have to do with how g++ handles
templates...can anyone give me any insight into this
problem??? Thx!
Undefined first referencedsymbol in
filetree::tree(tree const &)thmt.orangas(int &)
thmt.otree > >::tree(int, int, int,vector > const
&)thmt.otree::operator=(tree const
&)thmt.omatrix::operator=(matrix const
&)thmt.oranprobs(vector > &, int
&)thmt.otree::tree(char *) thmt.otree::dump(char *)
thmt.oranind(vector > const &, int &)thmt.oipow(int,
int) thmt.otree::tree(int, int, int, int const
&)thmt.otree > >::operator=(tree > > const
&)thmt.omatrix::matrix(int, int, double const
&)thmt.omatrix::matrix(matrix const
&)thmt.otree::tree(int, int, int, double const
&)thmt.omain/usr/local/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/crt1.oran1(int
&) thmt.old: fatal: Symbol referencing errors. No
output written to gen_tdata.ocollect2: ld returned 1
exit status-
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://http://taxes.yahoo.com/