delorie.com/archives/browse.cgi | search |
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: | <002b01c28a8a$89e06660$080a0a0a@mon> |
From: | "Alfred Lam" <alfredlam AT nowmediatech DOT com> |
To: | "Harig, Mark A." <maharig AT idirect DOT net>, <cygwin AT cygwin DOT com> |
References: | <BADF3C947A1BD54FBA75C70C241B0B9E763017 AT ex02 DOT idirect DOT net> |
Subject: | dlltool errors |
Date: | Tue, 12 Nov 2002 12:31:23 -0800 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
------=_NextPart_000_0028_01C28A47.6970B3A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, I'm trying to build a library from a dll and did the steps below: $ ../croxx/pexports-0.42h/bin/pexports.exe scdll32.dll | sed 's/^_//' > scdll32.def $ dlltool --input-def scdll32.def --dllname scdll32.dll --output-lib libscdll32.a and obtained the following errors: dh.s: Assembler messages: dh.s:5: Error: Cannot represent relocation type BFD_RELOC_RVA dh.s:10: Error: Cannot represent relocation type BFD_RELOC_RVA dh.s:11: Error: Cannot represent relocation type BFD_RELOC_RVA dlltool: as exited with status 1 Can anyone tell me what is the error here and how to solve it.. Attached is dh.s and scdll32.def Thanks, Alfred ------=_NextPart_000_0028_01C28A47.6970B3A0 Content-Type: application/octet-stream; name="dh.s" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dh.s" # IMAGE_IMPORT_DESCRIPTOR=0A= .section .idata$2=0A= .global __head_libscdll32_a=0A= __head_libscdll32_a:=0A= .rva hname #Ptr to image import by name list=0A= #this should be the timestamp, but NT sometimes=0A= #doesn't load DLLs when this is set.=0A= .long 0 # loaded time=0A= .long 0 # Forwarder chain=0A= .rva __libscdll32_a_iname # imported dll's name=0A= .rva fthunk # pointer to firstthunk=0A= #Stuff for compatibility=0A= .section .idata$5=0A= .long 0=0A= fthunk:=0A= .section .idata$4=0A= .long 0=0A= .section .idata$4=0A= hname:=0A= ------=_NextPart_000_0028_01C28A47.6970B3A0 Content-Type: application/octet-stream; name="scdll32.def" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="scdll32.def" LIBRARY NETSAPI.dll=0A= EXPORTS=0A= CardPresent=0A= DoneDriver=0A= GetReaderListCount=0A= GetReaderListItem=0A= InitDriver=0A= IsoIn=0A= IsoOut=0A= PowerOffCard=0A= PowerOnCard=0A= ReaderParm=0A= ReaderPresent=0A= ReaderSpeed=0A= ------=_NextPart_000_0028_01C28A47.6970B3A0 Content-Type: text/plain; charset=us-ascii -- 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/ ------=_NextPart_000_0028_01C28A47.6970B3A0--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |