Description:
During compiling of mysql-5.1.24rc on FreeBSD7.0 (amd64) with ndbcluster package (--with-ndbcluster) there is the error:
gcc -DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../../../../include -I. -I../../../../../include -I../../../../../storage/ndb/include -I../../../../../include -I../../../../../mysys -I../../../../../storage/ndb/include -I../../../../../storage/ndb/include/util -I../../../../../storage/ndb/include/portlib -I../../../../../storage/ndb/include/logger -O3 -MT NdbHost.lo -MD -MP -MF .deps/NdbHost.Tpo -c NdbHost.c -o NdbHost.o >/dev/null 2>&1
Variable AM_CXXFLAGS is recursive.
*** Error code 1
Stop in /usr/build/mysql-5.1.24-rc/storage/ndb/src/common.
*** Error code 1
Stop in /usr/build/mysql-5.1.24-rc/storage/ndb/src.
*** Error code 1
Stop in /usr/build/mysql-5.1.24-rc/storage/ndb.
*** Error code 1
Stop in /usr/build/mysql-5.1.24-rc/storage.
*** Error code 1
# uname -a
FreeBSD myhost.mydomain 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
# gcc --version
gcc (GCC) 4.3.0 20071026 (experimental)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# objdump -f /usr/bin/gcc
/usr/bin/gcc: file format elf64-x86-64
architecture: i386:x86-64, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x0000000000401a60
# gmake --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for amd64-portbld-freebsd7.0
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I also tried to compile mysql-5.1.24rc (--with-ndbcluster) on freebsd7.0(amd64) with gcc-4.2.1 (of course also 64bit) and the result was the same.
How to repeat:
tar zxf mysql-5.1.24rc.tar.gz
cd mysql-5.1.24.rc
./configure --with-ndbcluster
make
and then will be the error