On 25/01/2008, Cyril Brulebois wrote: > tag 456971 patch And with the actual patch…
> OK, that part is fixed with the attached patch. A rebuild of > libsigc++-2.0 under gcc-snapshot only fails because of: > | … > | dh_shlibdeps: command returned error code 512 Adding “-- --ignore-missing-info” to debian/rules and I've got updated *.debs. Now, trying to build exmap, it is *very* strange to see that build failures aren't detected: | g++ -g -Wall -fPIC -c -o jutil.o jutil.cpp | jutil.cpp: In function 'bool jutil::read_directory(const std::string&, std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)': | jutil.cpp:32: Error: error: 'strncpy' was not declared in this scope | make[2]: *** [jutil.o] Error 1 | make[2]: Leaving directory `/home/kibi/exmap-0.10/jutil' | make[2]: Entering directory `/home/kibi/exmap-0.10/src' | g++ -g -Wall -fPIC -g -Wall -I../jutil -c -o exmtool.o exmtool.cpp | exmtool.cpp:35: warning: deprecated conversion from string constant to 'char*' | … | exmtool.cpp:46: Error: error: 'strcmp' was not declared in this scope | make[2]: *** [exmtool.o] Error 1 | make[2]: Leaving directory `/home/kibi/exmap-0.10/src' | make[2]: Entering directory `/home/kibi/exmap-0.10/tools' | cc -g -Wall -fPIC -c -o getpagesize.o getpagesize.c | cc -o getpagesize getpagesize.o | … | dh_* | … | dh_install -pexmap | cp: cannot stat `./src/gexmap': No such file or directory | dh_install: command returned error code 256 | make: *** [binary-install/exmap] Error 1 I guess that the build must have failed at the very first error. Anyway, upgrading to the gcc4.3-aware libsigc++-2.0 binaries, I'm able to build exmap (although there's still an undetected error, as pointed by brian already: | g++ -g -Wall -fPIC -c -o egtest.o egtest.cpp | In file included from egtest.cpp:1: | Trun.hpp:8:49: Error: error: jutil.hpp: No such file or directory | make[2]: *** [egtest.o] Error 1 | make[2]: Leaving directory `/home/kibi/exmap-0.10/jutil' | make[2]: Entering directory `/home/kibi/exmap-0.10/src' ) Cheers, -- Cyril Brulebois
--- a/sigc++/signal.h 2008-01-25 01:12:12.000000000 +0000 +++ b/sigc++/signal.h 2008-01-25 02:23:16.000000000 +0000 @@ -1672,7 +1672,7 @@ * It is not available when using the SUN Forte compiler. * @deprecated slot_list_type; */ - typedef slot_list_type slot_list; + typedef slot_list_type slot_list_t; #endif /** Add a slot to the list of slots. @@ -1781,7 +1781,7 @@ * It is not available when using the SUN Forte compiler. * @deprecated slot_list_type; */ - typedef slot_list_type slot_list; + typedef slot_list_type slot_list_t; #endif /** Add a slot to the list of slots. @@ -1892,7 +1892,7 @@ * It is not available when using the SUN Forte compiler. * @deprecated slot_list_type; */ - typedef slot_list_type slot_list; + typedef slot_list_type slot_list_t; #endif /** Add a slot to the list of slots. @@ -2005,7 +2005,7 @@ * It is not available when using the SUN Forte compiler. * @deprecated slot_list_type; */ - typedef slot_list_type slot_list; + typedef slot_list_type slot_list_t; #endif /** Add a slot to the list of slots. @@ -2120,7 +2120,7 @@ * It is not available when using the SUN Forte compiler. * @deprecated slot_list_type; */ - typedef slot_list_type slot_list; + typedef slot_list_type slot_list_t; #endif /** Add a slot to the list of slots. @@ -2237,7 +2237,7 @@ * It is not available when using the SUN Forte compiler. * @deprecated slot_list_type; */ - typedef slot_list_type slot_list; + typedef slot_list_type slot_list_t; #endif /** Add a slot to the list of slots. @@ -2356,7 +2356,7 @@ * It is not available when using the SUN Forte compiler. * @deprecated slot_list_type; */ - typedef slot_list_type slot_list; + typedef slot_list_type slot_list_t; #endif /** Add a slot to the list of slots. @@ -2477,7 +2477,7 @@ * It is not available when using the SUN Forte compiler. * @deprecated slot_list_type; */ - typedef slot_list_type slot_list; + typedef slot_list_type slot_list_t; #endif /** Add a slot to the list of slots. --- a/tests/test_copy_invalid_slot.cc 2008-01-25 02:25:16.000000000 +0000 +++ b/tests/test_copy_invalid_slot.cc 2008-01-25 02:28:05.000000000 +0000 @@ -1,3 +1,5 @@ +#include <cstdlib> +#include <cstring> #include <iostream> #include <sigc++/sigc++.h>
pgpaNq7m0w18G.pgp
Description: PGP signature