On Sa, 2008-11-29 at 18:53 -0600, Austin English wrote: > > gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ > -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing > -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits > -Wpointer-arith -g -O2 -o serial.o serial.c > > In file included from serial.c:77: > > /usr/include/linux/serial.h:164: error: expected > specifier-qualifier-list before '__u32'
The typedef for __u32, __u64 (and variants) are in <asm/types.h>, which belongs to linux-libc-devel on ubuntu 8.04. There where some changes in the kernel related to this types since april 2008 (include <asm-generic/int-l64.h> or <asm-generic/int-ll64.h>) and there are more changes in current git (2.6.28pre) > What gcc version? Are you on 64-bit Did you update your kernel / the headers? I'm not familar with the kernel, but I tried to compile Wine with a different compiler, which failed about __u64 and I did some research today. -- By by ... Detlef
