X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A82E3ED.9020406@gmail.com>
Date: Wed, 12 Aug 2009 16:46:53 +0100
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Unable to link
References: <4A82DC03.7040800@gmail.com>
In-Reply-To: <4A82DC03.7040800@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

