Re: [Libsigcx-main] compile error on mandrake 10.1 community
Status: Beta
Brought to you by:
rottmann
From: Andreas R. <a.r...@gm...> - 2004-10-27 10:57:18
|
Peter Gasper <pg...@de...> writes: > I am trying to compile libsigcx-0.6.4 on Mandrake 10.1 > Community. Something is failing in the first test compile, I'm not > sure what the problem is. I get the following error during make after > ./configure (or ./configure --with-gtk): > > make[2]: Entering directory > `/home/pgasper/lbproject/developement_software/libsigcx-0.6.4/tests' > if g++ -DHAVE_CONFIG_H -I. -I. -I.. > -I.. -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 > -D_REENTRANT -Wall -O2 -MT x_thread_test.o -MD -MP -MF > ".deps/x_thread_test.Tpo" \ > -c -o x_thread_test.o `test -f 'x_thread_test.cc' || echo > './'`x_thread_test.cc; \ > then mv -f ".deps/x_thread_test.Tpo" ".deps/x_thread_test.Po"; \ > else rm -f ".deps/x_thread_test.Tpo"; exit 1; \ > fi > ../sigcx/tunnel.h: In static member function `static R > SigCX::TunnelCallback1<R, P1>::pack_n_tunnel(P1, SigC::Slot1<R, P1>, > SigCX::Tunnel*, bool) [with R = bool, P1 = const std::string&]': > ../sigcx/tunnel.h:288: instantiated from `R > SigCX::tunnel(SigC::Slot1<R, P1>, P1, SigCX::Tunnel*, bool) [with R = > bool, P1 = const std::string&]' > x_thread_test.cc:107: instantiated from here > ../sigcx/tunnel.h:223: error: no matching function for call to > `pack(SigC::Slot1<bool, const std::string&>&, const > std::basic_string<char, std::char_traits<char>, std::allocator<char> >>&)' > make[2]: *** [x_thread_test.o] Error 1 > make[2]: Leaving directory > `/home/pgasper/lbproject/developement_software/libsigcx-0.6.4/tests' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/pgasper/lbproject/developement_software/libsigcx-0.6.4' > make: *** [all] Error 2 > > > > RPM's installed on this system are: gtk+ 2.4.9, gtkmm 2.2.12, > libsigc++ 1.2.5, gcc 3.4.1-4, libstdc++6 3.4.1. > Well, I can reproduce this with g++ 3.4. Looking at the source, I can find no abovious solution how to fix this (and I'm not sure why 3.4 barfs at the code), so please try with g++ 3.3 in the meantime. Regards, Rotty -- Andreas Rottmann | Rotty@ICQ | 118634484@ICQ | a.r...@gm... http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62 I have a truly elegant proof of the above, but it is too long to fit into this .signature file. |