This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unable to link


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]