configure error installing atemu: C compiler cannot create executables
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Tue Apr 2 16:46:00 GMT 2013
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
More information about the Cygwin
mailing list