Compiling Wine gdi dlls under cygwin

David Fraser davidf at
Tue Sep 3 11:34:38 CDT 2002

I have been trying to compile the wine gdi dll under cygwin. I am using 
the 20020804 snapshot
This is part of an attempt to get native Windows applications to display 
in cygwin's X Windows.
I have seen several posts from Steven Edwards and others about compiling 
wine under cygwin
So far I have managed to link in all required object files, but still 
receive the error below:

fu000001.o(.idata$3+0xc): undefined reference to `libwine_a_iname'
fu000003.o(.idata$3+0xc): undefined reference to `libwine_a_iname'
fu000005.o(.idata$3+0xc): undefined reference to `libwine_a_iname'
fu000007.o(.idata$3+0xc): undefined reference to `libwine_a_iname'
fu000009.o(.idata$3+0xc): undefined reference to `libwine_a_iname'
fu000011.o(.idata$3+0xc): more undefined references to `libwine_a_iname' 

Some other unresolved references are resolved by auto-import 
(wine_main_argc etc) and enable-stdcall-fixup
(_RELAY_DoCallFrom32Regs) but I can't work out where libwine_a_iname 
comes from.
Basically as I only need the gdi dll I have linked in a whole lot of 
object files:
/graphics/*.c, /objects/*.c, /files/*.c, /loader/*.c, /loader/ne/*.c, 
/relay32/*.c, /memory/*.c
/library/ldt.c, /dlls/ntdll/*.c, unicode/*.c, scheduler/*.c, msdos/*.c, 
win32/*.c, misc/*.c, if1632/*.c
as well as everything in dlls/gdi and subdirs.

This is probably a bit ambitious as it's my first attempt at wine 
development, but any advice?

More information about the wine-devel mailing list