From owner-freebsd-stable Wed Jan 27 12:24:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA05483 for freebsd-stable-outgoing; Wed, 27 Jan 1999 12:24:06 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from jules.res.cmu.edu (JULES.RES.CMU.EDU [128.2.91.60]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA05474 for ; Wed, 27 Jan 1999 12:24:04 -0800 (PST) (envelope-from root@jules.res.cmu.edu) Received: from localhost (root@localhost) by jules.res.cmu.edu (8.9.2/8.9.2) with ESMTP id PAA08011; Wed, 27 Jan 1999 15:46:42 -0500 (EST) (envelope-from root@jules.res.cmu.edu) Date: Wed, 27 Jan 1999 15:46:42 -0500 (EST) From: Greg Schohn To: Roland Jesse cc: freebsd-stable@FreeBSD.ORG Subject: Re: syscons, pcvt_drv, and psm errors while building the kernel In-Reply-To: <13998.64072.974496.299959@knecht> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG are you setting up the keyboard controller? Like so... controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 I had the same problem, but because I had messed the up the sc0 & psm0 devices... If that doesn't work, look over the GENERIC file & make sure that you've got everything right... -Greg > Hello, > > I just cvsupped the stable sources, made my world but while trying to > build a new kernel, I get some errors. > > The corresponding entries in my kernel config file are: > > device sc0 at isa? tty > device vt0 at isa? tty > device psm0 at isa? tty irq 12 > > The error messages when building the kernel are appended at the end of > this email. > > I would appreciate any hints of what I am missing. > > Roland > > syscons.o: In function `scvidprobe': > syscons.o(.text+0x227): undefined reference to `vid_configure' > syscons.o(.text+0x244): undefined reference to `vid_allocate' > syscons.o(.text+0x25f): undefined reference to `vid_get_adapter' > syscons.o: In function `sckbdprobe': > syscons.o(.text+0x290): undefined reference to `kbd_configure' > syscons.o(.text+0x2b4): undefined reference to `kbd_allocate' > syscons.o(.text+0x2cf): undefined reference to `kbd_get_keyboard' > syscons.o: In function `scresume': > syscons.o(.text+0x2f1): undefined reference to `kbdsw' > syscons.o: In function `sc_attach_unit': > syscons.o(.text+0x3b7): undefined reference to `kbdsw' > syscons.o: In function `scopen': > syscons.o(.text+0x603): undefined reference to `kbdsw' > syscons.o: In function `sckbdevent': > syscons.o(.text+0x8a0): undefined reference to `kbd_release' > syscons.o(.text+0x963): undefined reference to `kbdsw' > syscons.o: In function `scioctl': > syscons.o(.text+0x1e8a): undefined reference to `kbdsw' > syscons.o(.text+0x1f04): undefined reference to `kbdsw' > syscons.o(.text+0x1f36): undefined reference to `kbdsw' > syscons.o(.text+0x2036): undefined reference to `kbdsw' > syscons.o(.text+0x20e2): undefined reference to `kbd_get_keyboard' > syscons.o(.text+0x212f): undefined reference to `kbd_allocate' > syscons.o(.text+0x215c): undefined reference to `kbd_release' > syscons.o(.text+0x2165): undefined reference to `kbd_get_keyboard' > syscons.o(.text+0x2182): undefined reference to `kbdsw' > syscons.o(.text+0x2207): undefined reference to `kbd_release' > syscons.o(.text+0x2286): undefined reference to `kbdsw' > syscons.o: In function `sccngetch': > syscons.o(.text+0x2873): undefined reference to `kbdsw' > syscons.o(.text+0x28a0): undefined reference to `kbdsw' > syscons.o(.text+0x28ee): undefined reference to `kbdsw' > syscons.o(.text+0x2914): undefined reference to `kbdsw' > syscons.o: In function `scrn_timer': > syscons.o(.text+0x2ac0): undefined reference to `kbd_allocate' > syscons.o(.text+0x2ad2): undefined reference to `kbd_get_keyboard' > syscons.o(.text+0x2ae8): undefined reference to `kbdsw' > syscons.o: In function `exchange_scr': > syscons.o(.text+0x3074): undefined reference to `vidsw' > syscons.o(.text+0x30c1): undefined reference to `kbdsw' > syscons.o: In function `scinit': > syscons.o(.text+0x45dc): undefined reference to `vid_get_adapter' > syscons.o(.text+0x45e9): undefined reference to `vidsw' > syscons.o(.text+0x4607): undefined reference to `vidsw' > syscons.o(.text+0x47b8): undefined reference to `vidsw' > syscons.o(.text+0x47d7): undefined reference to `vidsw' > syscons.o: In function `init_scp': > syscons.o(.text+0x4a9a): undefined reference to `vid_get_adapter' > syscons.o(.text+0x4aa6): undefined reference to `vidsw' > syscons.o: In function `scgetc': > syscons.o(.text+0x4e78): undefined reference to `kbdsw' > syscons.o(.text+0x54b6): undefined reference to `kbdsw' > syscons.o: In function `scmmap': > syscons.o(.text+0x5701): undefined reference to `vidsw' > syscons.o: In function `save_kbd_state': > syscons.o(.text+0x579d): undefined reference to `kbdsw' > syscons.o: In function `update_kbd_state': > syscons.o(.text+0x5807): undefined reference to `kbdsw' > syscons.o(.text+0x5860): undefined reference to `kbdsw' > syscons.o: In function `update_kbd_leds': > syscons.o(.text+0x58a9): undefined reference to `kbdsw' > syscons.o: In function `set_mode': > syscons.o(.text+0x58e3): undefined reference to `vidsw' > syscons.o(.text+0x5923): undefined reference to `vidsw' > syscons.o(.text+0x59b2): undefined reference to `vidsw' > syscons.o(.text+0x5a0f): undefined reference to `vidsw' > syscons.o: In function `set_border': > syscons.o(.text+0x5a3f): undefined reference to `vidsw' > syscons.o(.text+0x5bd5): more undefined references to `vidsw' follow > pcvt_drv.o: In function `pcprobe': > pcvt_drv.o(.text+0x2b): undefined reference to `kbd_configure' > pcvt_drv.o(.text+0x44): undefined reference to `kbd_allocate' > pcvt_drv.o(.text+0x51): undefined reference to `kbd_get_keyboard' > pcvt_drv.o: In function `detect_kbd': > pcvt_drv.o(.text+0x607): undefined reference to `kbd_allocate' > pcvt_drv.o(.text+0x614): undefined reference to `kbd_get_keyboard' > pcvt_drv.o: In function `pcevent': > pcvt_drv.o(.text+0x6b0): undefined reference to `kbd_release' > pcvt_drv.o: In function `pcrint': > pcvt_drv.o(.text+0x70d): undefined reference to `kbdsw' > pcvt_drv.o: In function `pccnprobe': > pcvt_drv.o(.text+0x8c2): undefined reference to `kbd_configure' > pcvt_drv.o(.text+0x8db): undefined reference to `kbd_allocate' > pcvt_drv.o(.text+0x8e8): undefined reference to `kbd_get_keyboard' > pcvt_drv.o: In function `pccngetc': > pcvt_drv.o(.text+0x983): undefined reference to `kbdsw' > pcvt_drv.o(.text+0x9a5): undefined reference to `kbdsw' > pcvt_drv.o: In function `pccncheckc': > pcvt_drv.o(.text+0xa25): undefined reference to `kbdsw' > pcvt_drv.o(.text+0xa44): undefined reference to `kbdsw' > pcvt_kbd.o: In function `check_for_lost_intr': > pcvt_kbd.o(.text+0x34): undefined reference to `kbdsw' > pcvt_kbd.o(.text+0x5a): more undefined references to `kbdsw' follow > pcvt_kbd.o: In function `doreset': > pcvt_kbd.o(.text+0x21f): undefined reference to `set_controller_command_byte' > pcvt_kbd.o(.text+0x23b): undefined reference to `kbdsw' > pcvt_kbd.o: In function `sgetc': > pcvt_kbd.o(.text+0x99d): undefined reference to `kbdsw' > pcvt_kbd.o(.text+0x9c1): undefined reference to `kbdsw' > psm.o: In function `enable_aux_dev': > psm.o(.text+0xb): undefined reference to `send_aux_command' > psm.o: In function `disable_aux_dev': > psm.o(.text+0x4b): undefined reference to `send_aux_command' > psm.o: In function `get_mouse_status': > psm.o(.text+0xb1): undefined reference to `empty_aux_buffer' > psm.o(.text+0xb8): undefined reference to `send_aux_command' > psm.o(.text+0x106): undefined reference to `read_aux_data' > psm.o: In function `get_aux_id': > psm.o(.text+0x15e): undefined reference to `empty_aux_buffer' > psm.o(.text+0x169): undefined reference to `send_aux_command' > psm.o(.text+0x1a8): undefined reference to `read_aux_data' > psm.o: In function `set_mouse_sampling_rate': > psm.o(.text+0x1e1): undefined reference to `send_aux_command_and_data' > psm.o: In function `set_mouse_scaling': > psm.o(.text+0x23b): undefined reference to `send_aux_command' > psm.o: In function `set_mouse_resolution': > psm.o(.text+0x295): undefined reference to `send_aux_command_and_data' > psm.o: In function `recover_from_error': > psm.o(.text+0x395): undefined reference to `empty_both_buffers' > psm.o(.text+0x39b): undefined reference to `test_controller' > psm.o(.text+0x3b7): undefined reference to `test_kbd_port' > psm.o: In function `restore_controller': > psm.o(.text+0x3ea): undefined reference to `empty_both_buffers' > psm.o(.text+0x3f6): undefined reference to `set_controller_command_byte' > psm.o: In function `doopen': > psm.o(.text+0x4ad): undefined reference to `kbdc_get_device_mask' > psm.o(.text+0x4b9): undefined reference to `set_controller_command_byte' > psm.o: In function `psmprobe': > psm.o(.text+0x55a): undefined reference to `kbdc_open' > psm.o(.text+0x5a0): undefined reference to `kbdc_lock' > psm.o(.text+0x5f2): undefined reference to `empty_both_buffers' > psm.o(.text+0x5fe): undefined reference to `kbdc_get_device_mask' > psm.o(.text+0x610): undefined reference to `get_controller_command_byte' > psm.o(.text+0x66c): undefined reference to `kbdc_set_device_mask' > psm.o(.text+0x67a): undefined reference to `kbdc_lock' > psm.o(.text+0x6a8): undefined reference to `set_controller_command_byte' > psm.o(.text+0x6e9): undefined reference to `write_controller_command' > psm.o(.text+0x6f8): undefined reference to `test_aux_port' > psm.o(.text+0x79e): undefined reference to `kbdc_set_device_mask' > psm.o(.text+0x7be): undefined reference to `reset_aux_dev' > psm.o(.text+0x819): undefined reference to `kbdc_set_device_mask' > psm.o(.text+0x956): undefined reference to `kbdc_set_device_mask' > psm.o(.text+0xad0): undefined reference to `send_aux_command' > psm.o(.text+0xb6c): undefined reference to `empty_aux_buffer' > psm.o(.text+0xbd0): undefined reference to `set_controller_command_byte' > psm.o(.text+0xc22): undefined reference to `kbdc_set_device_mask' > psm.o(.text+0xc30): undefined reference to `kbdc_lock' > psm.o: In function `psmopen': > psm.o(.text+0xdc6): undefined reference to `kbdc_lock' > psm.o(.text+0xde7): undefined reference to `get_controller_command_byte' > psm.o(.text+0xdfb): undefined reference to `kbdc_get_device_mask' > psm.o(.text+0xe07): undefined reference to `set_controller_command_byte' > psm.o(.text+0xe18): undefined reference to `kbdc_lock' > psm.o(.text+0xe5c): undefined reference to `kbdc_lock' > psm.o: In function `psmclose': > psm.o(.text+0xe8b): undefined reference to `kbdc_lock' > psm.o(.text+0xeaf): undefined reference to `get_controller_command_byte' > psm.o(.text+0xec3): undefined reference to `kbdc_lock' > psm.o(.text+0xee6): undefined reference to `kbdc_get_device_mask' > psm.o(.text+0xef2): undefined reference to `set_controller_command_byte' > psm.o(.text+0xf19): undefined reference to `empty_aux_buffer' > psm.o(.text+0xf7a): undefined reference to `kbdc_get_device_mask' > psm.o(.text+0xf86): undefined reference to `set_controller_command_byte' > psm.o(.text+0xfb0): undefined reference to `empty_aux_buffer' > psm.o(.text+0xfbe): undefined reference to `kbdc_lock' > psm.o: In function `block_mouse_data': > psm.o(.text+0x130d): undefined reference to `kbdc_lock' > psm.o(.text+0x132f): undefined reference to `get_controller_command_byte' > psm.o(.text+0x1343): undefined reference to `kbdc_get_device_mask' > psm.o(.text+0x134f): undefined reference to `set_controller_command_byte' > psm.o(.text+0x1366): undefined reference to `kbdc_lock' > psm.o(.text+0x137e): undefined reference to `empty_aux_buffer' > psm.o(.text+0x1386): undefined reference to `read_aux_data_no_wait' > psm.o: In function `unblock_mouse_data': > psm.o(.text+0x13b7): undefined reference to `empty_aux_buffer' > psm.o(.text+0x13c3): undefined reference to `kbdc_get_device_mask' > psm.o(.text+0x13cf): undefined reference to `set_controller_command_byte' > psm.o(.text+0x13e5): undefined reference to `kbdc_lock' > psm.o: In function `psmintr': > psm.o(.text+0x190c): undefined reference to `read_aux_data_no_wait' > psm.o: In function `enable_kmouse': > psm.o(.text+0x1ea2): undefined reference to `empty_aux_buffer' > *** Error code 1 > > Stop. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message