What about this?
basetexture.c:275: error: static declaration of ‘IWineD3DBaseTexture_Vtbl’ follows non-static declaration wined3d_private.h:495: error: previous declaration of ‘IWineD3DBaseTexture_Vtbl’ was here make[2]: *** [basetexture.o] Error 1 make[2]: Leaving directory `/home/phantom/src/wine/dlls/wined3d' make[1]: *** [wined3d] Error 2 make[1]: Leaving directory `/home/phantom/src/wine/dlls' make: *** [dlls] Error 2