From owner-freebsd-current Fri Sep 21 14:54:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 1B90237B411; Fri, 21 Sep 2001 14:54:17 -0700 (PDT) Received: from laptop.baldwin.cx ([147.11.46.201]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id OAA16493; Fri, 21 Sep 2001 14:54:13 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010921211748.34701.qmail@web14702.mail.yahoo.com> Date: Fri, 21 Sep 2001 14:54:00 -0700 (PDT) From: John Baldwin To: Aloha Guy Subject: RE: Latest 2001/09/21 -current breaks buildkernel at /usr/src/sy Cc: julian@FreeBSD.org, current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 21-Sep-01 Aloha Guy wrote: > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys > -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ip > filter -I/usr/src/sys/../include -D_KERNEL -include opt_global.h -elf > -mpreferred-stack-boundary=2 /usr/src/sys/compat/svr4/svr4_resource.c > /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_getrlimit': > /usr/src/sys/compat/svr4/svr4_resource.c:143: `LOCK_FILE' undeclared (first > use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c:143: (Each undeclared identifier is > reported only once > /usr/src/sys/compat/svr4/svr4_resource.c:143: for each function it appears > in.) > /usr/src/sys/compat/svr4/svr4_resource.c:143: `LOCK_LINE' undeclared (first > use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_setrlimit': > /usr/src/sys/compat/svr4/svr4_resource.c:191: `LOCK_FILE' undeclared (first > use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c:191: `LOCK_LINE' undeclared (first > use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_getrlimit64': > /usr/src/sys/compat/svr4/svr4_resource.c:241: `LOCK_FILE' undeclared (first > use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c:241: `LOCK_LINE' undeclared (first > use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_setrlimit64': > /usr/src/sys/compat/svr4/svr4_resource.c:289: `LOCK_FILE' undeclared (first > use in this function) > /usr/src/sys/compat/svr4/svr4_resource.c:289: `LOCK_LINE' undeclared (first > use in this function) > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/VECTOR. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > Regards, > > Joe Hmm, can you build the svr4 module by itself from /sys/modules/svr4? > cd /sys/modules/svr4/ > make svr4_resource.o @ -> /usr/src/sys machine -> /usr/src/sys/i386/include echo "#define COMPAT_43 1" > opt_compat.h touch opt_svr4.h touch opt_vmpage.h perl @/kern/vnode_if.pl -h @/kern/vnode_if.src cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -I/usr/include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_resource.c > Do you have COMPAT_SVR4 in your kernel? -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message