List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:March 24 2003 4:37pm
Subject:Re: building MySQL on Alpha-Dec-OSF4 with gcc
View as plain text  
In the last episode (Mar 24), Ralf Hupfer said:
> I do face problems building MySQL 3.22.32 with gcc 3.2.2 on an Alpha-
> DEC-OSF4 workstation.
> 
> CC="cc -pthread" CXX="cxx -pthread -O" ./configure 
> --with-named-thread-libs="-lpthread -lmach -lexc -lc" --with-low-memory
> 
> Everything run's smoothly, till mysqld is to be build. The linker produces:
> 
> The complete output when linking follows:
> 
> gnumake[3]: Entering directory `/usr/users/hupfer/build/mysql-3.22.32/sql'
> /bin/sh ../libtool --mode=link gcc  -D_LARGEFILE_SOURCE -
> D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -
> DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti  -fno-

This should have read "/bin/sh ../libtool --mode=link cxx".  You can't
link C++ programs with $CC; you need to use $CXX.  It looks like a typo
in one of MySQL's Makefiles.

Also, consider building MySQL 3.23.55 or 4.0.12 instead of 3.22.32.

-- 
	Dan Nelson
	sql,query
	dnelson@stripped
Thread
building MySQL on Alpha-Dec-OSF4 with gccRalf Hupfer24 Mar
  • Re: building MySQL on Alpha-Dec-OSF4 with gccDan Nelson24 Mar
    • Re: building MySQL on Alpha-Dec-OSF4 with gccRalf Hupfer25 Mar
  • building MySQL on Alpha-Dec-OSF4 with gccMichael Widenius27 Mar
Re: building MySQL on Alpha-Dec-OSF4 with gccRalf Hupfer24 Mar