Message-ID: <3C636976.7020007@hanaden.com> Date: Thu, 7 Feb 2002 23:57:04 -0600 From: hanasaki <hanasaki@hanaden.com> Subject: Debian woody and gcc 3.0 unresolved symbol "new" with c++ program
I am getting the following errors when gcc links the program I am
compiling. What libs do I need to make the linker happy?
errors:
/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*)'
/tmp/ccgPzIMj.o: In function
`__static_initialization_and_destruction_0(int, int)':
/tmp/ccgPzIMj.o(.text+0x7a): undefined reference to
`std::ios_base::Init::Init()'
/tmp/ccgPzIMj.o: In function `__tcf_0':
/tmp/ccgPzIMj.o(.text+0xdb): undefined reference to
`std::ios_base::Init::~Init()'
/tmp/ccgPzIMj.o(.gnu.linkonce.d._ZTI1A+0x0): undefined reference to
`vtable for __cxxabiv1::__class_type_info'
/tmp/ccgPzIMj.o: In function `A::name()':
/tmp/ccgPzIMj.o(.gnu.linkonce.t._ZN1A4nameEv+0x17): undefined reference
to `std::cout'
<--- alot more --->
I have the following installed:
libstdc++2.10-glibc2.2 install
libstdc++3 install
libstdc++3-dbg install
libstdc++3-dev install
libstdc++3-doc install
cpp-3.0 install
-- hanasaki@hanaden.com Spam : def: It's not kosher.-- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org