Posted by kalpol on August 14, 2001 at 19:13:03:
In Reply to: Re: i code better after ive had a few ... posted by El Kabong on August 14, 2001 at 18:11:48:
: Oh ...... my ... god .......
: I fized it! I fixed it! I finally figured out how to get g++ to compile these things properly!
: I should get a field's medal for this.
:
: : I'm sure this has been answered a few times before, but i completely forgot how I got rid of these the first time ... anyway, does anyone know what to do about these sort of errors?
: : /tmp/ccfZieny.o: In function `main':
: : /tmp/ccfZieny.o(.text+0x2b): undefined reference to `map
: : /tmp/ccfZieny.o: In function `foostring::~foostring(void)':
: : /tmp/ccfZieny.o(.gnu.linkonce.t._._9foostring+0x27): undefined reference to `foo
: : ::~foo(void)'
: : collect2: ld returned 1 exit status
well, dvw told me this morning to do g++ *.cpp instead of g++ test.cpp....i never thought of that and it worked