![]() |
Wine compile error on fd.h
Slackware 10, kernel 2.6.7
Hi, I get this error when trying to install Wine. Anyone familiar with it that can gimme a hint to fix it? Cheers! ----------------------------------------------------------------------------------------------- OUTPUT: make[2]: Entering directory `/home/rafa/wine-20040813/dlls/winedos' gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o int13.o int13.c In file included from int13.c:34: /usr/include/linux/fd.h:342: error: variable or field `__user' declared void /usr/include/linux/fd.h:342: error: parse error before '*' token /usr/include/linux/fd.h:360: error: parse error before '}' token make[2]: *** [int13.o] Error 1 make[2]: Leaving directory `/home/rafa/wine-20040813/dlls/winedos' make[1]: *** [winedos] Error 2 make[1]: Leaving directory `/home/rafa/wine-20040813/dlls' make: *** [dlls] Error 2 Compilation failed, aborting install. |
GCC had a parse error. Meanning that the c code is invaild. Did you by chance add a patch and/or hand change that file?
Can you post lines 340 - 370 of the int13.c file? Thanks, Andrew |
Actually it's line 340... something from "usr/include/linux/fd.h". The line says
"void __user *data;" I did a search with the error msg "variable or field `__user' declared void" and I found that adding "#include <linux/compiler.h>" to file "fd.h" fixes it, and it does. Now, on to some other probs in another thread. thank you very much NLR! Cheers! metalorn. |
| All times are GMT -5. The time now is 09:09 PM. |