Bug #36684 compiling problem

Submitted: 13 May 2008 10:10 Modified: 16 May 2008 17:45
Reporter: vladimir kozhukalov Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.1.24rc OS:FreeBSD (7.0 amd64)
Assigned to: CPU Architecture:Any
Tags: 64, AM_CXXFLAGS, freebsd

[13 May 2008 10:10] vladimir kozhukalov
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
[13 May 2008 12:19] Susanne Ebrecht
Many thanks for writing a bug report.

MySQL don't support BSD make, please try Gnu make here and let us know, if this will solve your problem.
[16 May 2008 17:37] vladimir kozhukalov
Thanks very much. That was my fault that I tried to compile mysql with using BSD make. Compiling with GNU make was correct without any errors. I'll be aware of that for future.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.062 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.