Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 09:31:36 -0500
From:      "Larry S. Marso" <larry@marso.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   sysicons kernel build failure
Message-ID:  <19990112093136.B25422@marso.com>

next in thread | raw e-mail | index | archive | help
Here's a piece where the kernel build began to go awry:

///////////////////////////////////////////////////////////////////////
ototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized
-Wformat -Wunused  -fformat-extensions -ansi  -nostdinc -I- -I. -I../..
-I../../../include  -DKERNEL -include opt_global.h -elf
../../dev/syscons/syscons.c
../../dev/syscons/syscons.c:271: warning: `add_scrn_saver' declared
`static' but never defined
../../dev/syscons/syscons.c:272: warning: `remove_scrn_saver' declared
`static' but never defined
../../dev/syscons/syscons.c:273: warning: `set_scrn_saver_mode' declared
`static' but never defined
../../dev/syscons/syscons.c:274: warning: `restore_scrn_saver_mode'
declared `static' but never defined
../../dev/syscons/syscons.c:275: warning: `stop_scrn_saver' declared
`static' but never defined
../../dev/syscons/syscons.c:276: warning: `wait_scrn_saver_stop' declared
`static' but never defined
cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith
-Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi
-nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include
opt_global.h -elf  ../../dev/syscons/scvidctl.c
///////////////////////////////////////////////////////////////////////

Here's where it fails:

///////////////////////////////////////////////////////////////////////
loading kernel
syscons.o: In function `scvidprobe':
syscons.o(.text+0x231): undefined reference to `vid_configure'
syscons.o(.text+0x24e): undefined reference to `vid_allocate'
syscons.o(.text+0x26b): undefined reference to `vid_get_adapter'
syscons.o: In function `sckbdprobe':
syscons.o(.text+0x29a): undefined reference to `kbd_configure'
syscons.o(.text+0x2be): undefined reference to `kbd_allocate'
syscons.o(.text+0x2db): undefined reference to `kbd_get_keyboard'
syscons.o: In function `scattach':
syscons.o(.text+0x3a0): undefined reference to `kbdsw'
syscons.o: In function `scopen':
etc.
///////////////////////////////////////////////////////////////////////

Best regards
-- 
Larry S. Marso
larry@marso.com

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990112093136.B25422>