delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/02/12:47:05

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Ux3IFaVNpHTEWFJf
nZTjVJJk4g0LFw1y1/M8bQjzoNYws1HEGUQ0OsienUljmJSTRAtJB6fUbgSVLEAB
Gp4/9vjbEO43PtBTy7yxs9WXv6kmSR7FrLyfBD8LsUzB0sNJelnBbFMFOAdyfSEs
YJzBfqsAk096995V6as946fssHY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=/ajJuJvTEsmhSXk4rWbwTi
S2RPk=; b=K9GCn8Gaevf+QmUEKbz6dBWP5rhpQPRaFHo/sW7bn+lQUVIUiDz9f8
gwRDdYI5eIbTzG5djdB7WzWwRO/533P9/SDrg3g4wsdKZCu7NZlBcLDhyXEEcYyB
LtVNphfwLdieRDZ11itN8AxuaIVriccT5D2C2TnkwgYDPEC4Z0DYY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_YG autolearn=no version=3.3.1
Message-id: <515B0B42.4060907@cygwin.com>
Date: Tue, 02 Apr 2013 12:45:54 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: configure error installing atemu: C compiler cannot create executables
References: <CADcTuvqQPJjQbm9UpueCicvbS360LrUr4Q7ALauagU1PF--+_w AT mail DOT gmail DOT com>
In-reply-to: <CADcTuvqQPJjQbm9UpueCicvbS360LrUr4Q7ALauagU1PF--+_w@mail.gmail.com>

On 4/2/2013 12:25 PM, Rimsha Farooqui wrote:
> i'm trying to install atemu on cygwin using the command
>
>   ./configure
>
> however i get the following error
>
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking for C compiler default output file name... configure: error:
> C compiler cannot create executables
> See `config.log' for more details.
>
> the config log is displayed below

<snip>

g for C compiler default output file name
> configure:2149: gcc    conftest.c  >&5
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
> cannot find -luser32
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
> cannot find -lkernel32
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
> cannot find -ladvapi32
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
> cannot find -lshell32
> collect2: ld returned 1 exit status

Notice the complaints of the missing libs above.
<snip>

> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2191: error: C compiler cannot create executables
> See `config.log' for more details.

<snip>

If you search the list of available Cygwin packages for one of the missing
libs above, you'll find them in the mingw-w32api package.

<http://cygwin.com/cgi-bin2/package-grep.cgi?grep=user32>

Install that and try again.  If you still experience problems and need to
follow-up with the list, please read the problem-reporting guidelines
found at the link below, paying particular attention to the part that
mentions *attaching* your cygcheck output.

> Problem reports:       http://cygwin.com/problems.html

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019