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 themselves 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' follow
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?
--- David Fraser davidf@sjsoft.com wrote:
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 themselves 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' follow
Running WINE on Cygwin has kind of been a side project for me so I never reported this problem to the list. I had the same problem a while back and havent had the time to look at it more. If you can make it work I would like to play around with it a little more.
Steven
__________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com