Posted by kalpol on July 16, 2001 at 18:17:32:
In Reply to: Re: unknown error posted by so close ... on July 16, 2001 at 18:10:09:
: : : : : i've gotten the add and delete procedures working, but whenever i try to create a foo, or call any foo functions, i get errors like this :
: : : : : /tmp/cch11u57.o: In function `abstract_foohandler::access_foo(unsigned char, unsigned long, unsigned long, unsigned long &)':
: : : : : /tmp/cch11u57.o(.abstract_foohandler::gnu.linkonce.t.access_foo(unsigned char, unsigned long, unsigned long, unsigned long &)+0x3a): undefined reference to `foo::foo(unsigned long)'
: : : : : collect2: ld returned 1 exit status
: : : : : what does it mean and hwo do i fix it?!?!
: : : : try getting the new foo class off the web
: : : way ahead of you ... unfortunately, the newer one does nothing to alleviate this problem. Same errors, everytime.
: : I just remembered this happened to me Friday. when i turned it in it compiled fine according to the script. it also compiles fine in VC++....so just turn it in and see if it compiles.
: alright, ill try that. thanks for yer help, man.
you're welcome.......I jsut tried it in g++ with his foo class and i get the same errors. i've jsut been using VC++.