Re: [sigc] <lambda/group.h> problem solved
- From: martin-ml hippogriff de
- To: "Giacomo Lo Giusto" <giacomolg infinito it>
- Cc: libsigc-list gnome org
- Subject: Re: [sigc] <lambda/group.h> problem solved
- Date: Mon, 27 Sep 2004 13:56:51 +0200 (CEST)
I think, this one already has a bug report. Unfortunately I'm still
clueless. Could you please run autogen.sh before make and let us know the
result? I suspect that the problem is connected to the autotools.
Regards,
Martin
> Jeff Franks wrote:
>
>> It seems that gcc 3.4.2 wants this line of code:
>>
>> { typedef typename functor_type::deduce_result_type<
>>
>> at lines 79, 245 and 458 in <lambda/group.h> declared like this:
>>
>> { typedef typename sigc::adaptor_trait<T_functor,
>> sigc::is_base_and_derived<sigc::adaptor_base,T_functor>::value>::adaptor_type::template
>>
>> deduce_result_type<
>>
>> After making the changes it compiled OK.
>>
>> Regards,
>> Jeff Franks.
>>
> Hi,
> I've made the changes you've suggested, but I still get an error like
> this:
>
> [...]
> g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT slot_base.lo -MD -MP -MF
> .deps/slot_ba se.Tpo -c functors/slot_base.cc -o slot_base.o >/dev/null
> 2>&1
> if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.. -I..
> -g -O2 -M T lambda.lo -MD -MP -MF ".deps/lambda.Tpo" -c -o lambda.lo
> `test -f 'adaptors/la mbda/lambda.cc' || echo
> './'`adaptors/lambda/lambda.cc; \
> then mv -f ".deps/lambda.Tpo" ".deps/lambda.Plo"; else rm -f
> ".deps/lambda.Tpo"; exit 1; fi
> g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT lambda.lo -MD -MP -MF
> .deps/lambda.Tpo -c adaptors/lambda/lambda.cc -fPIC -DPIC -o
> .libs/lambda.o
> g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT lambda.lo -MD -MP -MF
> .deps/lambda.Tpo -c adaptors/lambda/lambda.cc -o lambda.o >/dev/null 2>&1
> /bin/sh ../libtool --mode=link g++ -g -O2 -o libsigc-2.0.la -rpath
> /usr/local /lib signal.lo signal_base.lo trackable.lo connection.lo
> slot.lo slot_base.lo l ambda.lo
> g++ -shared -nostdlib
> /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../crti. o
> /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/crtbeginS.o .libs/signal.o
> .libs/ signal_base.o .libs/trackable.o .libs/connection.o .libs/slot.o
> .libs/slot_base. o .libs/lambda.o
> -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.4 -L/usr/lib/gcc-l
> ib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/lib
> -L/usr/lib/gc c-lib/i486-slackware-linux/3.3.4/../../.. -lstdc++ -lm -lc
> -lgcc_s /usr/lib/gcc- lib/i486-slackware-linux/3.3.4/crtendS.o
> /usr/lib/gcc-lib/i486-slackware-linux/3 .3.4/../../../crtn.o
> -Wl,-soname -Wl,libsigc-2.0.so.0 -o .libs/libsigc-2.0.so.0 .0.0
> /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin
>
> /ld: .libs/libsigc-2.0.so.0.0.0: undefined versioned symbol name
> std::time_put_w @@GLIBCPP_3.2
> /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin
>
> /ld: failed to set dynamic section sizes: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [libsigc-2.0.la] Error 1
> make[3]: Leaving directory `/home/giacomo/src/libsigc++-2.0.4/sigc++'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/giacomo/src/libsigc++-2.0.4/sigc++'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/giacomo/src/libsigc++-2.0.4'
> make: *** [all] Error 2
> giacomo giacomo:~/src/libsigc++-2.0.4$
>
> I've attached the adaptors/lambda/group.h file with the changes, so you
> can see if I made mistakes....
>
> A very big thank !
>
> P.S.
> my gcc version is 3.3.4:
> giacomo giacomo:~$ gcc -v
> Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
> Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared
> --enable-threads=posix --enable-__cxa_atexit --disable-checking
> --with-gnu-ld --verbose --target=i486-slackware-linux
> --host=i486-slackware-linux
> Thread model: posix
> gcc version 3.3.4
> giacomo giacomo:~$
>
> _______________________________________________
> libsigc-list mailing list
> libsigc-list gnome org
> http://mail.gnome.org/mailman/listinfo/libsigc-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]