X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49CD02C1.6000603@gmail.com>
Date: Fri, 27 Mar 2009 16:45:53 +0000
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: [1.7] Unable to find jpeg_CreateDecompress but linked against   cygjpeg-62.dll OK
References: <297343D29C14AA4D822142893ABEAEF306318DFF@srv1163ex1.flightsafety.com> <49CCFD57.8030906@cwilson.fastmail.fm>
In-Reply-To: <49CCFD57.8030906@cwilson.fastmail.fm>
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

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.

    cheers,
      DaveK

--
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/

