and my jaunty jackalope with 2.6.27-7 generic kernel
MAKE 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’ make[2]: *** [serial.o] Error 1 make[2]: Leaving directory `/home/susan/wine/dlls/ntdll' make[1]: *** [ntdll] Error 2 make[1]: Leaving directory `/home/susan/wine/dlls' make: *** [dlls] Error 2
INSTALL make[2]: Leaving directory `/home/susan/wine/dlls/newdev' make[2]: Entering directory `/home/susan/wine/dlls/ntdll' 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’ make[2]: *** [serial.o] Error 1 make[2]: Leaving directory `/home/susan/wine/dlls/ntdll' make[1]: *** [ntdll/__install__] Error 2 make[1]: Leaving directory `/home/susan/wine/dlls' make: *** [dlls/__install__] Error 2
On Sat, Nov 29, 2008 at 6:50 PM, Susan Cragin susancragin@earthlink.net wrote:
and my jaunty jackalope with 2.6.27-7 generic kernel
MAKE 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' make[2]: *** [serial.o] Error 1 make[2]: Leaving directory `/home/susan/wine/dlls/ntdll' make[1]: *** [ntdll] Error 2 make[1]: Leaving directory `/home/susan/wine/dlls' make: *** [dlls] Error 2
INSTALL make[2]: Leaving directory `/home/susan/wine/dlls/newdev' make[2]: Entering directory `/home/susan/wine/dlls/ntdll' 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' make[2]: *** [serial.o] Error 1 make[2]: Leaving directory `/home/susan/wine/dlls/ntdll' make[1]: *** [ntdll/__install__] Error 2 make[1]: Leaving directory `/home/susan/wine/dlls' make: *** [dlls/__install__] Error 2
What gcc version? Are you on 64-bit?
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.