dlltool errors

Alfred Lam alfredlam@nowmediatech.com
Mon Nov 11 22:25:00 GMT 2002


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dh.s
Type: application/octet-stream
Size: 479 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20021111/7268868a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scdll32.def
Type: application/octet-stream
Size: 175 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20021111/7268868a/attachment-0001.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list