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: | |
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
[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