From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5112 invoked by alias); 18 Jun 2002 15:14:52 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 5104 invoked from network); 18 Jun 2002 15:14:48 -0000 Received: from unknown (HELO mail.empirecorp.org) (12.107.134.7) by sources.redhat.com with SMTP; 18 Jun 2002 15:14:48 -0000 Received: from mail pickup service by mail.empirecorp.org with Microsoft SMTPSVC; Tue, 18 Jun 2002 11:14:47 -0400 Received: from norkova.empirecorp.org ([10.5.0.60]) by mail.empirecorp.org with Microsoft SMTPSVC(5.0.2195.4905); Tue, 18 Jun 2002 11:14:44 -0400 Received: by mail.empirecorp.org with Internet Mail Service (5.5.2653.19) id ; Tue, 18 Jun 2002 11:14:44 -0400 Content-Transfer-Encoding: 7bit Message-ID: <6A0F951DBB1DD611A90600805F9F5455CA137A@mail.empirecorp.org> From: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: Subject: configure: error can not run test programs while cross compiling Date: Tue, 18 Jun 2002 08:14:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-OriginalArrivalTime: 18 Jun 2002 15:14:44.0806 (UTC) FILETIME=[E0AF4660:01C216DA] X-SW-Source: 2002-06/txt/msg00156.txt.bz2 Platform Solaris 2.8 x86 I compiled gcc 3.0.3 with CONFIG_SHELL=/bin/ksh --with-gnu-as --with-gnu-ld --target=i386-pc-solaris2.8 After it was done, I was able to configure and compile perl 5.6.1 without any problem. Now I am trying to configure mysql 3.23.45 but keep getting "checking for return type of sprintf... configure: error can not run test programs while cross compiling". According to http://www.mysql.com/doc/S/o/Solaris.html : If you get the following error from configure: checking for restartable system calls... configure: error can not run test programs while cross compiling This means that you have something wrong with your compiler installation! Is there something wrong with the installation of my compiler ? How can I fix it ? I would like to configure mysql 3.23.45 without a problem. -Thanks Stephen More