This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dllhelpers-0.4.0 doesn't work for me - any ideas?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]