delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/06/20:56:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3CD72633.2090302@ece.gatech.edu>
Date: Mon, 06 May 2002 20:56:19 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Robert Kroeger <rjkroege AT liqui DOT org>, cygwin AT cygwin DOT com
Subject: Re: dllhelpers-0.4.0 doesn't work for me - any ideas?
References: <LDEAINIKDOCNHJPGDMKAKECFCGAA DOT rjkroege AT liqui DOT org>

Robert Kroeger wrote:

> Cygwin Package Information Package             Version
> ash                 20011018-1

> bash                2.05a-3
> binutils            20011001-1


Umm, there doesn't seem to have been a 20011001-1 version of binutils. 
The most recent official version is "20011002-1"  If this isn't a typo, 
I wonder if you managed to get a buggy package that cgf later 
removed...that's happened a few times, but I don't recall if binutils 
was affected...


> cygutils            1.0.0-1
> cygwin              1.3.10-1
> cygwin-doc          1.0-1
> dllhelpers          0.4.0
> gcc                 2.95.3-5
> libtool             20010531a-1
> libtool-devel       20020202-1
> libtool-stable      1.4.2-2


I assume you also have autoconf, autoconf-stable, autoconf-devel, 
automake, automake-stable, and automake-devel.

> make                3.79.1-6


Two questions:

when you do 'objdump -p libcdll.dll' and look at the "Ordinal/Name 
Pointer Table" section, you should see a number of _nm__* symbols.  Do you?

If you try to link using this command instead:

gcc -shared -Wl,--out-implib=libcdll.dll.a \
-o cygcdll.dll cdll.o  -Wl,--export-all-symbols \
-Wl,--enable-auto-import

does it work?

--Chuck




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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