I have a debian unstable os with custom-compiled 2.6.9 kernel, when i try to make wine (after a successful configure) i get following output:
make[2]: Entering directory `/home/strazce/wine-20041201/dlls/newdev'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/strazce/wine-20041201/dlls/newdev'
make[2]: Entering directory `/home/strazce/wine-20041201/dlls/ntdll'
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_R EENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gs tabs+ -Wpointer-arith -g -O2 -o cdrom.o cdrom.c
In file included from /usr/include/asm/byteorder.h:57,
from /usr/include/linux/cdrom.h:14,
from cdrom.c:63:
/usr/include/linux/byteorder/little_endian.h:43: error: parse error before "__cp u_to_le64p"
/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le64p':
.....a lot of simillar messages....
/usr/include/linux/byteorder/little_endian.h: In function `__be16_to_cpup':
/usr/include/linux/byteorder/little_endian.h:89: error: `p' undeclared (first us e in this function)
make[2]: *** [cdrom.o] Error 1
make[2]: Leaving directory `/home/strazce/wine-20041201/dlls/ntdll'
make[1]: *** [ntdll] Error 2
make[1]: Leaving directory `/home/strazce/wine-20041201/dlls'
make: *** [dlls] Error 2
Compilation failed, aborting install.
