Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2006 17:45:43 +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:  <20060917174543.48bff192@Magellan.Leidinger.net>
In-Reply-To: <46427671@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>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Boris Samorodov <bsam@ipt.ru> (Sun, 17 Sep 2006 17:52:08 +0400):

> And:
> -----
> tinderbox# grep LINUX /sys/amd64/conf/GENERIC
> options         COMPAT_LINUX32          # Compatible with i386 linux binaries
> -----
> 
> Help...!

Ok, add 
#include "opt_compat.h"
like here:
---snip---
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

#include "opt_compat.h"

#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/module.h>
---snip---

to linux_aio.c (you need the patch from the wiki, the patch I did send
to you and the above fix I'm going to commit to p4 now).

Bye,
Alexander.

-- 
hardware stress fractures
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?20060917174543.48bff192>