delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <31700534.post@talk.nabble.com> |
Date: | Wed, 25 May 2011 09:20:12 -0700 (PDT) |
From: | LMHmedchem2 <lmh_users-groups AT molconn DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | can't compile under cygwin anymore, /usr/bin/ld: cannot find crt2.o etc |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
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 |
I have been compiling software under gcc3.4 under cygwin for some time now. I was having an issue, so I decided to re-install gcc in cygwin. All I did was select the three gcc packages for re-install. After the re-install, I am getting the following errors from the linker, /usr/bin/ld: cannot find crt2.o: No such file or directory /usr/bin/ld: cannot find -lmingw32 /usr/bin/ld: cannot find -lmoldname /usr/bin/ld: cannot find -lmingwex /usr/bin/ld: cannot find -lmsvcrt /usr/bin/ld: cannot find -lmingw32 /usr/bin/ld: cannot find -lmingw32 /usr/bin/ld: cannot find -lmoldname /usr/bin/ld: cannot find -lmingwex /usr/bin/ld: cannot find -lmsvcrt It's like the linker can't find the libraries anymore. I haven't changed my make, or anything else. I had this happen yesterday on another computer where all I did was to update cygwin in the normal fashion. I have the following packages installed, binutils 2.20.51-2 gcc-core 3.4.4-3 gcc-g++ 3.4.4-3 gcc-g77 3.4.4-3 gcc-mingw-core 20050522-3 gcc-mingw-g++ 20050522-3 gcc-mingw-g77 20050522-3 libgcc1 4.3.4-4 libstdc++6 4.3.4-4 libstdc++6-devel 4.3.4-4 mingw-runtime 3.18-1 make Do you see anything that I'm missing. The cygwin package manager is pretty good, so I would be surprised if a re-install removed some required dependency, but anything is possible I guess. I would guess that it is more likely that the problem is having the version 4 libs, which may not be compatible with gcc3. The only options are 4.3.4 or 4.3.3. I will check an older machine and see if I can figure out what is different. LMHmedchem -- View this message in context: http://old.nabble.com/can%27t-compile-under-cygwin-anymore%2C--usr-bin-ld%3A-cannot-find-crt2.o-etc-tp31700534p31700534.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |