tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* mysql compile: "ld broken"
@ 1999-10-26  3:34 Ann Cantelow
  0 siblings, 0 replies; only message in thread
From: Ann Cantelow @ 1999-10-26  3:34 UTC (permalink / raw)
  To: tru64-unix-managers


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-10-26  3:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-26  3:34 mysql compile: "ld broken" Ann Cantelow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox