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
[EMAIL PROTECTED]
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]