Date: Sat, 27 Jan 2001 14:02:03 -0500 From: anarcat <anarcat@tao.ca> To: Kent Stewart <kstewart@urx.com> Cc: anarcat <anarcat@tao.ca>, freebsd-stable@freebsd.org Subject: Re: Can't build kernel under stable-2000.12.31 Message-ID: <20010127140203.A26460@dojo.tao.ca> In-Reply-To: <3A723980.DEDEE04E@urx.com>; from kstewart@urx.com on Fri, Jan 26, 2001 at 06:59:12PM -0800 References: <20010126201248.A1832@dojo.tao.ca> <3A723980.DEDEE04E@urx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Ok. I do not understand very clearly why, but:
# rm -rf /sys/compile/SHALL
and then using the traditional "config" method (config && cd ... && make
depend && make && make install) works.
Why can't buildkernel do this by itself?
thanks.
A.
On Fri, Jan 26, 2001 at 06:59:12PM -0800, Big Brother made Kent Stewart write:
>
>
> anarcat wrote:
> >
> > Hi!
> >
> > (please CC: me, I'm not on the list)
> >
> > Building a custom kernel under freebsd-stable (cvsup'd and made world on
> > 2000-12-31) fails with the following, any idea why?
>
> This error usually occurs beause you didn't do a buildworld to
> populate /usr/obj first. Read /usr/src/UPDATING because the sequence
> isn't an option. If you already have a current userland, then the
> choice can include the config method. They way it looks, you mixed
> your world's and that doesn't work.
>
> Kent
>
> >
> > shall# make KERNEL=SHALL buildkernel installkernel
> > ...
> > ===> wi
> > @ -> /usr/src/sys
> > machine -> /usr/src/sys/i386/include
> > perl @/kern/makedevops.pl -h @/kern/device_if.m
> > perl @/kern/makedevops.pl -h @/kern/bus_if.m
> > rm -f .depend
> > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@
> > -I@/../include -I/usr/obj/usr/src/i386/usr/include
> > /usr/src/sys/modules/wi/../../i386/isa/if_wi.c
> > cd /usr/obj/usr/src/sys/SHALL; MAKEOBJDIRPREFIX=/usr/obj
> > COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin
> > LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib
> > OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec
> > PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503
> > DESTDIR=/usr/obj/usr/src/i386 INSTALL="sh /usr/src/tools/install.sh"
> > PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> > MACHINE=i386 make KERNEL=kernel all
> > cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls
> > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> > -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I.
> > -I/usr/src/sys -I/usr/src/sys/../include -D_KERNEL -include opt_global.h
> > -elf -mpreferred-stack-boundary=2 /usr/src/sys/i386/i386/locore.s
> > /tmp/ccO18745.s: Assembler messages:
> > /tmp/ccO18745.s:1744: Error: .space specifies non-absolute value
> > /tmp/ccO18745.s:2455: Error: undefined symbol L0 in operation setting
> > PTmap
> > /tmp/ccO18745.s:2455: Error: undefined symbol PDRSHIFT in operation
> > setting PTmap
> > /tmp/ccO18745.s:1712: Error: undefined symbol L0 in operation
> > /tmp/ccO18745.s:1712: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:1713: Error: undefined symbol L0 in operation
> > /tmp/ccO18745.s:1713: Error: undefined symbol PDESIZE in operation
> > /tmp/ccO18745.s:2455: Error: undefined symbol L0 in operation setting
> > APTmap
> > /tmp/ccO18745.s:2455: Error: undefined symbol PDRSHIFT in operation
> > setting APTmap
> > /tmp/ccO18745.s:1721: Error: undefined symbol L0 in operation
> > /tmp/ccO18745.s:1721: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:1722: Error: undefined symbol L0 in operation
> > /tmp/ccO18745.s:1722: Error: undefined symbol PDESIZE in operation
> > /tmp/ccO18745.s:1928: Error: undefined symbol UPAGES in operation
> > /tmp/ccO18745.s:1928: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:2316: Error: undefined symbol BI_ESYMTAB in operation
> > /tmp/ccO18745.s:2321: Error: undefined symbol BI_SYMTAB in operation
> > /tmp/ccO18745.s:2322: Error: undefined symbol BI_ESYMTAB in operation
> > /tmp/ccO18745.s:2326: Error: undefined symbol BI_KERNEND in operation
> > /tmp/ccO18745.s:2338: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:2338: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:2342: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:2342: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:2346: Error: undefined symbol UPAGES in operation
> > /tmp/ccO18745.s:2346: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:2346: Error: undefined symbol UPAGES in operation
> > /tmp/ccO18745.s:2346: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:2351: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:2351: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:2354: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:2354: Error: undefined symbol PAGE_SIZE in operation
> > /tmp/ccO18745.s:2411: Error: undefined symbol PAGE_SHIFT in operation
> > /tmp/ccO18745.s:2427: Error: undefined symbol PAGE_SHIFT in operation
> > /tmp/ccO18745.s:2428: Error: undefined symbol PAGE_SHIFT in operation
> > /tmp/ccO18745.s:1854: Error: Subtraction of two symbols in different
> > sections ".tmpstk" {.data section} - "KERNBASE" {*UND* section} at file
> > address 28.
> > /tmp/ccO18745.s:1877: Error: Subtraction of two symbols in different
> > sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file
> > address 38.
> > /tmp/ccO18745.s:1878: Error: Subtraction of two symbols in different
> > sections "edata" {*UND* section} - "KERNBASE" {*UND* section} at file
> > address 43.
> > /tmp/ccO18745.s:1890: Error: Subtraction of two symbols in different
> > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at
> > file address 61.
> > /tmp/ccO18745.s:1906: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> > address 81.
> > /tmp/ccO18745.s:2115: Error: Subtraction of two symbols in different
> > sections "kernelname" {*UND* section} - "KERNBASE" {*UND* section} at file
> > address 371.
> > /tmp/ccO18745.s:2143: Error: Subtraction of two symbols in different
> > sections "bootinfo" {.data section} - "KERNBASE" {*UND* section} at file
> > address 411.
> > /tmp/ccO18745.s:2163: Error: Subtraction of two symbols in different
> > sections "boothowto" {*UND* section} - "KERNBASE" {*UND* section} at file
> > address 435.
> > /tmp/ccO18745.s:2165: Error: Subtraction of two symbols in different
> > sections "bootdev" {*UND* section} - "KERNBASE" {*UND* section} at file
> > address 443.
> > /tmp/ccO18745.s:2203: Error: Subtraction of two symbols in different
> > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> > address 495.
> > /tmp/ccO18745.s:2208: Error: Subtraction of two symbols in different
> > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> > address 511.
> > /tmp/ccO18745.s:2209: Error: Subtraction of two symbols in different
> > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> > address 521.
> > /tmp/ccO18745.s:2210: Error: Subtraction of two symbols in different
> > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> > address 531.
> > /tmp/ccO18745.s:2211: Error: Subtraction of two symbols in different
> > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> > address 541.
> > /tmp/ccO18745.s:2212: Error: Subtraction of two symbols in different
> > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> > address 551.
> > /tmp/ccO18745.s:2231: Error: Subtraction of two symbols in different
> > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> > address 592.
> > /tmp/ccO18745.s:2258: Error: Subtraction of two symbols in different
> > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> > address 627.
> > /tmp/ccO18745.s:2259: Error: Subtraction of two symbols in different
> > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> > address 637.
> > /tmp/ccO18745.s:2260: Error: Subtraction of two symbols in different
> > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> > address 647.
> > /tmp/ccO18745.s:2266: Error: Subtraction of two symbols in different
> > sections "cpu_high" {.data section} - "KERNBASE" {*UND* section} at file
> > address 662.
> > /tmp/ccO18745.s:2267: Error: Subtraction of two symbols in different
> > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> > address 668.
> > /tmp/ccO18745.s:2268: Error: Subtraction of two symbols in different
> > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> > address 674.
> > /tmp/ccO18745.s:2269: Error: Subtraction of two symbols in different
> > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> > address 680.
> > /tmp/ccO18745.s:2270: Error: Subtraction of two symbols in different
> > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> > address 686.
> > /tmp/ccO18745.s:2274: Error: Subtraction of two symbols in different
> > sections "cpu_id" {.data section} - "KERNBASE" {*UND* section} at file
> > address 699.
> > /tmp/ccO18745.s:2275: Error: Subtraction of two symbols in different
> > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at
> > file address 705.
> > /tmp/ccO18745.s:2282: Error: Subtraction of two symbols in different
> > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> > address 722.
> > /tmp/ccO18745.s:2288: Error: Subtraction of two symbols in different
> > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> > address 739.
> > /tmp/ccO18745.s:2292: Error: Subtraction of two symbols in different
> > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> > address 751.
> > /tmp/ccO18745.s:2305: Error: Subtraction of two symbols in different
> > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at
> > file address 762.
> > /tmp/ccO18745.s:2313: Error: Subtraction of two symbols in different
> > sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file
> > address 784.
> > /tmp/ccO18745.s:2316: Error: Negative of non-absolute symbol KERNBASE
> > /tmp/ccO18745.s:2321: Error: Negative of non-absolute symbol KERNBASE
> > /tmp/ccO18745.s:2322: Error: Negative of non-absolute symbol KERNBASE
> > /tmp/ccO18745.s:2326: Error: Negative of non-absolute symbol KERNBASE
> > /tmp/ccO18745.s:2334: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 843.
> > /tmp/ccO18745.s:2335: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 849.
> > /tmp/ccO18745.s:2338: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 855.
> > /tmp/ccO18745.s:2338: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 867.
> > /tmp/ccO18745.s:2339: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 885.
> > /tmp/ccO18745.s:2342: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 891.
> > /tmp/ccO18745.s:2342: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 903.
> > /tmp/ccO18745.s:2343: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> > address 921.
> > /tmp/ccO18745.s:2346: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 927.
> > /tmp/ccO18745.s:2346: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 939.
> > /tmp/ccO18745.s:2347: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 957.
> > /tmp/ccO18745.s:2349: Error: Subtraction of two symbols in different
> > sections "proc0paddr" {.data section} - "KERNBASE" {*UND* section} at file
> > address 969.
> > /tmp/ccO18745.s:2351: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 975.
> > /tmp/ccO18745.s:2351: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 987.
> > /tmp/ccO18745.s:2352: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1005.
> > /tmp/ccO18745.s:2354: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1011.
> > /tmp/ccO18745.s:2354: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1023.
> > /tmp/ccO18745.s:2355: Error: Subtraction of two symbols in different
> > sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1041.
> > /tmp/ccO18745.s:2357: Error: Subtraction of two symbols in different
> > sections "vm86paddr" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1053.
> > /tmp/ccO18745.s:2372: Error: Subtraction of two symbols in different
> > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at
> > file address 1063.
> > /tmp/ccO18745.s:2377: Error: Subtraction of two symbols in different
> > sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file
> > address 1080.
> > /tmp/ccO18745.s:2380: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1103.
> > /tmp/ccO18745.s:2383: Error: Subtraction of two symbols in different
> > sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file
> > address 1125.
> > /tmp/ccO18745.s:2389: Error: Subtraction of two symbols in different
> > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at
> > file address 1146.
> > /tmp/ccO18745.s:2394: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1164.
> > /tmp/ccO18745.s:2397: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1183.
> > /tmp/ccO18745.s:2400: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1205.
> > /tmp/ccO18745.s:2402: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1224.
> > /tmp/ccO18745.s:2405: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1247.
> > /tmp/ccO18745.s:2407: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1266.
> > /tmp/ccO18745.s:2412: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1308.
> > /tmp/ccO18745.s:2415: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1331.
> > /tmp/ccO18745.s:2417: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1350.
> > /tmp/ccO18745.s:2423: Error: Subtraction of two symbols in different
> > sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1392.
> > /tmp/ccO18745.s:2429: Error: Subtraction of two symbols in different
> > sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1434.
> > /tmp/ccO18745.s:2435: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1457.
> > /tmp/ccO18745.s:2438: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1473.
> > /tmp/ccO18745.s:2441: Error: Subtraction of two symbols in different
> > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1496.
> > /tmp/ccO18745.s:2444: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1515.
> > /tmp/ccO18745.s:2447: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1538.
> > /tmp/ccO18745.s:2450: Error: Subtraction of two symbols in different
> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> > address 1557.
> > *** Error code 1
> >
> > Stop in /u/obj/usr/src/sys/SHALL.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > shall#
> >
> > ----------------------------------------------------------------------
> > Name: SHALL
> > SHALL Type: Plain Text (text/plain)
> > Encoding: quoted-printable
> >
> > Part 1.2Type: application/pgp-signature
>
> --
> Kent Stewart
> Richland, WA
>
> mailto:kstewart@3-cities.com
> http://kstewart.urx.com/kstewart/index.html
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjpzGyoACgkQ7uV99pHLOSIZbQCfbZZtOk4NgJjpr7Px8Sgij9Mo
6pMAn0TmswaHNMhbnRrS3kplye7l0vYV
=pssw
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010127140203.A26460>
