Date: Sun, 17 Sep 2006 22:07:04 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Boris Samorodov <bsam@ipt.ru> Cc: emulation@freebsd.org Subject: Re: Fix for errno 2 - expected 14 (EFAULT) problems Message-ID: <20060917220704.58ec3963@Magellan.Leidinger.net> In-Reply-To: <49949186@bsam.ru> References: <450C0C0E.8060402@SYSTEM.PL> <20060916171840.5dd744b7@Magellan.Leidinger.net> <26755448@bsam.ru> <20060917131228.42b2cd23@Magellan.Leidinger.net> <60660670@bsam.ru> <46427671@bsam.ru> <20060917180726.75d0a358@Magellan.Leidinger.net> <82100473@bsam.ru> <49949186@bsam.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Boris Samorodov <bsam@ipt.ru> (Sun, 17 Sep 2006 22:42:21 +0400): > On Sun, 17 Sep 2006 22:20:54 +0400 Boris Samorodov wrote: > > On Sun, 17 Sep 2006 18:07:26 +0200 Alexander Leidinger wrote: > > > > ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_aio.c#4 (text+ko) ==== > > > > @@ -25,6 +25,8 @@ > > > #include <sys/cdefs.h> > > > __FBSDID("$FreeBSD$"); > > > > +#include "opt_compat.h" > > > + > > > #include <sys/types.h> > > > #include <sys/param.h> > > > #include <sys/systm.h> > > > This patch did the trick and buildworld went further. But another > > error occures: > > ----- > > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_setup': > > /usr/src/sys/compat/linux/linux_aio.c:501: warning: cast from pointer to integer of different size > > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_destroy': > > /usr/src/sys/compat/linux/linux_aio.c:542: warning: cast from pointer to integer of different size > > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_getevents': > > /usr/src/sys/compat/linux/linux_aio.c:683: warning: cast from pointer to integer of different size > > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_submit': > > /usr/src/sys/compat/linux/linux_aio.c:938: warning: cast from pointer to integer of different size > > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_cancel': > > /usr/src/sys/compat/linux/linux_aio.c:1054: warning: cast from pointer to integer of different size > > *** Error code 1 The code isn't tested on amd64 at all. To be honest, I expected something like this. Sorry that I haven't told you about it. Intron submitted the i386 part, and I just added it to amd64 too. I try to have a look at it in the next days, but I hope Intron comes up with a patch earlier. Bye, Alexander. -- A princess should not be afraid -- not with a brave knight to protect her. -- McCoy, "Shore Leave", stardate 3025.3 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060917220704.58ec3963>