Bug #932 /mysql-4.0.14/isam => undefined reference to ...

Submitted: 26 Jul 2003 15:49 Modified: 29 Jul 2003 12:17
Reporter: Markus Grundmann Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:4.0.13+ OS:FreeBSD (FreeBSD 5.1)
Assigned to: CPU Architecture:Any

[26 Jul 2003 15:49] Markus Grundmann
Description:
The following software are used:
--
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.2 [FreeBSD] 20030205 (release)
--
FreeBSD 5.1

How to repeat:
./configure --enable-assembler --enable-local-infile --enable-thread-safe-client --with-raid --with-embedded-server --with-vio --with-mysqlfs --with-berkeley-db --with-openssl --without-debug --with-pthreads; make

After some minutes of compilation the linking of isam library results in error.
I was unable to complete the installation of MySQL 4.0.13 or above but
an installation over the FreeBSD /usr/ports/ makefile will be successfully.

My problem:
I will not use the Make of the FreeBSD port.

Suggested fix:
???
[26 Jul 2003 15:52] Markus Grundmann
.
.
.
Making all in regex
Making all in isam
/usr/local/bin/bash ../libtool --mode=link gcc  -O3 -DDBUG_OFF    -o isamchk  isamchk.o sort.o libnisam.a ../mysys/libmysys.a  ../dbug/libdbug.a ../strings/libmystrings.a -lz -lcrypt -lm  -pthread
gcc -O3 -DDBUG_OFF -o isamchk isamchk.o sort.o -pthread  libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lcrypt -lm
../mysys/libmysys.a(my_tempnam.o): In function `my_tempnam':
my_tempnam.o(.text+0x40): warning: tempnam() possibly used unsafely; consider using mkstemp()
../mysys/libmysys.a(raid.o): In function `my_raid_create':
raid.o(.text+0x81): undefined reference to `operator new(unsigned)'
raid.o(.text+0xef): undefined reference to `operator delete(void*)'
../mysys/libmysys.a(raid.o): In function `my_raid_open':
raid.o(.text+0x129): undefined reference to `operator new(unsigned)'
raid.o(.text+0x193): undefined reference to `operator delete(void*)'
../mysys/libmysys.a(raid.o): In function `my_raid_close':
raid.o(.text+0x64c): undefined reference to `operator delete(void*)'
*** Error code 1

Stop in /build/mysql-4.0.14/isam.
*** Error code 1

Stop in /build/mysql-4.0.14.
*** Error code 1
[29 Jul 2003 12:17] Indrek Siitan
Make sure you set CXX=gcc, as described in:
http://www.mysql.com/doc/en/FreeBSD.html

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

Page generated in 0.048 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.