This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]