X-Spam-Check-By: sourceware.org Message-ID: <20060802042618.42445.qmail@web33804.mail.mud.yahoo.com> Date: Tue, 1 Aug 2006 21:26:18 -0700 (PDT) From: "Frank C." Subject: Re: Help: gcc problem in Cygwin! To: cygwin AT cygwin DOT com In-Reply-To: <44CFF7B1.8060301@cygwin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Larry, Thanks for your quick reply! I installed the latest version of Cygwin, and almost all packages which includes 'binutils' package. I checked and found 'ld' in the path: (1) cygwin\bin\ld.exe (678 kb), and (2) cygwin\usr\i686-pc-cygwin\bin\ld.exe (1 kb). Is this normal? I did a quick search on the list and couldn't find exact answer to my question. Do you have any more thoughts? Thanks! Best, Frank (BTW, I installed Cygwin in this folder: D:\software\cygwin) Error message: -------------------------------------------- /bin/sh ./libtool --mode=link g++ QN_libc.o ... -o libquicknet3.a cygpath: can't convert empty path g++ QN_libc.o ... -o libquicknet3.a.exe /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o) :: undefined reference to '_WinMain AT 16' collect2: ld returned 1 exit status make: *** [libquicknet3.a] Error 1 --- "Larry Hall (Cygwin)" wrote: > Frank C. wrote: > > Dear all, > > > > I've been trying to install a software on Cygwin > under > > Windows XP, but without any success. The steps are > (1) > > './configure', and (2) 'make'. > > > > I had following error message after running > 'make'. > > > > cygpath: can't convert empty path > > > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o) > > :: undefined reference to '_WinMain AT 16' > > collect2: ld returned 1 exit status > > make: *** [libquicknet3.a] Error 1 > > > > > > Can anyone let me know what's wrong here? It seems > > that there is a confusion on which linker to use > for > > gcc, and GNU ld is not on the path. I attach the > > output from './configure' at the end. Do you think > it > > is related to those outputs? If so, how to fix it? > If > > not, what's the cause? > > checking for ld used by GCC... ${CXX} > > checking if the linker (${CXX}) is GNU ld... no > > > > > > Make sure you've installed the 'binutils' package > and that > 'ld' from this package is in your path. If this > doesn't > resolve the problem, then please read and follow the > problem > reporting guidelines found here: > > > Problem reports: > http://cygwin.com/problems.html > > > > -- > Larry Hall > http://www.rfk.com > RFK Partners, Inc. (508) > 893-9779 - RFK Office > 216 Dalton Rd. (508) > 893-9889 - FAX > Holliston, MA 01746 > > -- > Unsubscribe info: > http://cygwin.com/ml/#unsubscribe-simple > Problem reports: > http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/