From owner-freebsd-doc Sat Feb 3 18:42:28 2001 Delivered-To: freebsd-doc@freebsd.org Received: from ns1.unixathome.org (ns1.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id D154537B491; Sat, 3 Feb 2001 18:42:05 -0800 (PST) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ns1.unixathome.org (8.11.1/8.11.1) with ESMTP id f142MsR08229; Sun, 4 Feb 2001 15:22:54 +1300 (NZDT) (envelope-from dan@langille.org) Message-Id: <200102040222.f142MsR08229@ns1.unixathome.org> From: "Dan Langille" Organization: novice in training To: Dima Dorfman Date: Sun, 4 Feb 2001 15:42:01 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: An example script for creating a bootable floppy Reply-To: dan@langille.org Cc: freebsd-hackers@FreeBSD.ORG, freebsd-doc@FreeBSD.ORG References: Message from "Dan Langille" of "Sun, 04 Feb 2001 14:20:48 +1300." <200102040101.f1411gR08079@ns1.unixathome.org> In-reply-to: <20010204020217.77E523E02@bazooka.unixfreak.org> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 3 Feb 2001, at 18:02, Dima Dorfman wrote: > > cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmiss > > ing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ans > > i -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include > > opt_global.h -elf -mpreferred-stack-boundary=2 ../../kern/kern_sig.c > > ../../kern/kern_sig.c:359: warning: function declaration isn't a prototype > > ../../kern/kern_sig.c: In function `osigaction': > > ../../kern/kern_sig.c:367: dereferencing pointer to incomplete type > > Wild guess: try sticking ``options COMPAT_43'' in the config file. > This smells of missing 4.3BSD compatibility structures or something. That got me quite a bit further. Any ideas about this one please? It's the keyboard isn't it? From LINT, I added these: # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat- extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL - include opt_global.h -elf -mpreferred-stack-boundary=2 vers.c linking kernel kbd.o: In function `kbd_register': kbd.o(.text+0x2f6): undefined reference to `kbddriver_set' kbd.o(.text+0x2fd): undefined reference to `kbddriver_set' etc... After that change, I encounted this: cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat- extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL - include opt_global.h -elf -mpreferred-stack-boundary=2 vers.c linking kernel scvidctl.o: In function `sc_set_text_mode': scvidctl.o(.text+0x19): undefined reference to `vidsw' scvidctl.o: In function `sc_set_graphics_mode': scvidctl.o(.text+0x26a): undefined reference to `vidsw' scvidctl.o: In function `sc_vid_ioctl': scvidctl.o(.text+0x77f): undefined reference to `vidsw' scvidctl.o(.text+0x7a3): undefined reference to `vidsw' scvidctl.o(.text+0x7bc): undefined reference to `vid_get_adapter' scvidctl.o(.text+0x822): undefined reference to `vid_get_adapter' ..etc. thanks -- Dan Langille pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message