LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-31-2004, 09:17 PM   #1
mixtr
Member
 
Registered: Jul 2004
Location: Ottawa
Distribution: Arch, OpenBSD
Posts: 123

Rep: Reputation: 17
Error in fd.h when compiling winex


I went to LinuxHalfLife and I'm following all the instructions to run Half-Life. I got the last cvs of winex from Transgaming but 'make' return this error:

In file included from int13.c:11:
/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[3]: *** [int13.o] Error 1
make[3]: Leaving directory `/usr/src/winex/msdos'
make[2]: *** [../../msdos/msdos.o] Error 2
make[2]: Leaving directory `/usr/src/winex/dlls/ntdll'
make[1]: *** [ntdll/libntdll.so] Error 2
make[1]: Leaving directory `/usr/src/winex/dlls'
make: *** [dlls] Error 2

I remember having an error similar a while way back and I just don't remember what to do, or what I did, to make it work or workaround.
Any help would be appreciated.
 
Old 07-31-2004, 10:19 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
yea those new user space kernel headers everyone was raving about aren't turning out to be so great yet are they.

the only think i can think to do and this sounds like such a slack solution mainly cause i don't fully understand the ramifications of doing this is to temporarily (or permanently) alter the headers to be like the old ones.....

i don't know if this is going to clash with glibc or not ???????
i bet not cause it seems like the compiler doesn't get it ??
so i wonder what glibc was compiled against anyway ??????

just change
/usr/include/linux/fd.h line 342
by commenting out the offending line
and putting
Code:
	void *data;
instead

I think the distributions that have adopted the new heades have jumped the gun a bit.
 
Old 08-19-2004, 11:04 PM   #3
chessforce
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
I tried replacing
Code:
void
with
Code:
struct
and it worked.
 
  


Reply



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
Compiling winex JackieBrown Debian 3 10-14-2005 07:35 AM
error compiling WineX from CVS whschimmel Linux - Software 9 03-13-2005 02:25 PM
Winex CVS compiling error sevenn Linux - Games 3 10-03-2004 04:52 PM
Probleme compiling Winex Narcose Linux - Software 2 08-14-2003 09:45 AM
WineX compiling problem.. Glockage Linux - Software 1 06-02-2002 08:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:19 PM.

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