Package: mysql-dfsg-4.1 Version: 4.1.10a-3 Severity: normal Tags: patch When building 'mysql-dfsg-4.1' on amd64/unstable with gcc-4.0, I get the following error:
../../../ndb/src/common/util/.libs/libgeneral.a(BaseString.o)(.gnu.linkonce.t._ZN6VectorI10BaseStringED1Ev+0x3f): In function `Vector<BaseString>::~Vector()': : undefined reference to `operator delete[](void*)' ../../../ndb/src/common/util/.libs/libgeneral.a(ConfigValues.o)(.text+0xe37): In function `ConfigValuesFactory::extractCurrentSection(ConfigValues::ConstIterator const&)': : undefined reference to `operator new(unsigned long)' ../../../ndb/src/common/util/.libs/libgeneral.a(ConfigValues.o)(.text+0xeca): In function `ConfigValuesFactory::extractCurrentSection(ConfigValues::ConstIterator const&)': : undefined reference to `operator delete(void*)' collect2: ld returned 1 exit status make[6]: *** [ndbd] Error 1 make[6]: Leaving directory `/mysql-dfsg-4.1-4.1.10a/ndb/src/kernel' With the attached patch 'mysql-dfsg-4.1' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/mysql-dfsg-4.1-4.1.10a/debian/rules ./debian/rules --- ../tmp-orig/mysql-dfsg-4.1-4.1.10a/debian/rules 2005-03-28 15:24:33.828739462 +0200 +++ ./debian/rules 2005-03-28 15:05:12.000000000 +0200 @@ -53,7 +53,7 @@ sh -c 'PATH=$${MYSQL_BUILD_PATH:-"/bin:/usr/bin"} \ CC=$${MYSQL_BUILD_CC:-gcc} \ CFLAGS=$${MYSQL_BUILD_CFLAGS:-"-DBIG_JOINS=1 -O3"} \ - CXX=$${MYSQL_BUILD_CXX:-gcc} \ + CXX=$${MYSQL_BUILD_CXX:-g++} \ CXXFLAGS=$${MYSQL_BUILD_CXXFLAGS:-"-DBIG_JOINS=1 -felide-constructors -fno-rtti -O3"} \ ./configure \ --build=${DEB_BUILD_GNU_TYPE} \ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]