delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/06/13:50:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: [1.7] Unable to find jpeg_CreateDecompress but linked against cygjpeg-62.dll OK
Date: Mon, 6 Apr 2009 12:50:07 -0500
Message-ID: <297343D29C14AA4D822142893ABEAEF30637F1FA@srv1163ex1.flightsafety.com>
In-Reply-To: <49CD02C1.6000603@gmail.com>
References: <297343D29C14AA4D822142893ABEAEF306318DFF AT srv1163ex1 DOT flightsafety DOT com> <49CCFD57 DOT 8030906 AT cwilson DOT fastmail DOT fm> <49CD02C1 DOT 6000603 AT gmail DOT com>
From: "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Dave Korn wrote on Friday, March 27, 2009 11:46 AM:
> Charles Wilson wrote:
>> Thrall, Bryan wrote:
>>> I recently installed 1.7 (C:\cygwin_1.7) alongside 1.5 (C:\cygwin)
on my
>>> workstation, then reconfigured and rebuilt my application (vital),
which
>>> worked just fine under 1.5 but doesn't under 1.7.
>>=20
>>> "Unable to find jpeg_CreateDecompress in cygwin1.dll".
>>                                            ^^^^^^^^^^^
>>=20
>>> and cygjpeg-62.dll is executable and exports jpeg_CreateDecompress
>>> (according to the Depends tool, which also says vital imports that
>>> symbol by name), so I'm at a loss to explain why that symbol isn't
being
>>> found. Perhaps it is a red herring?
>>=20
>> Did you, by chance, compile with gcc-4, and have -lm on your link
>> command? Try either compiling with gcc-3, or remove -lm.
>=20
>   Or -lpthread.  Yep, this is almost certainly the broken import
tables
> problem again.

Yep, updating to Cygwin 1.7.0-45 fixes the problem; I had assumed the
broken import tables problem had to do with gcc4, and just needed to
re-examine with a clear head :)

Thanks,
--=20
Bryan Thrall
FlightSafety International
bryan DOT thrall AT flightsafety DOT com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019