This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Unable to link
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 12 Aug 2009 16:46:53 +0100
- Subject: Re: Unable to link
- References: <4A82DC03.7040800@gmail.com>
Javier Sedano wrote:
> /home/jsedano/prj/uc3m/ao/Labs_J/LibAO/testBypass.c:26: undefined
> reference to `_testBP_1'
> /home/jsedano/prj/uc3m/ao/Labs_J/LibAO/testBypass.c:26: undefined
> reference to `___aoAsBypassCall'
> jsedano@ender:~/prj/uc3m/ao/Labs_J/LibAO> nm libao-g.a | grep _testBP_1
> jsedano@ender:~/prj/uc3m/ao/Labs_J/LibAO> nm libao-g.a | grep testBP_1
> 00000166 T testBP_1
You're trying to use a library binary that was originally compiled on Linux,
aren't you? That can't work, sorry; you need to recompile the library from
source on Cygwin.
cheers,
DaveK
--
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