well i guess i had gcc.i686 installed i removed it and installed the right one and it compiled however i am getting this error after i type make make[2]: Entering directory `/home/yianni/wine-1.0-rc3/dlls/wineesd.drv' ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./wineesd.drv.spec esound.o audio.o -o wineesd.drv.so -ldxguid -luuid -lwinmm -luser32 -lkernel32 -lesd -laudiofile -lm ../../libs/port/libwine_port.a /usr/bin/ld: skipping incompatible /usr/lib64/libaudiofile.so when searching for -laudiofile /usr/bin/ld: cannot find -laudiofile collect2: ld returned 1 exit status winegcc: gcc failed make[2]: *** [wineesd.drv.so] Error 2 make[2]: Leaving directory `/home/yianni/wine-1.0-rc3/dlls/wineesd.drv' make[1]: *** [wineesd.drv] Error 2 make[1]: Leaving directory `/home/yianni/wine-1.0-rc3/dlls' make: *** [dlls] Error 2