[Bug 2289] Problem compiling wine 20040615

Wine Bugs wine-bugs at winehq.org
Wed Sep 8 02:03:20 CDT 2004


http://bugs.winehq.org/show_bug.cgi?id=2289





------- Additional Comments From davidjnice at btinternet.com  2004-08-09 02:03 -------
I belive that this bug is the same as BUG2354.  I 'worked around' this error and
Rein Klazes has written a patch to be tested. (See Below).

FROM 2354:

The line 342 of /usr/include/linux/fd.h has been updated as shown at
http://www.linuxhq.com/kernel/v2.6/7/include/linux/fd.h.

The line -   void *data;
is now   +   void __user *data;
        
I made a backup of /usr/include/linux/fd.h and then edited the line to show
'void *data; and saved the file.  Now when I run ./wineinstall it completes
sucessfully and I can run exe files when I need to.


------- Additional Comment #3 From Rein Klazes 2004-09-04 10:06 -------

Does this patch help (with original fd.h) ?

--- wine/dlls/winedos/int13.c   2004-08-18 15:25:52.000000000 +0200
+++ mywine/dlls/winedos/int13.c 2004-09-04 17:02:08.000000000 +0200
@@ -31,6 +31,9 @@
 #endif
 #include <fcntl.h>
 #ifdef linux
+#ifndef __user
+#define __user
+#endif
 # include <linux/fd.h>
 #endif

I'm quite new to Bugzilla & Wine so I'm afraid I'm not sure how/who should close
bugs (if they do need closing at all), but I hope this is helpful...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list