Error using dlltool

Fabrício Godoy skarllot at gmail.com
Sat May 16 18:03:49 UTC 2009


Hi,

The below command worked well, thank you.
$ i686-pc-mingw32-dlltool -k -l libiphlpapi2.a --def iphlpapi.def

Can I do this on "Makefile.am"?

Thank you again.

2009/5/16 Erik van Pienbroek <erik at vanpienbroek.nl>

> 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
>
>
> _______________________________________________
> fedora-mingw mailing list
> fedora-mingw at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/mingw/attachments/20090516/75983616/attachment.html 


More information about the mingw mailing list