Undefined symbols
Undefined symbols
- Subject: Undefined symbols
- From: Federico Mari <email@hidden>
- Date: Tue, 5 Jul 2005 12:55:39 +0200
Hi,
I'm writing a Makefile application and get some problem with the linker.
==
I have Mac OS 10.4 Tiger, with XCode 2.0
$ld -v
Apple Computer, Inc. version cctools-576.obj~23
$aclocal --version
aclocal (GNU automake) 1.6.3
$automake --version
automake (GNU automake) 1.6.3
$autoconf --version
autoconf (GNU Autoconf) 2.59
$gcc --version
powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer,
Inc. build 4061)
$g++ --version
powerpc-apple-darwin8-g++-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer,
Inc. build 4061)
==
When I compile with GCC all seems OK; the problem arises when I link
with g++, the output is the following:
==
/usr/bin/ld: Undefined symbols:
std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)
std::__default_alloc_template<true, 0>::allocate(unsigned long)
__ZNSt15basic_streambufIcSt11char_traitsIcEED4Ev
collect2: ld returned 1 exit status
==
could you help me?
--
Federico
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden