Hi. Has anyone been able to compile MySQL, the latest version, 2.23.27?
I am on version 4.0D and I am stuck on this message:
collect2: ld returned 1 exit status
/usr/bin/ld:
Unresolved:
_exit
There were other problems but I managed to get past them by following the
manual's suggestion to use this config line:
env CC=cc CFLAGS=-I./include CXX=gcc CXXFLAGS=-O3 ./configure --with-low-memory
The mysql manual says about the unresolved _exit problem, that ld is
broken and an older version should be dredged up:
On OSF1 V4.0D and compiler "DEC C V5.6-071 on Digital UNIX V4.0 (Rev.
878)" the compiler had some strange behavior (undefined asm symbols).
/bin/ld also appears to be broken (problems with _exit undefined errors
occuring while linking mysqld). On this system, we have managed to
compile MySQL with the following configure line, after replacing
/bin/ld with the version from OSF 4.0C:
CC=gcc CXX=gcc CXXFLAGS=-O3 ./configure --prefix=/usr/local/mysql
(The above line fails for me on _fflush rather than _exit, however.) Has
anyone found a more workable way to compile this without bring in an old
version of ld?
Many Thanks for any Ideas,
Ann Cantelow
cantelow_at_athena.csdco.com
Received on Tue Oct 26 1999 - 03:36:51 NZDT