Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2001 21:00:11 -0700 (PDT)
From:      Matthew Jacob <mjacob@feral.com>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        audit@FreeBSD.ORG
Subject:   Re: change to linux/Makefile
Message-ID:  <Pine.BSF.4.21.0110142055060.9729-100000@beppo>
In-Reply-To: <20011014205349.A528@dhcp01.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0110142055060.9729-100000>