From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079079016290.tru64-unix-managers.marc@archive.invalid> From: Ann Cantelow Date: Tue, 26 Oct 1999 03:34:55 +0000 To: tru64-unix-managers Subject: mysql compile: "ld broken" X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079079016290 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