I tested also with a clean git source. Something wrong with ole32. Code: -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o tmarshal_i.o tmarshal_i.c LD_LIBRARY_PATH="../../../libs/wine:$LD_LIBRARY_PATH" ../../../tools/wrc/wrc --nostdinc --po-dir=../../../po -m32 -I. -I. -I../../../include -I../../../include -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -o tmarshal.res tmarshal.rc ccache gcc -m32 -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -DENTRY_PREFIX=OLEAUTPS_ -DPROXY_DELEGATION -DWINE_REGISTER_DLL -DPROXY_CLSID=CLSID_PSFactoryBuffer -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o oleaut32_ocidl_p.o oleaut32_ocidl_p.c ccache gcc -m32 -m32 -c -I. -I. -I../../../include -I../../../include -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o testlist.o testlist.c ../../../tools/winegcc/winegcc -m32 -B../../../tools/winebuild --sysroot=../../.. -fasynchronous-unwind-tables dispatch.o olefont.o olepicture.o safearray.o tmarshal.o typelib.o usrmarshal.o varformat.o vartest.o vartype.o test_reg_i.o tmarshal_i.o tmarshal.res testlist.o -o oleaut32_test.exe.so ../../../libs/port/libwine_port.a -loleaut32 -lole32 -lrpcrt4 -luser32 -lgdi32 -ladvapi32 -L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib winebuild: vartest.o is an empty file winegcc: ../../../tools/winebuild/winebuild failed make[1]: *** [oleaut32_test.exe.so] Error 2 make[1]: Leaving directory `/wine-git/dlls/oleaut32/tests' make: *** [dlls/oleaut32/tests] Error 2 make: *** Waiting for unfinished jobs.... ccache gcc -m32 -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -DENTRY_PREFIX=OLEAUTPS_ -DPROXY_DELEGATION -DWINE_REGISTER_DLL -DPROXY_CLSID=CLSID_PSFactoryBuffer -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o dlldata.o dlldata.c ../../../tools/make_ctests -o testlist.c atom.c change.c directory.c env.c error.c exception.c file.c generated.c info.c large_int.c om.c path.c pipe.c port.c reg.c rtl.c rtlbitmap.c rtlstr.c string.c time.c ccache gcc -m32 -m32 -c -I. -I. -I../../../include -I../../../include -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o testlist.o testlist.c ../../../tools/winegcc/winegcc -m32 -B../../../tools/winebuild --sysroot=../../.. -fasynchronous-unwind-tables atom.o change.o directory.o env.o error.o exception.o file.o generated.o info.o large_int.o om.o path.o pipe.o port.o reg.o rtl.o rtlbitmap.o rtlstr.o string.o time.o testlist.o -o ntdll_test.exe.so ../../../libs/port/libwine_port.a -luser32 -L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib ../../../tools/winegcc/winegcc -m32 -B../../../tools/winebuild --sysroot=../../.. -fasynchronous-unwind-tables -s -Wb,-F,ntdll_test.exe atom.o change.o directory.o env.o error.o exception.o file.o generated.o info.o large_int.o om.o path.o pipe.o port.o reg.o rtl.o rtlbitmap.o rtlstr.o string.o time.o testlist.o -o ntdll_test-stripped.exe.so ../../../libs/port/libwine_port.a -luser32 -L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib echo "ntdll_test.exe TESTRES \"ntdll_test-stripped.exe.so\"" | LD_LIBRARY_PATH="../../../libs/wine:$LD_LIBRARY_PATH" ../../../tools/wrc/wrc --nostdinc --po-dir=../../../po -m32 -I. -I. -I../../../include -I../../../include -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -o ../../../programs/winetest/ntdll_test.res make[1]: Leaving directory `/wine-git/dlls/ntdll/tests' ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./oleaut32.spec connpt.o dispatch.o hash.o oleaut.o olefont.o olepicture.o olepropframe.o recinfo.o safearray.o tmarshal.o typelib.o typelib2.o usrmarshal.o varformat.o variant.o vartype.o oleaut32_oaidl_p.o oleaut32_ocidl_p.o oleaut32_oaidl_r.res oleaut32_ocidl_r.res oleaut32.res dlldata.o -o oleaut32.dll.so -lcomctl32 -lurlmon -lwindowscodecs -luuid -lole32 -lrpcrt4 -luser32 -lgdi32 -ladvapi32 -Wb,-dcomctl32 -Wb,-durlmon -Wb,-dwindowscodecs ../../libs/port/libwine_port.a -L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./oleaut32.spec connpt.o dispatch.o hash.o oleaut.o olefont.o olepicture.o olepropframe.o recinfo.o safearray.o tmarshal.o typelib.o typelib2.o usrmarshal.o varformat.o variant.o vartype.o oleaut32_oaidl_p.o oleaut32_ocidl_p.o oleaut32_oaidl_r.res oleaut32_ocidl_r.res oleaut32.res dlldata.o -o oleaut32.dll.fake -lcomctl32 -lurlmon -lwindowscodecs -luuid -lole32 -lrpcrt4 -luser32 -lgdi32 -ladvapi32 -Wb,-dcomctl32 -Wb,-durlmon -Wb,-dwindowscodecs ../../libs/port/libwine_port.a -L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib winebuild: oleaut32_ocidl_p.o is an empty file winegcc: ../../tools/winebuild/winebuild failed make[1]: *** [oleaut32.dll.so] Error 2 winebuild: make[1]: oleaut32_ocidl_p.o is an empty file *** Waiting for unfinished jobs.... winegcc: ../../tools/winebuild/winebuild failed make[1]: *** [oleaut32.dll.fake] Error 2 make[1]: Leaving directory `/wine-git/dlls/oleaut32' make: *** [dlls/oleaut32] Error 2