From owner-freebsd-bugs Tue Dec 2 11:29:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA25737 for bugs-outgoing; Tue, 2 Dec 1997 11:29:44 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: from iconmail.bellatlantic.net (iconmail.bellatlantic.net [199.173.162.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA25725 for ; Tue, 2 Dec 1997 11:29:30 -0800 (PST) (envelope-from dmm125@bellatlantic.net) Received: from myname.my.domain (client201-122-18.bellatlantic.net [151.201.122.18]) by iconmail.bellatlantic.net (IConNet Sendmail) with SMTP id OAA21150 for ; Tue, 2 Dec 1997 14:29:04 -0500 (EST) Date: Tue, 2 Dec 1997 14:29:14 +0000 (GMT) From: Donn Miller X-Sender: dmm125@myname.my.domain To: freebsd-bugs@freebsd.org Subject: errors compiling /usr/src/lkm Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, I was recently compiling in /usr/src/lkm/vm86 and got errors. First I cd'd to this directory and executed make depend all but it bombed with errors. Maybe I'm doing something wrong? 2.2.5-RELEASE dir:/usr/src/lkm/vm86 make depend ; make all gives the following output: Warning: Object directory not changed from original /usr/src/lkm/vm86 cc -pipe -m486 -O3 -I. -DLKM -DVM86_MODULE -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I/usr/src/lkm/vm86/../../sys -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -c /usr/src/lkm/ vm86/../../sys/i386/i386/vm86.c /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c: In function `POP': /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:101: warning: implicit declaration of function `fusword' /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c: In function `emulate_vm86': /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:123: warning: implicit declaration of function `PCB_EXTENSION' /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:123: `pcb_ext_vm86' undeclared (first use this function) /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:123: (Each undeclared identifier is reported only once /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:123: for each function it appears in.) /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:219: warning: nested extern declaration of `fusword' /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:220: warning: nested extern declaration of `fusword' /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:221: warning: nested extern declaration of `fusword' /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:236: warning: nested extern declaration of `fusword' /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c: In function `i386_vm86': /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:263: structure has no member named `pcb_ext_vm86' /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:264: structure has no member named `pcb_ext_vm86' /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:265: structure has no member named `md_userext' /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:266: structure has no member named `md_userext' /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:268: `pcb_ext_vm86' undeclared (first use this function) /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c:269: warning: passing arg 2 of `bcopy' makes pointer from integer without a cast *** Error code 1 Stop.