Re: Compiling with BUILD/compile-pentium64-debug-all fails
In lp:maria/5.1 it fails with:
libtool: link: ccache gcc -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-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/libndbclient.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
../../storage/ndb/src/.libs/libndbclient.a(mgmapi.o): In function `ndb_mgm_get_configuration':
/home/hakan/work/monty_program/maria-5.1/storage/ndb/src/mgmapi/mgmapi.cpp:2179: undefined reference to `base64_needed_decoded_length'
/home/hakan/work/monty_program/maria-5.1/storage/ndb/src/mgmapi/mgmapi.cpp:2180: undefined reference to `base64_decode'
collect2: ld returned 1 exit status
make[4]: *** [mysqltest_embedded] Error 1
In lp:maria/5.3 it fails with:
make[6]: Entering directory `/home/hakan/work/monty_program/maria-5.3/storage/ndb/src/common/debugger/signaldata'
/bin/bash ../../../../../../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/DictTabInfo.Tpo -c -o DictTabInfo.lo DictTabInfo.cpp
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
Re: Compiling with BUILD/compile-pentium64-debug-all fails
In lp:maria/5.1 it fails with:
libtool: link: ccache gcc -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-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/libndbclient.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
../../storage/ndb/src/.libs/libndbclient.a(mgmapi.o): In function `ndb_mgm_get_configuration':
/home/hakan/work/monty_program/maria-5.1/storage/ndb/src/mgmapi/mgmapi.cpp:2179: undefined reference to `base64_needed_decoded_length'
/home/hakan/work/monty_program/maria-5.1/storage/ndb/src/mgmapi/mgmapi.cpp:2180: undefined reference to `base64_decode'
collect2: ld returned 1 exit status
make[4]: *** [mysqltest_embedded] Error 1
In lp:maria/5.3 it fails with:
make[6]: Entering directory `/home/hakan/work/monty_program/maria-5.3/storage/ndb/src/common/debugger/signaldata'
/bin/bash ../../../../../../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/DictTabInfo.Tpo -c -o DictTabInfo.lo DictTabInfo.cpp
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