From owner-freebsd-questions Fri Aug 20 8: 2:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by hub.freebsd.org (Postfix) with ESMTP id E18EE14E51 for ; Fri, 20 Aug 1999 08:02:09 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/6) with ESMTP id QAA05330 for ; Fri, 20 Aug 1999 16:59:23 +0200 (MET DST) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id QAA10652 for ; Fri, 20 Aug 1999 16:59:32 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.2/8.6.9) id QAA25661 for questions@freebsd.org; Fri, 20 Aug 1999 16:59:38 +0200 (CEST) Date: Fri, 20 Aug 1999 16:59:38 +0200 (CEST) From: Christoph Kukulies Message-Id: <199908201459.QAA25661@gil.physik.rwth-aachen.de> To: questions@freebsd.org Subject: problems building a 3.2 kernel Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I upgraded a 2.2.8 system to 3.2 and when trying to rebuild my custom kernel I'm getting: cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -DKERNEL -DVM_STACK -include opt_global.h -elf ../../kern/imgact_aout.c In file included from ../../kern/imgact_aout.c:45: ../../sys/vnode.h:476: warning: `struct vop_lease_args' declared inside parameter list ../../sys/vnode.h:476: warning: its scope is only this definition or declaration, ../../sys/vnode.h:476: warning: which is probably not what you want. ../../sys/vnode.h:490: warning: `struct vop_lease_args' declared inside parameter list ../../sys/vnode.h:536: warning: `struct vop_poll_args' declared inside parameter list ../../sys/vnode.h:539: warning: `struct vop_poll_args' declared inside parameter list ../../sys/vnode.h:540: warning: `struct vop_revoke_args' declared inside parameter list ../../kern/imgact_aout.c: In function `aout_coredump': ../../kern/imgact_aout.c:277: warning: implicit declaration of function `VOP_LEASE' ../../kern/imgact_aout.c:294: too many arguments to function `VOP_UNLOCK' *** Error code 1 Stop. Everything that includes vnode.h seems to choke. -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message