[prev in list] [next in list] [prev in thread] [next in thread]
List: mingw-users
Subject: Re: [Mingw-users] error regarding ld.exe and gcc
From: "=?gb2312?B?zfW2q77Z?=" <shuwei1204 () 163 ! com>
Date: 2010-09-29 8:41:14
Message-ID: 4CA2FBB0.62675B.24224 () m50-132 ! 163 ! com
[Download RAW message or body]
ameet chaudhari
======== 2010-09-29 01:43:16 ========
I've set up mingw and msys on Windows 7 in: C:\msys\mingw.
While installing libjpeg, the command ./configure --prefix=/usr/local \
--enable-share shows error:
configure: error: C compiler cannot create executables
See 'config.log' for more details.
Excerpts from config.log are as follows:
... ... ...
configure:3372: checking whether the C compiler works
configure:3394: gcc conftest.c >&5
c:/msys/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: reopening \
a.exe: Permission denied
c:/msys/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: final link \
failed: Permission denied
collect2: ld returned 1 exit status
configure:3398: $? = 1
configure:3436: result: no
... ... ...
What is going wrong.. pls help.
Note: This error is only with libjpeg, other stuff like libtiff, Freetype etc. have \
no issues running their configure.
Regards, Ameet.
= = = = = = = = = = = = = = = = = = = = = =
I think you should start msys console with administrator's authorities
Win 7 always denies write on disk C in normal situation.
That's OK
DJ.Wang
shuwei1204@163.com
2010-09-29
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may \
cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic