Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 12:10:59 +0400
From:      Juriy Goloveshkin <j@gu.ru>
To:        freebsd-current@freebsd.org
Subject:   how do you build kernel and world?
Message-ID:  <20020621081058.GA44689@aviaport.ru>

next in thread | raw e-mail | index | archive | help
make kernel:
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wno-format -ansi  -nos
tdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpi
ca -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include  -D_KERNEL -include
opt_global.h -fno-common   -mpreferred-stack-boundary=2 -ffreestanding -Werror
vnode_if.c
In file included from /usr/src/sys/sys/vnode.h:549,
 from vnode_if.c:10:
 vnode_if.h:17: syntax error before ')' token
 cc1: warnings being treated as errors
 vnode_if.h:18: warning: function declaration isn't a prototype
 vnode_if.h: In function `VOP_ISLOCKED':
 vnode_if.h:22: `vp' undeclared (first use in this function)
 vnode_if.h:22: (Each undeclared identifier is reported only once
 vnode_if.h:22: for each function it appears in.)

vnode_if.h
extern struct vnodeop_desc vop_islocked_desc;
static __inline int VOP_ISLOCKED(
		  struct vnode *vp,
			   )
{

make world:
cc -O -pipe  -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contr
ib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall
 -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS  -c lib_gen.c -o lib_gen.o
 lib_gen.c: In function `addchnstr':
 lib_gen.c:27: `a0' undeclared (first use in this function)
 lib_gen.c:27: (Each undeclared identifier is reported only once
 lib_gen.c:27: for each function it appears in.)
 lib_gen.c:27: syntax error before numeric constant

-- 
bye
Juriy Goloveshkin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020621081058.GA44689>