3 messages in com.mysql.lists.mysqlcompiling mysql 3.23.14 on solaris sp...
FromSent OnAttachments
Adam Powell12 Apr 2000 12:23 
Jeremy Cole12 Apr 2000 13:26 
Luke Hollins10 May 2000 11:28 
Subject:compiling mysql 3.23.14 on solaris sparc 2.7
From:Adam Powell (ad@powlex.com)
Date:04/12/2000 12:23:02 PM
List:com.mysql.lists.mysql

Hi! I gave up with the binary installation and am now trying to compile 3.23.14. I have installed egcs1.1.2 successfully, and I am now trying to configure mySQL.

My command line to configure is as follows :

CC=/usr/local/egcs/gcc CFLAGS="-O6 -fomit-frame-pointer" CXX=/usr/local/egcs/gcc

CXXFLAGS="-O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno -rtti" ./configure --prefix=/usr/local/mysql

and I am getting the following error (and I have been RTFM for quite a while now :( ).

checking return type of sprintf... configure: error: can not run test program while cross compiling

does anybody have an idea why this is happening? Any help would be greatly appreciated!

Thanks, Adam