Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-02-2004, 03:25 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
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?



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.
Old 09-02-2004, 03:50 PM   #2
Registered: Jun 2004
Posts: 103

Rep: Reputation: 15
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?


Last edited by NLR; 09-02-2004 at 03:51 PM.
Old 09-02-2004, 07:06 PM   #3
LQ Newbie
Registered: Aug 2004
Posts: 2

Original Poster
Rep: Reputation: 0
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!




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble running wine from src wine:error while loading shared libraries: brynjarh Linux - Newbie 2 05-28-2013 10:59 AM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 08:16 PM
Cannot compile wine from source wampfler Fedora 7 11-20-2003 05:05 PM
wine installation error during compile process. Please help. TRON2 Linux - Software 1 11-02-2003 03:11 AM
Wine compile problem. AlfaGTV Slackware 10 07-28-2003 01:01 PM

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration