> thanks dimesio for your post !! After renaming asm-generic to asm ,last two warning didn't showed up while executing ./configure compilation ran for a while and showed the following error :- Code: ldt.c: In function ?modify_ldt?: ldt.c:73: error: ?SYS_modify_ldt? undeclared (first use in this function) ldt.c:73: error: (Each undeclared identifier is reported only once ldt.c:73: error: for each function it appears in.) make[1]: *** [ldt.o] Error 1 make[1]: Leaving directory `/home/shishir/wine-1.5.6/libs/wine' make: *** [libs/wine] Error 2 I couldn't figure out cause of this error. can somebody help??