kernel make error: scvidctl.c

Nikolay Tychina niktychina at gmail.com
Tue Feb 16 10:29:58 UTC 2010


Hi.

I csupped RELENG_8, buildworld succeeded, but buildkernel fails. Any ideas
what is going wrong here?


MAKE=make sh /usr/home/nicholas/example/usr/src/sys/conf/newvers.sh LETTUCE
cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I.
-I/usr/home/nicholas/example/usr/src/sys
-I/usr/home/nicholas/example/usr/src/sys/contrib/altq -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -ffreestanding -fstack-protector -Werror  vers.c
linking kernel.debug
scvidctl.o(.text+0x7d): In function `sc_render_match':
/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:867: undefined
reference to `__start_set_scrndr_set'
scvidctl.o(.text+0x82):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:876:
undefined reference to `__start_set_scrndr_set'
scvidctl.o(.text+0x87):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:876:
undefined reference to `__stop_set_scrndr_set'
scvidctl.o(.text+0xfe):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:876:
undefined reference to `__stop_set_scrndr_set'
scvidctl.o(.text+0x145): In function `sc_set_graphics_mode':
/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:261: undefined
reference to `vidsw'
scvidctl.o(.text+0x2df): In function `sc_set_text_mode':
/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:145: undefined
reference to `vidsw'
scvidctl.o(.text+0xa44): In function `sc_vid_ioctl':
/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:500: undefined
reference to `vidsw'
scvidctl.o(.text+0xa6e):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:504:
undefined reference to `vidsw'
scvidctl.o(.text+0xaa4):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:508:
undefined reference to `vid_get_adapter'
scvidctl.o(.text+0xb18):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:530:
undefined reference to `vid_get_adapter'
scvidctl.o(.text+0xb30):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:534:
undefined reference to `vidsw'
scvidctl.o(.text+0xb82):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:542:
undefined reference to `vid_get_adapter'
scvidctl.o(.text+0xb94):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:546:
undefined reference to `vidsw'
scvidctl.o(.text+0xbf9):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:558:
undefined reference to `vidsw'
scvidctl.o(.text+0xc9a):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:569:
undefined reference to `vidsw'
scvidctl.o(.text+0xce0):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:576:
undefined reference to `vidsw'
scvidctl.o(.text+0xd3a):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:581:
undefined reference to `vidsw'
scvidctl.o(.text+0xd80):/usr/home/nicholas/example/usr/src/sys/dev/syscons/scvidctl.c:588:
more undefined references to `vidsw' follow
syscons.o(.text+0xd63): In function `sc_cnterm':
/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:2857: undefined
reference to `vid_release'
syscons.o(.text+0xe11): In function `set_mode':
/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:3458: undefined
reference to `vidsw'
syscons.o(.text+0xe58):/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:3466:
undefined reference to `vidsw'
syscons.o(.text+0x10a5): In function `restore_scrn_saver_mode':
/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:2052: undefined
reference to `vidsw'
syscons.o(.text+0x113a): In function `init_scp':
/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:2984: undefined
reference to `vidsw'
syscons.o(.text+0x19ea): In function `exchange_scr':
/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:2456: undefined
reference to `vidsw'
syscons.o(.text+0x1ea5): In function `scvidprobe':
/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:269: undefined
reference to `vid_configure'
syscons.o(.text+0x1eb5):/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:271:
undefined reference to `vid_find_adapter'
syscons.o(.text+0x4d51): In function `scinit':
/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:2656: undefined
reference to `vid_release'
syscons.o(.text+0x4d94):/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:2670:
undefined reference to `vid_allocate'
syscons.o(.text+0x4d9f):/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:2671:
undefined reference to `vid_get_adapter'
syscons.o(.text+0x4e71):/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:2701:
undefined reference to `vidsw'
syscons.o(.text+0x4e92):/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:2702:
undefined reference to `vidsw'
syscons.o(.text+0x5236):/usr/home/nicholas/example/usr/src/sys/dev/syscons/syscons.c:2804:
undefined reference to `vidsw'
*** Error code 1

Stop in /usr/obj/usr/home/nicholas/example/usr/src/sys/LETTUCE.
*** Error code 1

Stop in /usr/home/nicholas/example/usr/src.
*** Error code 1

Stop in /usr/home/nicholas/example/usr/src.


More information about the freebsd-stable mailing list