Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "Harig, Mark A." , References: Subject: dlltool errors Date: Tue, 12 Nov 2002 12:31:23 -0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0028_01C28A47.6970B3A0" 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--