From owner-freebsd-current  Fri Apr 10 11:30:35 1998
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id LAA00699
          for freebsd-current-outgoing; Fri, 10 Apr 1998 11:30:35 -0700 (PDT)
          (envelope-from owner-freebsd-current@FreeBSD.ORG)
Received: from shell3.ba.best.com (root@shell3.ba.best.com [206.184.139.134])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA00673;
          Fri, 10 Apr 1998 11:30:32 -0700 (PDT)
          (envelope-from schrade@schrade.com)
Received: from localhost (schrade@localhost [127.0.0.1]) by shell3.ba.best.com (8.8.8/8.8.BEST) with SMTP id LAA16591; Fri, 10 Apr 1998 11:29:25 -0700 (PDT)
Date: Fri, 10 Apr 1998 11:29:23 -0700 (PDT)
From: Ken Krebs <schrade@schrade.com>
To: Stephen Hocking-Senior Programmer PGS Tensor Perth <shocking@prth.pgs.com>
cc: current@FreeBSD.ORG, multimedia@FreeBSD.ORG
Subject: Re: Patches to Linux emulator enc.
In-Reply-To: <199804100646.OAA27390@ariadne.tensor.pgs.com>
Message-ID: <Pine.BSF.3.96.980410112747.15208A-100000@shell3.ba.best.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-current@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

On Fri, 10 Apr 1998, Stephen Hocking-Senior Programmer PGS Tensor Perth wrote:

>These diffs implement the mremap & ioperm system calls for Linux, which is 
>sufficient to allow a certain Linux 3d visualisation & simulation program to 
>run. The work was done by Amancio Hasty & another whose name I can't recall at 
>the moment. I would've sent it in as a PR, but don't have a machine with 
>send-pr attached to the net at the moment.

With the source cvsupped to the very latest and the diffs applied:

(doing a 'make depend && make all install' in /usr/src/lkm/linux)

cc -O -pipe -DLKM -DCOMPAT_LINUX  -DKERNEL -DACTUALLY_LKM_NOT_KERNEL
-Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline
-Wuninitialized -nostdinc -I-  -I/usr/src/lkm/linux -I/usr/src/lkm/linux/@
-c /usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:961: warning: `struct
linux_mremap_args' declared inside parameter list
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:961: warning: its
scope is only this definition or declaration,
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:961: warning: which
is probably not what you want.
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:962: warning: no
previous prototype for `linux_mremap'
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c: In function
`linux_mremap':
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:972: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:972: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:973: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:973: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:974: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:974: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:979: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:979: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:980: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:980: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:981: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:981: dereferencing
pointer to incomplete type
/usr/src/lkm/linux/../../sys/i386/linux/linux_misc.c:985: dereferencing
pointer to incomplete type
*** Error code 1



*********** NewOrderDepecheModeUltravoxViolentFemmesKillingJoke *************
* Ken     * NineInchNailsFront242TangerineDreamTheBreedersTekno *           *
*   Krebs * SkinnyPuppyLaTourBauhausBookOfLoveModernEnglishB52s *           *
*********** FishBoneBigCountryJoyDivisonSiouxsie&TheBansheesXTC *************
IRC: Schrade	E-Mail: schrade@schrade.com	<URL:http://www.schrade.com/>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message