From: Michael Widenius Date: March 18 1999 8:13pm Subject: compile error mysql 3.22.20a on solaris 2.6 List-Archive: http://lists.mysql.com/mysql/524 Message-Id: <14065.23948.947920.591318@monty.pp.sci.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! >>>>> "Martin" == Martin B Jespersen writes: Martin> Hi, Martin> I'm trying to compile MySQL 3.2.20a on solaris 2.6 with egcs 1.1.2, and it fails :( I just compiled MySQL 3.22.20a on Solaris 2.7 with egcs 1.1.12 without any problems! (I am currently running the MySQL benchmarks to test that egcs 1.1.2 works properly) The optimal link line is: CFLAGS="-O6 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql Martin> #./configure --prefix=/usr/local/mysql --enable-thread-safe-client --enable-assembler --with-mysqld-user=root --without-debug Martin> --with-charset=danish --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static The problem is that on Solaris, you can't compile MySQL staticly as there is no static version of the thread libraries. Regards, Monty