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]

dlltool errors


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

Attachment: dh.s
Description: Binary data

Attachment: scdll32.def
Description: Binary data

--
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]