Debian woody and gcc 3.0 unresolved symbol "new" with c++ program
Mike Coleman
mkc+dated+1014093511.256150 at mathdogs.com
Sat Feb 9 04:35:26 CST 2002
hanasaki <hanasaki at hanaden.com> writes:
> I am getting the following errors when gcc links the program I am
> compiling. What libs do I need to make the linker happy?
> /tmp/ccgPzIMj.o: In function `main':
> /tmp/ccgPzIMj.o(.text+0xf): undefined reference to `operator new(unsigned)'
> /tmp/ccgPzIMj.o(.text+0x3a): undefined reference to `operator delete(void*)'
A little more info would help. What version of gcc/g++ are you using?
If possible, it would be useful to have the actual compiler command line, and
the output of the same with the --verbose flag added.
Mike
More information about the Kclug
mailing list