X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
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@srv1163ex1.flightsafety.com> <49CCFD57.8030906@cwilson.fastmail.fm> <49CD02C1.6000603@gmail.com>
From: "Thrall, Bryan" <bryan.thrall@flightsafety.com>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

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.thrall@flightsafety.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/

