Mail Archives: cygwin/2006/08/02/00:26:38
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)"
<reply-to-list-only-lh AT cygwin DOT com> 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/
- Raw text -