From owner-freebsd-audit Sun Oct 14 21: 0:16 2001 Delivered-To: freebsd-audit@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id 2EF7E37B403 for ; Sun, 14 Oct 2001 21:00:13 -0700 (PDT) Received: from mailhost.feral.com (mjacob@mailhost.feral.com [192.67.166.1]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id f9F40BH11321; Sun, 14 Oct 2001 21:00:11 -0700 (PDT) (envelope-from mjacob@feral.com) Date: Sun, 14 Oct 2001 21:00:11 -0700 (PDT) From: Matthew Jacob X-Sender: mjacob@beppo Reply-To: mjacob@feral.com To: Marcel Moolenaar Cc: audit@FreeBSD.ORG Subject: Re: change to linux/Makefile In-Reply-To: <20011014205349.A528@dhcp01.pn.xcllnt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 /tstsys/modules/linux/../../alpha/linux/linux_genassym.c:8 : @/alpha/linux/linux.h:428: `LINUX_SYS_MAXSYSCALL' undeclared here (not in a func tion) *** Error code 1 Stop in /tstsys/modules/linux. The first problem was that there was no linux_syscall anyway. The second problem was that even when I regen'd them for -stable, the compile wasn't finding them. BTW- I'm not 100% convinced that similar problems are avoided in -current- by my having both a /usr/src on all of my machines as well as a /tstsys I probably get lots of unintentional 'sorta maybe kind mostly works' situations. 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). > > -- > Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-audit" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message