From: Ann Cantelow <cantelow () athena ! csdco ! com>
To: tru64-unix-managers
Subject: mysql compile: "ld broken"
Date: Tue, 26 Oct 1999 03:34:55 +0000 [thread overview]
Message-ID: <96079079016290.tru64-unix-managers.marc@archive.invalid> (raw)
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@athena.csdco.com
reply other threads:[~1999-10-26 3:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox