Re: kernel build fails

From: Maxim Konovalov <maxim_at_macomnet.ru>
Date: Wed, 9 Apr 2003 12:59:16 +0400 (MSD)
On 10:34+0300, Apr 9, 2003, Vaidas Damosevicius wrote:

> Last cvsup was made few minutes ago ...
>
> cc -c -x assembler-with-cpp -DLOCORE -O -pipe -march=pentiumpro -Wall
> -Wredundan
> t-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
> -Wpointer-ari
> th -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-  -I.
> -I../../.
> . -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
> -D_KE
> RNEL -include opt_global.h -fno-common  -mno-align-long-strings
> -mpreferred-stac
> k-boundary=2 -ffreestanding -Werror ../../../i386/i386/locore.s
> cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs
> -Wstri
> ct-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
> -fform
> at-extensions -ansi  -nostdinc -I-  -I. -I../../.. -I../../../dev
> -I../../../con
> trib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include
> opt_global.h -fno
> -common  -mno-align-long-strings -mpreferred-stack-boundary=2
> -ffreestanding -We
> rror  ../../../kern/kern_jail.c
> cc1: warnings being treated as errors
> ../../../kern/kern_jail.c: In function `jail_attach':
> ../../../kern/kern_jail.c:199: warning: implicit declaration of function
> `change
> _dir'
> ../../../kern/kern_jail.c:206: warning: implicit declaration of function
> `change
> _root'

Index: jail.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/jail.h,v
retrieving revision 1.18
diff -u -r1.18 jail.h
--- jail.h	9 Apr 2003 02:55:18 -0000	1.18
+++ jail.h	9 Apr 2003 08:57:31 -0000
_at__at_ -88,6 +88,8 _at__at_
  */
 struct ucred;
 struct sockaddr;
+int change_dir(struct vnode *vn, struct thread *td);
+int change_root(struct vnode *vn, struct thread *td);
 int jailed(struct ucred *cred);
 void getcredhostname(struct ucred *cred, char *, size_t);
 int prison_check(struct ucred *cred1, struct ucred *cred2);

%%%

-- 
Maxim Konovalov, maxim_at_macomnet.ru, maxim_at_FreeBSD.org
Received on Tue Apr 08 2003 - 23:59:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC