Setupapi and Mingw

Dmitry Timoshkov dmitry at baikal.ru
Sat Feb 22 05:20:16 CST 2003


"Steven Edwards" <steven_ed4153 at yahoo.com> wrote:

> Now that ReactOS is having some luck loading device drivers we are going to need a easy way to
> load inf scripts for the registry information. I have been testing building setupapi under mingw
> and am getting the following error.
> 
> Info: resolving _wine_ldt_copy by linking to __imp__wine_ldt_copy (auto-import)
> fu000001.o(.idata$3+0xc): undefined reference to `libwine_a_iname'
> nmth000000.o(.idata$4+0x0): undefined reference to `_nm__wine_ldt_copy'
> E:\users\steven\mingw\bin\dllwrap.exe: E:\users\steven\mingw\bin\gcc exited with status 1
> make: *** [setupapi.dll] Error 1
> 
> I have been looking at Jeroen Janssen's wine_ldt_copy importing on cygwin patch but havent had any
> luck. Anyone have any ideas?

The message above is caused by a dllwrap bug while creating libwine.dll with
--export-all switch. My patch (still not applied) "Fix some problems found while
compiling and linking Wine under Cygwin" from 5 Feb 2003 should fix this.

-- 
Dmitry.






More information about the wine-devel mailing list