delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/23/22:16:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AE4E232.3D94C1D9@ece.gatech.edu>
Date: Mon, 23 Apr 2001 22:17:22 -0400
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: gerrit DOT haase AT t-online DOT de
CC: cygwin AT cygwin DOT com
Subject: Re: gs.exe
References: <3AE4A5DA DOT 31184 DOT 7210248E AT localhost>

You need to either recompile gs.exe against the cygwin libpng-1.0.9-3
package, or revert back to the cygwin libpng-1.0.8-2 package.  This is
(unfortunately) an unfixable problem w.r.t. cygwin and some decisions
made by the libpng-developers team.  (Not their fault, really -- they
made some choices that (a) agreed with what msvc was doing by default,
but (b) disagreed with what gcc-cygwin was doing by default.  Naturally,
they chose to follow the behavior of the more widely used development
toolchain)

(Actually, closer inspection of the gs.exe binary indicates that it was
built against a cygwin libpng package that's even older than 1.0.8-2,
because it expects the png_init_io symbol at ordinal # 169 (cygwin-gcc
automatic assignment when I built the old version of libpng for
cygwin).  1.0.8-2 exports that symbol at # 170 (cygwin-gcc automatic
assignment when I built libpng-1.0.8 for cygwin).  However, the .def
file in 1.0.9-3 explicitly exports that symbol at #171.

(You can check all this yourself using: 'objdump --all-headers gs.exe |
grep png_init_io' -- but remember to add one to numbers reported by
objdump.  Objdump uses 0-based numbering, whereas the .def files use
1-based numbering -- as if things weren't confusion enough.)

See:
http://sources.redhat.com/ml/cygwin/2001-02/msg00193.html

--Chuck

"Gerrit P. Haase" wrote:
> 
> Hi cygwinners,
> 
> i got an error when starting gs.exe.
> 
> Procedure entry point "png_init_io" couldn't be found
> in cygpng2.dll is the win popup saying.
> 
> Someone else got the same behaviour?
> 
> Gerrit
> 
> --
> =^..^= gerrit DOT haase AT t-online DOT de
> PGP-Key: 0x28A05137 [875C 745E 01CF 8A34 2767  BE39 305E 5261 28A0 5137]
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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