Every time I try to cross-compile in Ubuntu Maverick I get a different result! Something is obviously broken and I doubt it's Wine, but it is a bloody nuisance. Code: ccache arm-linux-gnueabi-gcc -c -I/home/test/wine-git/dlls/winex11.drv -I. -I/home/test/wine-git/include -I../../include -I/usr/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strength-reduce -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -Wlogical-op -g -O0 -o x11drv_main.o /home/test/wine-git/dlls/winex11.drv/x11drv_main.c /home/test/wine-git/dlls/winex11.drv/x11drv_main.c: In function ?process_attach?: /home/test/wine-git/dlls/winex11.drv/x11drv_main.c:534:33: error: ?SONAME_LIBX11? undeclared (first use in this function) /home/test/wine-git/dlls/winex11.drv/x11drv_main.c:534:33: note: each undeclared identifier is reported only once for each function it appears in make: *** [x11drv_main.o] Error 1 At the moment, I seem to be getting a consistent failure, as above.