Error using dlltool
Erik van Pienbroek
erik at vanpienbroek.nl
Sat May 16 16:59:14 UTC 2009
Op zaterdag 16-05-2009 om 13:44 uur [tijdzone -0300], schreef Fabrício
Godoy:
> Hi,
>
> I'm trying use dlltool but I get following error:
>
> $ /usr/i686-pc-mingw32/bin/dlltool --as=as -k -l libiphlpapi2.a --def
> iphlpapi.def
> dpnvh.s: Assembler messages:
> dpnvh.s:5: Error: cannot represent relocation type BFD_RELOC_RVA
> dpnvh.s:10: Error: cannot represent relocation type BFD_RELOC_RVA
> dpnvh.s:11: Error: cannot represent relocation type BFD_RELOC_RVA
> /usr/i686-pc-mingw32/bin/dlltool: as exited with status 1
Shouldn't the command be something like this?
$ i686-pc-mingw32-dlltool --as=i686-pc-mingw32-as -k -l libiphlpapi2.a
--def iphlpapi.def
Regards,
Erik van Pienbroek
More information about the mingw
mailing list