X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=jj5wJpsnsslEx+wEMnEr+hFeztriG 7p4aVVrhJi0C2dTNkLyrrxfo0/KqF+NIPHtOrG3GXQOo2KbPukaho88+LWk1YGrZ ZVG8TS+Oj3HXrqDBvu1l7P5fbLxuvFc0EhlFGoBrwKNfvnRqEI89wxzcXNX5XyUn SImZiGOdwYlXQs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=c6gDQDLeKOeJPyMaO12knJErkPU=; b=DB+ oJXP6550pCRS3n86b30cHTri9pafgPKVKE4YNtw+z+XLMTqc2h77Rcw7NKi3youp 3CteH2ya41iiuRq6pVYrIwpRqbI1JcmXHJNC2F0Q4BvAJic/dzsH+vtffYAzEXw5 Pe0JtNUTJMcleqZZoFTZd8OHKps8QJdPIdhOtKg4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.1 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,MIME_BASE64_BLANKS autolearn=no version=3.3.2 X-HELO: carsmail2.cars.aps.anl.gov From: Mark Rivers To: "'cygwin AT cygwin DOT com'" Subject: RE: Problem linking with an import library (.lib) file: Date: Fri, 15 May 2015 20:08:06 +0000 Message-ID: <70AE7462E7AD054C89DCBA45343D499A6586602D@CARSMAIL2.CARS.APS.ANL.GOV> References: <70AE7462E7AD054C89DCBA45343D499A65860E12 AT CARSMAIL2 DOT CARS DOT APS DOT ANL DOT GOV> <70AE7462E7AD054C89DCBA45343D499A65860EBD AT CARSMAIL2 DOT CARS DOT APS DOT ANL DOT GOV> <70AE7462E7AD054C89DCBA45343D499A65861B29 AT CARSMAIL2 DOT CARS DOT APS DOT ANL DOT GOV> In-Reply-To: <70AE7462E7AD054C89DCBA45343D499A65861B29@CARSMAIL2.CARS.APS.ANL.GOV> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t4FK8Pki030694 Jon Y wrote: > Try using gendef to generate a def file from the DLL and use dlltool to > generate an import library from the new def file. Unfortunately the dll is stripped, so this does not work: $ nm plxapi631.dll nm: plxapi631.dll: no symbols I know that this specific .lib file has worked in the past to link with Cygwin. Unfortunately it is quite difficult to "roll back" with Cygwin to figure out in which version it last worked. Thanks, Mark