From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21827 invoked by alias); 11 Dec 2003 17:39:50 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 21770 invoked from network); 11 Dec 2003 17:39:36 -0000 Received: from unknown (HELO gate1.ggr.co.uk) (193.128.25.13) by sources.redhat.com with SMTP; 11 Dec 2003 17:39:36 -0000 Received: (uucp@localhost) by gate1.ggr.co.uk; Thu, 11 Dec 2003 17:39:18 GMT Received: from uk-stv-mhub1.ggr.co.uk(147.184.2.7) by gb-stv-fw3.ggr.co.uk via smap (V5.5) id xma002879; Thu, 11 Dec 03 17:38:17 GMT Received: from ukz1129.ggr.co.uk (ukz1129.ggr.co.uk [147.184.2.22]) by mailhub.ggr.co.uk; Thu, 11 Dec 2003 17:38:34 GMT Received: from 147.184.5.46 by ukz1128.ggr.co.uk with ESMTP (Tumbleweed SMTP Relay); Thu, 11 Dec 2003 17:38:14 +0100 Received: by ukz792.ggr.co.uk with Internet Mail Service (5.5.2654.89) id ; Thu, 11 Dec 2003 17:38:13 -0000 Message-ID: From: "=?iso-8859-1?Q?=22De_Azc=E1rraga=2C_Joaqu=EDn=22?=" To: gcc@gcc.gnu.org Subject: Compiling error Date: Thu, 11 Dec 2003 17:55:00 -0000 MIME-Version: 1.0 X-WSS-ID: 13C6740C120966-02-01 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-SW-Source: 2003-12/txt/msg00664.txt.bz2 Hi. I'm trying to compile openldap on a sparc/Solaris 8 System with gnu's gcc. First of it I try to configure it: CC="gcc" LIBS="/usr/local/lib/" ./configure --prefix=/export/apache-inst/librerias_ldap But everytime I do it, I get the following error message: configure: error: installation or configuration problem: C compiler cannot create executables. If I look at the config.log file, I get: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:878: checking host system type configure:919: checking target system type configure:959: checking build system type configure:1036: checking for a BSD compatible install configure:1093: checking whether build environment is sane configure:1154: checking for mawk configure:1154: checking for gawk configure:1154: checking for nawk configure:1184: checking whether make sets ${MAKE} configure:1224: checking for working aclocal configure:1237: checking for working autoconf configure:1250: checking for working automake configure:1263: checking for working autoheader configure:1276: checking for working makeinfo configure:1296: checking for gnutar configure:1296: checking for gtar configure:1296: checking for tar configure:1366: checking configure arguments configure:2852: checking for a BSD compatible install configure:3027: checking for ar configure:3077: checking for Cygwin environment configure:3093: gcc -c conftest.c 1>&5 configure: In function `main': configure:3089: error: `__CYGWIN32__' undeclared (first use in this function) configure:3089: error: (Each undeclared identifier is reported only once configure:3089: error: for each function it appears in.) configure: failed program was: #line 3082 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:3109: checking for mingw32 environment configure:3121: gcc -c conftest.c 1>&5 configure: In function `main': configure:3117: error: `__MINGW32__' undeclared (first use in this function) configure:3117: error: (Each undeclared identifier is reported only once configure:3117: error: for each function it appears in.) configure: failed program was: #line 3114 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } configure:3137: checking for EMX OS/2 environment configure:3149: gcc -c conftest.c 1>&5 configure: In function `main': configure:3145: error: `__EMX__' undeclared (first use in this function) configure:3145: error: (Each undeclared identifier is reported only once configure:3145: error: for each function it appears in.) configure: failed program was: #line 3142 "configure" #include "confdefs.h" int main() { return __EMX__; ; return 0; } configure:3165: checking how to run the C preprocessor configure:3186: gcc -E conftest.c >/dev/null 2>conftest.out configure:3270: checking for gcc configure:3383: checking whether the C compiler (gcc ) works configure:3399: gcc -o conftest conftest.c /usr/local/lib/ 1>&5 ld: fatal: file /usr/local/lib/: unknown file type ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 3394 "configure" #include "confdefs.h" main(){return(0);} Can you help me, please?