delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/07/00:24:35

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Mon, 7 Aug 2000 00:23:31 -0400
To: cygwin AT sources DOT redhat DOT com
Cc: corrosion99 AT hotmail DOT com
Subject: Re: dllwrap problem
Message-ID: <20000807002331.A11119@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sources DOT redhat DOT com, corrosion99 AT hotmail DOT com
References: <F107F0koyaDymntjtPI00007248 AT hotmail DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <F107F0koyaDymntjtPI00007248@hotmail.com>; from corrosion99@hotmail.com on Mon, Aug 07, 2000 at 01:42:59PM -0500

--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Aug 07, 2000 at 01:42:59PM -0500, Neil Lunn wrote:
>Don't know if this is related to the 1.1.4 DLL release or not as yet. I just 
>totally cleaned a system and re-installed. It seems I get the same response 
>below from any invocation of dllwrap.
>$ dllwrap --dllname MD5.dll --driver-name gcc --dlltool dlltool 
>--export-all-symbols --as as --output-def libMD5.def --output-lib libMD5.a \
>  -L/usr/local/lib MD5.o md5c.o /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
>dllwrap: no export definition file provided
>dllwrap: creating one, but that may not be what you want
>/usr/bin/ld: warning: cannot find entry symbol __cygwin_dll_entry AT 12; defaulting to 6f081000
>/usr/bin/ld: warning: cannot find entry symbol __cygwin_dll_entry AT 12; defaulting to 6f081000
>/usr/bin/ld: warning: cannot find entry symbol __cygwin_dll_entry AT 12; >efaulting to 6f081000

You're right.  It's a problem in 1.1.4.  I compiled it with the CVS
version of gcc and it didn't create a cygwin_dllentry AT 12.  Instead, the
function name in libcygwin.a is __cygwin_dll_entry__FP11HINSTANCE__UlPv AT 12,
for some reason.

I've included an object file with the correct symbol below.  You should be
able to update your version of libcygwin.a by doing a:

ar cru /usr/lib/libcygwin.a dll_entry.o
ranlib /usr/lib/libcygwin.a

This is fixed in the CVS sources and will be in the next release, of course.
I don't have an estimate for when that will be.

I guess I'd better locate the URL for this message in the archive so that I
can refer to it in the coming days...

cgf

--EeQfGwPcQSOJBaQU
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="dll_entry.o"
Content-Transfer-Encoding: base64

TAEDAAAAAAAsAgAAFQAAAAAABAAudGV4dAAAAAAAAAAAAAAAAAEAAIwAAACMAQAAAAAAABAA
AAAgAADgLmRhdGEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAwC5ic3MAAAAA
QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAMBViw0gAAAAixUQAAAAieWD7AyhAAAA
AFFSUOgAAAAAiexdw422AAAAAI28JwAAAABVieVTg+wEi0UMi00IuwEAAACLVRCD+AF0FnJJ
g/gCdHSD+AMPhHwAAADphgAAAJCJDQAAAACD7Ai4AQAAAGgAAAAAUaMQAAAAiRUgAAAA6AAA
AACjMAAAAIPEEIP4/3VUMdvrUIPsBFJQUegAAAAAWonDhdt0PqEwAAAAg+wMUOgAAAAAuf//
//+DxBCJDTAAAADrIIPsBFJqAlHoAAAAAFqJw+sPg+wEUmoDUegAAAAAicNYidiLXfyJ7F3C
DABVieWD7AiJ7F3pMv///5CQAwAAABAAAAAGAAkAAAAQAAAABgATAAAAEAAAAAYAGwAAABIA
AAAUAGIAAAAQAAAABgBvAAAADAAAAAYAdQAAABAAAAAGAHsAAAAQAAAABgCAAAAAFAAAABQA
hQAAABAAAAAGAJwAAAASAAAAFACoAAAAEAAAAAYAsQAAABMAAAAUAL8AAAAQAAAABgDNAAAA
EgAAABQA3gAAABIAAAAUAC5maWxlAAAAAAAAAP7/AABnAWRsbF9lbnRyeS5jAAAAAAAAAAAA
AAAEAAAAAAAAAAEAAAAGAAAAAAATAAAAAAAAAAEAAAAGAAAAAAAlAAAAAAAAAAEAIAADAQAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAIAAAAAMAAAADAAAAAAA7AAAAEAAAAAMAAAADAAAA
AABJAAAAAAAAAAMAAAADAAAAAABXAAAAMAAAAAEAIAACAAAAAABtAAAAMAAAAAMAAAADAAAA
AAB4AAAA8AAAAAEAIAACAC50ZXh0AAAAAAAAAAEAAAADAf4AAAAQAAAAAAAAAAAAAAAAAC5k
YXRhAAAAAAAAAAIAAAADAQAAAAAAAAAAAAAAAAAAAAAAAC5ic3MAAAAAAAAAAAMAAAADAUAA
AAAAAAAAAAAAAAAAAAAAAAAAAACYAAAAAAAAAAAAAAACAAAAAACkAAAAAAAAAAAAIAACAAAA
AAC3AAAAAAAAAAAAIAACAMoAAABnY2MyX2NvbXBpbGVkLgBfX19nbnVfY29tcGlsZWRfYwBf
X19kbGxNYWluAF9zdG9yZWRQdHIAX3N0b3JlZFJlYXNvbgBfc3RvcmVkSGFuZGxlAF9fY3ln
d2luX2RsbF9lbnRyeUAxMgBfZGxsX2luZGV4AF9fY3lnd2luX25vbmN5Z3dpbl9kbGxfZW50
cnlAMTIAX0RsbE1haW5AMTIAX2N5Z3dpbl9kZXRhY2hfZGxsAF9jeWd3aW5fYXR0YWNoX2Rs
bAA=


--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
--EeQfGwPcQSOJBaQU--

- Raw text -


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