X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49CCFD57.8030906@cwilson.fastmail.fm>
Date: Fri, 27 Mar 2009 12:22:47 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
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>
In-Reply-To: <297343D29C14AA4D822142893ABEAEF306318DFF@srv1163ex1.flightsafety.com>
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

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.

--
Chuck


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

