Date: Mon, 15 Oct 2001 15:11:04 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Matthew Jacob <mjacob@feral.com> Cc: Marcel Moolenaar <marcel@xcllnt.net>, <audit@FreeBSD.ORG> Subject: Re: change to linux/Makefile Message-ID: <20011015145741.V71335-100000@delplex.bde.org> In-Reply-To: <Pine.BSF.4.21.0110142055060.9729-100000@beppo>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Oct 2001, Matthew Jacob wrote: > Oh- sorry about- the details were: > > ===> linux > @ -> /tstsys > machine -> /tstsys/alpha/include > cc -c -O -pipe -mcpu=ev4 -D_KERNEL -Wall -Wredundant-decls -Wnested-externs > -Ws > trict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -ff > ormat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include > -I/usr > /include -mno-fp-regs -Wa,-mev56 -Wall -Wredundant-decls -Wnested-externs > -Wstr > ict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -ffor > mat-extensions -ansi /tstsys/modules/linux/../../alpha/linux/linux_genassym.c > In file included from > /tstsys/modules/linux/../../alpha/linux/linux_genassym.c:8 > : > @/alpha/linux/linux.h:34: linux_syscall.h: No such file or directory > In file included from This line is: #include <linux_syscall.h> This is obvious nonsense. Pathnames are relative to the top of the sys tree (modulo disgusting -I hacks), and linux_syscall.h is obviously not at the top of the sys tree. -current has the correct include: #include <alpha/linux/linux_syscall.h> > ... > On Sun, 14 Oct 2001, Marcel Moolenaar wrote: > > > On Sun, Oct 14, 2001 at 06:45:26PM -0700, Matthew Jacob wrote: > > > > > > This is the onoy way I could get the linux module to compile under Alpha with > > > a system directory that was not part of /usr/src (oh, yeah, fore RELENG_4). > > > > > > If you've a better way *that works* I'd love to see it. > > > > Ah, a challenge! :-) > > > > Unfortunately, I don't have -stable on my Alpha and building a 4.x > > source tree on current seems to work (besides gensetdefs missing). > > If the patch is needed to make the module compile, then by all means > > feel free to commit. I have no way to test or verify it, or even > > reason about it (no failure details). At least commit the same warts as in -current. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011015145741.V71335-100000>