This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: [1.7] Unable to find jpeg_CreateDecompress but linked against cygjpeg-62.dll OK
- From: "Thrall, Bryan" <bryan dot thrall at flightsafety dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 6 Apr 2009 12:50:07 -0500
- Subject: RE: [1.7] Unable to find jpeg_CreateDecompress but linked against cygjpeg-62.dll OK
- References: <297343D29C14AA4D822142893ABEAEF306318DFF@srv1163ex1.flightsafety.com> <49CCFD57.8030906@cwilson.fastmail.fm> <49CD02C1.6000603@gmail.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.
>>
>>> "Unable to find jpeg_CreateDecompress in cygwin1.dll".
>> ^^^^^^^^^^^
>>
>>> 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?
>>
>> Did you, by chance, compile with gcc-4, and have -lm on your link
>> command? Try either compiling with gcc-3, or remove -lm.
>
> 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,
--
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/