public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "\"De Azcárraga, Joaquín\"" <jdu46659@GlaxoWellcome.co.uk>
To: gcc@gcc.gnu.org
Subject: Compiling error
Date: Thu, 11 Dec 2003 17:55:00 -0000	[thread overview]
Message-ID: <D3E20DB41B55D0118E94080009DCBE8707486C04@es1msg01.spain.glaxo> (raw)

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?

             reply	other threads:[~2003-12-11 17:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-11 17:55 "De Azcárraga, Joaquín" [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-11 19:36 Dara Hazeghi
2003-01-07 10:46 Andrew Luande
2003-01-07 11:51 ` Alexandre Oliva
2001-12-05  7:22 Lo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D3E20DB41B55D0118E94080009DCBE8707486C04@es1msg01.spain.glaxo \
    --to=jdu46659@glaxowellcome.co.uk \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).