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 [EMAIL PROTECTED] | http://unixathome.org/finger.php
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message