mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] linker issue


From: nico
Subject: Re: [Mingw-cross-env-list] linker issue
Date: Sat, 13 Nov 2010 14:39:31 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6

thank you for your answer, and all apologize for the lack of information...

/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.1/../../../../i686-pc-mingw32/bin/ld:
cannot find -lc
collect2: ld returned 1 exit status
This isn't very much information. You didn't even tell us which
library exactly you tried to build, on what system, the complete
configure/make output etc. So unless this is a really trivial
issue, nobody will be able to help you. Also, you didn't tell
us which version of mingw-cross-env you were using (latest
release, latest development version, ...?)
i was trying to compile pcl a library for coroutine (http://www.xmailserver.org/libpcl.html)
and it was with the lastest release of mingw-cross-env
configure/make script is not huge as it only compile 3 files...
so please can you tell me wich library refer -lc? i guess that is libc....
i've tried passing -L/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.1 to the
linker, but no success...
If it's really just that, you should simply remove the "-lc"
option. That linker option is simply not necessary, as _every_
C program is linked to libc automatically.
thank you,
i will try

++
nico
In case this doesn't help, please provide more information.


Greets,
Volker




reply via email to

[Prev in Thread] Current Thread [Next in Thread]