I needed the tiny change below to be able to build on amd64 with gentoo 
kernel headers. posted here just in case it's useful, I can compile both 
x86 and amd64 kernels using these headers but not cross compile (make 
ARCH=um SUBARCH=i386)
That still fails with:
arch/um/sys-i386/user-offsets.c: In function 'foo':
arch/um/sys-i386/user-offsets.c:52: error: invalid application of 
'sizeof' to incomplete type 'struct user_fxsr_struct'
make[1]: *** [arch/um/sys-i386/user-offsets.s] Error 1
make: *** [arch/um/sys-i386/user-offsets.s] Error 2



--- 2.6.22.1-old/arch/um/os-Linux/aio    2007-07-27 18:14:43.000000000 +0100
+++ new/arch/um/os-Linux/aio.c    2007-07-27 18:14:24.000000000 +0100
@@ -76,7 +76,8 @@
                                 .aio_nbytes     = len,
                                 .aio_offset     = offset,
                                 .aio_reserved1  = 0,
-                               .aio_reserved2  = 0 });
+                               .aio_reserved2  = 0,
+                               .aio_reserved3  = 0 });

         switch(type){
         case AIO_READ:

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to