From: Antoine Martin <antoine@nagafix.co.uk>
To: User-mode Linux Kernel Development
<user-mode-linux-devel@lists.sourceforge.net>
Subject: [uml-devel] aio vs gentoo headers
Date: Fri, 27 Jul 2007 19:11:07 +0100 [thread overview]
Message-ID: <46AA353B.9090907@nagafix.co.uk> (raw)
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next reply other threads:[~2007-07-27 18:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 18:11 Antoine Martin [this message]
2007-07-27 19:18 ` [uml-devel] aio vs gentoo headers Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46AA353B.9090907@nagafix.co.uk \
--to=antoine@nagafix.co.uk \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox