Re: compiler error with



Thanks Stef,

Tried changing the version of libsigc++ but no luck, still got the same thing. I think my compiler is fairly recent?

Jim

-------------------------------

mkdir .libs
ccache g++ -I/home/jamaas/garnome-2.8.0/include -I/usr/X11R6/include -O2 -pipe -march=pentium4 -msse2 -mfpmath=sse -o .libs/test_trackable test_trackable.o -L/home/jamaas/garnome-2.8.0/lib -L/usr/X11R6/lib -L/usr/local/lib ../sigc++/.libs/libsigc-2.0.so /usr/local/lib/libstdc++.so -L/tmp/gcc-3.4.0/i686-pc-linux-gnu/libstdc++-v3/src -L/tmp/gcc-3.4.0/i686-pc-linux-gnu/libstdc++-v3/src/.libs -L/tmp/gcc-3.4.0/gcc -Wl,--rpath -Wl,/home/jamaas/garnome-2.8.0/lib ../sigc++/.libs/libsigc-2.0.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::allocate(unsigned)' ../sigc++/.libs/libsigc-2.0.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::_S_free_list' ../sigc++/.libs/libsigc-2.0.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::_Lock::~_Lock [in-charge]()' ../sigc++/.libs/libsigc-2.0.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::_S_force_new' ../sigc++/.libs/libsigc-2.0.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::_Lock::_Lock[in-charge]()' ../sigc++/.libs/libsigc-2.0.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::_S_freelist_index(unsigned)' ../sigc++/.libs/libsigc-2.0.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::_S_node_allocator_lock'
collect2: ld returned 1 exit status
make[7]: *** [test_trackable] Error 1
make[7]: Leaving directory `/home/jamaas/Downloads/garnome-2.8.0/bindings/libsigc++/work/main.d/libsigc++-2.0.6/tests'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/jamaas/Downloads/garnome-2.8.0/bindings/libsigc++/work/main.d/libsigc++-2.0.6'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/jamaas/Downloads/garnome-2.8.0/bindings/libsigc++/work/main.d/libsigc++-2.0.6'
make[4]: *** [build-work/main.d/libsigc++-2.0.6/Makefile] Error 2
make[4]: Leaving directory `/home/jamaas/Downloads/garnome-2.8.0/bindings/libsigc++'
make[3]: *** [../../bindings/libsigc++/cookies/main.d/install] Error 2
make[3]: Leaving directory `/home/jamaas/Downloads/garnome-2.8.0/bindings/glibmm'
make[2]: *** [../../bindings/glibmm/cookies/main.d/install] Error 2
make[2]: Leaving directory `/home/jamaas/Downloads/garnome-2.8.0/bindings/gconfmm'
make[1]: *** [paranoid-install] Error 2
make[1]: Leaving directory `/home/jamaas/Downloads/garnome-2.8.0/bindings'
make: *** [paranoid-install] Error 2


Stef van der Made wrote:


Hi Jim,

Upgrade libsigc++-2.0.5 to version 2.0.6. 2.0.5 is a buggy version on some compilers. This is accomplished by editing the makefile in bindings/libsigc++ and typing make makesum to get the latest md5sum for this file after changing the make file.

Cheers,

Stef

Jim Maas wrote:

Can anyone give me some clues on this one?  I'm a newbie at this...

Thanks a bunch.

Jim

=============
 ==> Running make in work/main.d/libsigc++-2.0.5
make[5]: Entering directory `/home/jamaas/Downloads/garnome-2.8.0/bindings/libsigc++/work/main.d/libsigc++-2.0.5'

/bin/sh ../libtool --mode=link g++ -g -O2 -L/usr/local/lib -o test_trackable test_trackable.o ../sigc++/libsigc-2.0.la g++ -g -O2 -o .libs/test_trackable test_trackable.o -L/usr/local/lib ../sigc++/.libs/libsigc-2.0.so -Wl,--rpath -Wl,/home/jamaas/garnome-2.8.0/lib ../sigc++/.libs/libsigc-2.0.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::allocate(unsigned)' ../sigc++/.libs/libsigc-2.0.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::_S_free_list'

==============================================
Jim Maas   jamaas at btinternet dot com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]