GNOME Bugzilla – Bug 315384
version-0.31 fails to build when using gcc-3.3.3
Last modified: 2008-01-29 13:10:47 UTC
Version details: gnome-cups-manager-0.31 Distribution/Version: YDL-4.0.1 System: PPC running YDL-4.0.1, gcc-3.3.3 link failure while building .libs/gnome-cups-add: ... ../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to `std::char_traits<unsigned char>::length(unsigned char const*)' ../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to `std::char_traits<unsigned char>::compare(unsigned char const*, unsigned char const*, unsigned)' ../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to `std::char_traits<unsigned char>::assign(unsigned char*, unsigned, unsigned char)' ../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to `std::char_traits<unsigned char>::copy(unsigned char*, unsigned char const*, unsigned)' ../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to `std::char_traits<unsigned char>::move(unsigned char*, unsigned char const*, unsigned)' NOTE: version 0.30 builds without incident
I can't replicate this. Those are templates and should have been generated at compile time.
Maybe it's a gcc issue? As I mentioned, version 0.30 builds without incident. Thoughts??? -Joseph
Jody, Just ran an experiment. Version 0.31 builds using GCC-4.0.1. Since version 0.30 built with GCC-3.3.3, the question now is "What changed that would have adversely effected these templates?" -Joseph
Jody, Ran one more experiment. Version 0.31 also builds with GCC-3.4.3. So... Something changed between 0.30 ->0.31 that has tickled a gcc bug. I will poke at this a bit more. -Joseph
Jody, If I replace ./libgnomecups/snmpkit with the source from version-0.30, the problem "goes away". -Joseph
Jody, One more experiment... Replaced the source in snmpkit with the Debian version, snmpkit_0.9-11 http://ftp.debian.org/debian/pool/main/s/snmpkit Builds using gcc-3.3.3. -Joseph
Created attachment 51929 [details] [review] snmpkit: patched against Debian snmp_0.9-11 This patch is a diff between the existing source in snmpkit and Debian snmp_0.9-11. With this patch applied, gnome-cups-manager builds using gcc-3.3.3 as well as gcc-4.0.1 -Joseph
Moving all gnome-cups-manager bugs to new product. Filter on Kjartan's spring cleaning.