Compiling with BUILD/compile-pentium64-debug-all fails on Ubuntu 10.10 x86_64 and openSUSE 11.1 x86_64
How to repeat:
* Use lp:maria/5.2
* Run BUILD/compile-pentium64-debug-all
* See
libtool: compile: ccache g++ -DHAVE_CONFIG_H -DNDB_DEBUG_FULL -DVM_TRACE -DERROR_INSERT -DARRAY_GUARD -I. -I../../../../../../include -I. -I../../../../../../include -I../../../../../../storage/ndb/include -I../../../../../../include -I../../../../../../mysys -I../../../../../../storage/ndb/include -I../../../../../../storage/ndb/include/kernel -I../../../../../../storage/ndb/include/transporter -I../../../../../../storage/ndb/include/debugger -I../../../../../../storage/ndb/include/mgmapi -I../../../../../../storage/ndb/include/mgmcommon -I../../../../../../storage/ndb/include/ndbapi -I../../../../../../storage/ndb/include/util -I../../../../../../storage/ndb/include/portlib -I../../../../../../storage/ndb/include/logger -g -Wall -Wextra -Wunused -Wwrite-strings -Wno-unused-parameter -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -mtune=native -m64 -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -fno-implicit-templates -fno-exceptions -fno-rtti -MT DictTabInfo.lo -MD -MP -MF .deps/DictTabInfo.Tpo -c DictTabInfo.cpp -fPIC -DPIC -o .libs/DictTabInfo.o
In file included from ../../../../../../storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:24,
from DictTabInfo.cpp:17:
../../../../../../storage/ndb/include/util/NdbSqlUtil.hpp:23: error: conflicting declaration ‘typedef struct charset_info_st CHARSET_INFO’
../../../../../../include/m_ctype.h:41: error: ‘CHARSET_INFO’ has a previous declaration as ‘typedef const struct charset_info_st CHARSET_INFO’
make[6]: *** [DictTabInfo.lo] Error 1
In lp:maria/5.1 it fails with: aliasing -Werror -DFORCE_ INIT_OF_ VARS -Wno-unused- parameter -g -Wall -Wextra -Wunused -Wwrite-strings -Wno-unused- parameter -Wnon-virtual-dtor -felide- constructors -fno-exceptions -fno-rtti -mtune=native -m64 -DUNIV_ MUST_NOT_ INLINE -DEXTRA_DEBUG -DFORCE_ INIT_OF_ VARS -DSAFEMALLOC -DPEDANTIC_ SAFEMALLOC -fno-implicit- templates -fno-exceptions -fno-rtti -rdynamic -o mysqltest_embedded mysqltest.o ../../libmysqld /.libs/ libmysqld. a -ldl ../../storage/ ndb/src/ .libs/libndbcli ent.a ../../regex/ .libs/libregex. a -lz ../../extra/ yassl/src/ .libs/libyassl. a ../../extra/ yassl/taocrypt/ src/.libs/ libtaocrypt. a -lrt -lresolv -lcrypt -lnsl -lm -lpthread ndb/src/ .libs/libndbcli ent.a(mgmapi. o): In function `ndb_mgm_ get_configurati on': work/monty_ program/ maria-5. 1/storage/ ndb/src/ mgmapi/ mgmapi. cpp:2179: undefined reference to `base64_ needed_ decoded_ length' work/monty_ program/ maria-5. 1/storage/ ndb/src/ mgmapi/ mgmapi. cpp:2180: undefined reference to `base64_decode' embedded] Error 1
libtool: link: ccache gcc -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-
../../storage/
/home/hakan/
/home/hakan/
collect2: ld returned 1 exit status
make[4]: *** [mysqltest_
In lp:maria/5.3 it fails with: hakan/work/ monty_program/ maria-5. 3/storage/ ndb/src/ common/ debugger/ signaldata' ./../.. /../libtool --tag=CXX --mode=compile ccache g++ -DHAVE_CONFIG_H -DNDB_DEBUG_FULL -DVM_TRACE -DERROR_INSERT -DARRAY_GUARD -I. -I../.. /../../ ../../include -I. -I../.. /../../ ../../include -I../.. /../../ ../../storage/ ndb/include -I../.. /../../ ../../include -I../.. /../../ ../../mysys -I../.. /../../ ../../storage/ ndb/include -I../.. /../../ ../../storage/ ndb/include/ kernel -I../.. /../../ ../../storage/ ndb/include/ transporter -I../.. /../../ ../../storage/ ndb/include/ debugger -I../.. /../../ ../../storage/ ndb/include/ mgmapi -I../.. /../../ ../../storage/ ndb/include/ mgmcommon -I../.. /../../ ../../storage/ ndb/include/ ndbapi -I../.. /../../ ../../storage/ ndb/include/ util -I../.. /../../ ../../storage/ ndb/include/ portlib -I../.. /../../ ../../storage/ ndb/include/ logger -g -Wall -Wextra -Wunused -Wwrite-strings -Wno-unused- parameter -Wnon-virtual-dtor -felide- constructors -fno-exceptions -fno-rtti -mtune=native -m64 -DUNIV_ MUST_NOT_ INLINE -DEXTRA_DEBUG -DFORCE_ INIT_OF_ VARS -DSAFEMALLOC -DPEDANTIC_ SAFEMALLOC -fno-implicit- templates -fno-exceptions -fno-rtti -MT DictTabInfo.lo -MD -MP -MF .deps/DictTabIn fo.Tpo -c -o DictTabInfo.lo DictTabInfo.cpp /../../ ../../include -I. -I../.. /../../ ../../include -I../.. /../../ ../../storage/ ndb/include -I../.. /../../ ../../include -I../.. /../../ ../../mysys -I../.. /../../ ../../storage/ ndb/include -I../.. /../../ ../../storage/ ndb/include/ kernel -I../.. /../../ ../../storage/ ndb/include/ transporter -I../.. /../../ ../../storage/ ndb/include/ debugger -I../.. /../../ ../../storage/ ndb/include/ mgmapi -I../.. /../../ ../../storage/ ndb/include/ mgmcommon -I../.. /../../ ../../storage/ ndb/include/ ndbapi -I../.. /../../ ../../storage/ ndb/include/ util -I../.. /../../ ../../storage/ ndb/include/ portlib -I../../../.....
make[6]: Entering directory `/home/
/bin/bash ../../.
libtool: compile: ccache g++ -DHAVE_CONFIG_H -DNDB_DEBUG_FULL -DVM_TRACE -DERROR_INSERT -DARRAY_GUARD -I. -I../..