Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2009 23:56:42 +0000
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org
Subject:   Re: buildkernel failure
Message-ID:  <20091224235642.GA1867@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20091224174732.GA1868@mech-cluster241.men.bris.ac.uk>
References:  <20091224174732.GA1868@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 24, 2009 at 05:47:32PM +0000, Anton Shterenlikht wrote:
> today's src:
> 
> cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-pr
> ototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wn
> o-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/
> contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-c
> ommon -finline-limit=15000 --param inline-unit-growth=100 --param large-function
> -growth=1000  -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Wer
> ror  vers.c
> linking kernel.debug
> scvidctl.o(.text+0x68): In function `sc_render_match':
> /usr/src/sys/dev/syscons/scvidctl.c:880: undefined reference to `__start_set_scr
> ndr_set'
> scvidctl.o(.text+0x6c):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere
> nce to `__start_set_scrndr_set'
> scvidctl.o(.text+0x74):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere
> nce to `__start_set_scrndr_set'
> scvidctl.o(.text+0x7c):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere
> nce to `__start_set_scrndr_set'
> scvidctl.o(.text+0x80):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere
> nce to `__stop_set_scrndr_set'
> scvidctl.o(.text+0x84):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere
> nce to `__stop_set_scrndr_set'
> scvidctl.o(.text+0x8c):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere
> nce to `__stop_set_scrndr_set'
> scvidctl.o(.text+0x94):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere
> nce to `__stop_set_scrndr_set'
> scvidctl.o(.text+0xa0):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere
> nce to `__start_set_scrndr_set'
> scvidctl.o(.text+0xfc):/usr/src/sys/dev/syscons/scvidctl.c:871: undefined refere
> nce to `__start_set_scrndr_set'
> scvidctl.o(.text+0x104):/usr/src/sys/dev/syscons/scvidctl.c:871: undefined refer
> ence to `__start_set_scrndr_set'
> scvidctl.o(.text+0x10c):/usr/src/sys/dev/syscons/scvidctl.c:871: undefined refer
> ence to `__start_set_scrndr_set'
> scvidctl.o(.tex
> 
> 
> fb.o(.text+0x144): In function `vid_configure':
> /usr/src/sys/dev/fb/fb.c:288: undefined reference to `__start_set_videodriver_se
> t'
> fb.o(.text+0x148):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__start_
> set_videodriver_set'
> fb.o(.text+0x150):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__start_
> set_videodriver_set'
> fb.o(.text+0x158):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__start_
> set_videodriver_set'
> fb.o(.text+0x15c):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x160):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x168):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x170):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x180):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x184):/usr/src/sys/dev/fb/fb.c:288: more undefined references to `__
> stop_set_videodriver_set' follow
> 
> 
> fb.o(.text+0x644): In function `vid_get_switch':
> /usr/src/sys/dev/fb/fb.c:199: undefined reference to `__start_set_videodriver_se
> t'
> fb.o(.text+0x648):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__start_
> set_videodriver_set'
> fb.o(.text+0x650):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__start_
> set_videodriver_set'
> fb.o(.text+0x658):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__start_
> set_videodriver_set'
> fb.o(.text+0x65c):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x660):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x668):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x670):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x684):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x688):/usr/src/sys/dev/fb/fb.c:199: more undefined references to `__
> stop_set_videodriver_set' follow
> 
> 
> fb.o(.text+0x8ec): In function `vid_register':
> /usr/src/sys/dev/fb/fb.c:167: undefined reference to `__start_set_videodriver_se
> t'
> fb.o(.text+0x8f0):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__start_
> set_videodriver_set'
> fb.o(.text+0x8f8):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__start_
> set_videodriver_set'
> fb.o(.text+0x900):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__start_
> set_videodriver_set'
> fb.o(.text+0x904):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x908):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x910):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x918):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x92c):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__stop_s
> et_videodriver_set'
> fb.o(.text+0x930):/usr/src/sys/dev/fb/fb.c:167: more undefined references to `__
> stop_set_videodriver_set' follow
> *** Error code 1
> 1 error

I've built the kernel by removing 'device sc', now I get installworld failure:

--------------------------------------------------------------
>>> Installing everything
--------------------------------------------------------------
cd /usr/src; make -f Makefile.inc1 install
===> share/info (install)
===> lib (install)
===> lib/csu/sparc64 (install)
install -o root -g wheel -m 444  crt1.o crti.o crtn.o Scrt1.o gcrt1.o /usr/lib
install: No such file or directory
*** Error code 1

Stop in /usr/src/lib/csu/sparc64.
*** Error code 1

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



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