From: Robert Wirth Date: March 24 1999 11:18am Subject: Problems while pre-compilation configureing List-Archive: http://lists.mysql.com/mysql/886 Message-Id: <199903241119.MAA09888@corp-200.dfki.uni-sb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hello! This affects mysql version with root directory name 'mysql-3.22.15-gamma'. While executing ./configure --prefix=/opt/MySQL --enable-shared --disable-static on AND for a Solaris 2.5 (Sparc) system with gcc 2.8.1 and c++ 2.8.1.1, both known as working well, the following error occurs, and the program exits: ... checking Solaris threads... yes checking named thread libs:... -lpthread -lthread checking for strtok_r in -lpthread... yes checking for strtok_r... yes checking for dlopen in -ldl... yes checking for restartable system calls... configure: error: can not run test program while cross compiling The compilers seem to be identified well: ... checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... yes checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking how to run the C preprocessor... gcc -E ... On the same system, a lot of software (X11, Perl, Python, emacs etc.) was yet built without any problem... Could you give me a hint? Yours sincerely, Robert Wirth - -- - -------------------------------------------------------- ++ German Research Center for Artificial Intelligence ++ ++ I N F R A - S T R U C T U R E - G R O U P ++ - -------------------------------------------------------- DFKI GmbH, ISG, Stuhlsatzenhausweg 3, 66123 Saarbruecken Tel.: +49-681-302-5572 or -5514, Fax: +49-681-302-5341 : http://www.dfki.de/isg/ email: isg-sb@stripped - -------------------------------------------------------- ------- End of Forwarded Message