This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C compiler cannot create executables


Hi Max,

I have tried to delete the extra cygwin1.dll from the
system, still it is shows the same problem, C compiler
unable to create binaries.

I am attaching the config.log file below

This file contains any messages produced by compilers
while
running configure, to aid debugging if configure makes
a mistake.

configure:566: checking for a BSD compatible install
configure:622: checking whether build environment is
sane
configure:679: checking whether make sets ${MAKE}
configure:725: checking for working aclocal
configure:738: checking for working autoconf
configure:751: checking for working automake
configure:764: checking for working autoheader
configure:777: checking for working makeinfo
configure:858: checking for gcc
configure:971: checking whether the C compiler (gcc  )
works
configure:987: gcc -o conftest    conftest.c  1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -luser32
collect2: ld returned 1 exit status
configure: failed program was:

#line 982 "configure"
#include "confdefs.h"

main(){return(0);}

can any help me out with this.

piyush

--- Max Bowsher <maxb@ukf.net> wrote:
> Piyush Kacha wrote:
> > I am not able to find anything pls anyone help me
> out
> >
> > this is the o/p of cygcheck -svr
> ...
> >   883k 2002/07/06 .\cygwin1.dll - os=4.0 img=1.0
> sys=4.0
> ...
> >   883k 2002/07/06 .\cygwin1.dll - os=4.0 img=1.0
> sys=4.0
> 
> I don't know why cygcheck isn't printing path
> information, only '.\' instead,
> but 2 copies of cygwin1.dll on a system are a
> _seriously_ bad idea. Since
> cygcheck didn't give you paths to each of the DLLs,
> use Windows file search to
> locate the one not in the cygwin /bin directory and
> remove it.
> 
> There was no other problem that I could spot in the
> cygcheck, so please post the
> config.log file I asked for, if removing the extra
> cygwin1.dll does not solve
> the problem.
> 
> >> The file config.log (created by configure) will
> >> contain more detailed error
> >> messages. Look at that, and if the problem isn't
> >> obvious, post it to the list.
> 
> Max.
> 


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]