Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

kernel build dies in syscons?

1 view
Skip to first unread message

cho...@runbox.com

unread,
Jun 21, 2001, 2:32:44 PM6/21/01
to
My kernel builds have been croaking on syscons for the past week or so.
Since other people don't seem to be having trouble with this, I was
hoping someone may be able to figure out what I'm doing wrong (actually,
it starts croaking when it's linking the kernel...but, I don't know my
way around too well yet).

Error:

cc -c -O -pipe -march=k6 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-proto types -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-exten sions -ansi -nostdinc -I- -I.
-I/usr/src/sys -I/usr/src/sys/../include -I/usr/s
rc/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -elf
-mpreferred-stack -boundary=2 vers.c
linking kernel
kbd.o: In function `kbd_register':
kbd.o(.text+0x2fa): undefined reference to `kbddriver_set'
kbd.o(.text+0x301): undefined reference to `kbddriver_set'
kbd.o: In function `kbd_get_switch':
kbd.o(.text+0x408): undefined reference to `kbddriver_set'
kbd.o(.text+0x40d): undefined reference to `kbddriver_set'
kbd.o: In function `kbd_configure':
kbd.o(.text+0x687): undefined reference to `kbddriver_set'
kbd.o(.text+0x68c): more undefined references to `kbddriver_set' follow
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+0x266): undefined reference to `vidsw'
scvidctl.o: In function `sc_vid_ioctl':
scvidctl.o(.text+0x77b): undefined reference to `vidsw'
scvidctl.o(.text+0x79f): undefined reference to `vidsw'
scvidctl.o(.text+0x7b8): undefined reference to `vid_get_adapter'
scvidctl.o(.text+0x81e): undefined reference to `vid_get_adapter'
scvidctl.o(.text+0x83f): undefined reference to `vidsw'
scvidctl.o(.text+0x88c): undefined reference to `vid_get_adapter'
scvidctl.o(.text+0x8a7): undefined reference to `vidsw'
scvidctl.o(.text+0x8e5): undefined reference to `vidsw'
scvidctl.o(.text+0x94f): undefined reference to `vidsw'
scvidctl.o(.text+0x997): undefined reference to `vidsw'
scvidctl.o(.text+0x9d2): undefined reference to `vidsw'
scvidctl.o(.text+0xa1b): more undefined references to `vidsw' follow
scvidctl.o: In function `sc_render_match':
scvidctl.o(.text+0xce6): undefined reference to `scrndr_set'
scvidctl.o(.text+0xceb): undefined reference to `scrndr_set'
syscons.o: In function `scvidprobe':
syscons.o(.text+0x69): undefined reference to `vid_configure'
syscons.o(.text+0x74): undefined reference to `vid_find_adapter'
syscons.o: In function `set_scrn_saver_mode':
syscons.o(.text+0x27f6): undefined reference to `vidsw'
syscons.o: In function `restore_scrn_saver_mode':
syscons.o(.text+0x28e1): undefined reference to `vidsw'
syscons.o: In function `exchange_scr':
syscons.o(.text+0x2e8d): undefined reference to `vidsw'
syscons.o: In function `scinit':
syscons.o(.text+0x317d): undefined reference to `vid_release'
syscons.o(.text+0x31b5): undefined reference to `vid_allocate'
syscons.o(.text+0x31be): undefined reference to `vid_get_adapter'
syscons.o(.text+0x3281): undefined reference to `vidsw'
syscons.o(.text+0x329c): undefined reference to `vidsw'
syscons.o(.text+0x3565): undefined reference to `vidsw'
syscons.o: In function `scterm':
syscons.o(.text+0x362a): undefined reference to `vid_release'
syscons.o: In function `init_scp':
syscons.o(.text+0x38c4): undefined reference to `vidsw'
syscons.o: In function `scmmap':
syscons.o(.text+0x41f9): undefined reference to `vidsw'
syscons.o: In function `set_mode':
syscons.o(.text+0x4380): undefined reference to `vidsw'
syscons.o(.text+0x43c3): undefined reference to `vidsw'
syscons.o: In function `sc_load_font':
syscons.o(.text+0x4505): undefined reference to `vidsw'
syscons.o(.text+0x4549): more undefined references to `vidsw' follow
*** Error code 1

Stop in /usr/obj/usr/src/sys/MESSIAH.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


I still have the distinct feeling that I screwed something up...

--
-Munish

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

j...@mind.net

unread,
Jun 21, 2001, 6:29:44 PM6/21/01
to
Munish,

I've had similar problems before. In my case, I had to
fiddle with the order of certain things in my kernel
config file. This was a while back, so I can't be certain,
but it seems to me that I had to have my syscons device
appear in the config *after* the keyboard stuff.

So like this:
--
# 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
device vga0 at isa?


# syscons is the default console driver, resembling a SCO console
device sc0 at isa? flags 0x100
--

I hope that's of help,M


John
--
John Fox <j...@mind.net>
System Administrator, InfoStructure, Ashland OR USA
---------------------------------------------------------
"What is loved endures. And Babylon 5 ... Babylon 5 endures."
--Delenn, "Rising Stars", Babylon 5

cho...@runbox.com

unread,
Jun 21, 2001, 7:23:10 PM6/21/01
to
On Thu, Jun 21, 2001 at 09:29:23AM -0700, John Fox wrote:
>
> I've had similar problems before. In my case, I had to
> fiddle with the order of certain things in my kernel
> config file. This was a while back, so I can't be certain,
> but it seems to me that I had to have my syscons device
> appear in the config *after* the keyboard stuff.
>
> So like this:
> --
> # 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
> device vga0 at isa?
>

Ahem. Embarrasing. Guess who accidentally commented out the above four
lines? Well, it compiles now. Thanks for your help though.

--
-Munish

0 new messages