Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2001 18:46:45 -0800
From:      Kent Stewart <kstewart@urx.com>
To:        anthony <apryan@mail.away.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD4.2-RELEASE kernel rebuilding errors
Message-ID:  <3A665915.BE881396@urx.com>
References:  <Pine.BSF.4.21.0101172056530.8204-100000@mail.away.net>

next in thread | previous in thread | raw e-mail | index | archive | help


anthony wrote:
> 
>         Hi, I was wondering if anyone might have any suggestions
>         to this unusal error I have obtained when attempting to
>         build a new kernel from /usr/src's make buildkernel=APRYAN.
>         From there I obtained the bellow errors.
> 
>         Prior to doing it via /usr/src's Makefile, I config'd and
>         made it manually via /usr/src/sys/compile/APRYAN. 'APRYAN'
>         being the kernel config.
> 
>         Since the kernel obviously didnt install via 'make buildkernel',
>         would the manual way of doing it work? Would I have to recompile
>         the modules as well?
>         Thanks in advanced.
>         -anthony
>         ERRORS (after the wi install from 'make buildkernel'):
> ===> 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/APRYAN;  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  -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

Typical message from doing a buildkernel with out doing a buildworld
first. Buildkernel depends on /usr/obj being populated by the
buildworld.

Kent

> /tmp/ccf98033.s: Assembler messages:
> /tmp/ccf98033.s:1744: Error: .space specifies non-absolute value
> /tmp/ccf98033.s:2455: Error: undefined symbol L0 in operation setting
> PTmap
> /tmp/ccf98033.s:2455: Error: undefined symbol PDRSHIFT in operation
> setting PTmap
> /tmp/ccf98033.s:1712: Error: undefined symbol L0 in operation
> /tmp/ccf98033.s:1712: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:1713: Error: undefined symbol L0 in operation
> /tmp/ccf98033.s:1713: Error: undefined symbol PDESIZE in operation
> /tmp/ccf98033.s:2455: Error: undefined symbol L0 in operation setting
> APTmap
> /tmp/ccf98033.s:2455: Error: undefined symbol PDRSHIFT in operation
> setting APTmap
> /tmp/ccf98033.s:1721: Error: undefined symbol L0 in operation
> /tmp/ccf98033.s:1721: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:1722: Error: undefined symbol L0 in operation
> /tmp/ccf98033.s:1722: Error: undefined symbol PDESIZE in operation
> /tmp/ccf98033.s:1928: Error: undefined symbol UPAGES in operation
> /tmp/ccf98033.s:1928: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:2316: Error: undefined symbol BI_ESYMTAB in operation
> /tmp/ccf98033.s:2321: Error: undefined symbol BI_SYMTAB in operation
> /tmp/ccf98033.s:2322: Error: undefined symbol BI_ESYMTAB in operation
> /tmp/ccf98033.s:2326: Error: undefined symbol BI_KERNEND in operation
> /tmp/ccf98033.s:2338: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:2338: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:2342: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:2342: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:2346: Error: undefined symbol UPAGES in operation
> /tmp/ccf98033.s:2346: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:2346: Error: undefined symbol UPAGES in operation
> /tmp/ccf98033.s:2346: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:2351: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:2351: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:2354: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:2354: Error: undefined symbol PAGE_SIZE in operation
> /tmp/ccf98033.s:2411: Error: undefined symbol PAGE_SHIFT in operation
> /tmp/ccf98033.s:2427: Error: undefined symbol PAGE_SHIFT in operation
> /tmp/ccf98033.s:2428: Error: undefined symbol PAGE_SHIFT in operation
> /tmp/ccf98033.s:1854: Error: Subtraction of two symbols in different
> sections ".tmpstk" {.data section} - "KERNBASE" {*UND* section} at file
> address 28.
> /tmp/ccf98033.s:1877: Error: Subtraction of two symbols in different
> sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file
> address 38.
> /tmp/ccf98033.s:1878: Error: Subtraction of two symbols in different
> sections "edata" {*UND* section} - "KERNBASE" {*UND* section} at file
> address 43.
> /tmp/ccf98033.s:1890: Error: Subtraction of two symbols in different
> sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at
> file address 61.
> /tmp/ccf98033.s:1906: Error: Subtraction of two symbols in different
> sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> address 81.
> /tmp/ccf98033.s:2115: Error: Subtraction of two symbols in different
> sections "kernelname" {*UND* section} - "KERNBASE" {*UND* section} at file
> address 371.
> /tmp/ccf98033.s:2143: Error: Subtraction of two symbols in different
> sections "bootinfo" {.data section} - "KERNBASE" {*UND* section} at file
> address 411.
> /tmp/ccf98033.s:2163: Error: Subtraction of two symbols in different
> sections "boothowto" {*UND* section} - "KERNBASE" {*UND* section} at file
> address 435.
> /tmp/ccf98033.s:2165: Error: Subtraction of two symbols in different
> sections "bootdev" {*UND* section} - "KERNBASE" {*UND* section} at file
> address 443.
> /tmp/ccf98033.s:2203: Error: Subtraction of two symbols in different
> sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> address 495.
> /tmp/ccf98033.s:2208: Error: Subtraction of two symbols in different
> sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> address 511.
> /tmp/ccf98033.s:2209: Error: Subtraction of two symbols in different
> sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> address 521.
> /tmp/ccf98033.s:2210: Error: Subtraction of two symbols in different
> sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> address 531.
> /tmp/ccf98033.s:2211: Error: Subtraction of two symbols in different
> sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> address 541.
> /tmp/ccf98033.s:2212: Error: Subtraction of two symbols in different
> sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> address 551.
> /tmp/ccf98033.s:2231: Error: Subtraction of two symbols in different
> sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> address 592.
> /tmp/ccf98033.s:2258: Error: Subtraction of two symbols in different
> sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> address 627.
> /tmp/ccf98033.s:2259: Error: Subtraction of two symbols in different
> sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> address 637.
> /tmp/ccf98033.s:2260: Error: Subtraction of two symbols in different
> sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> address 647.
> /tmp/ccf98033.s:2266: Error: Subtraction of two symbols in different
> sections "cpu_high" {.data section} - "KERNBASE" {*UND* section} at file
> address 662.
> /tmp/ccf98033.s:2267: Error: Subtraction of two symbols in different
> sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> address 668.
> /tmp/ccf98033.s:2268: Error: Subtraction of two symbols in different
> sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> address 674.
> /tmp/ccf98033.s:2269: Error: Subtraction of two symbols in different
> sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> address 680.
> /tmp/ccf98033.s:2270: Error: Subtraction of two symbols in different
> sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file
> address 686.
> /tmp/ccf98033.s:2274: Error: Subtraction of two symbols in different
> sections "cpu_id" {.data section} - "KERNBASE" {*UND* section} at file
> address 699.
> /tmp/ccf98033.s:2275: Error: Subtraction of two symbols in different
> sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at
> file address 705.
> /tmp/ccf98033.s:2282: Error: Subtraction of two symbols in different
> sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> address 722.
> /tmp/ccf98033.s:2288: Error: Subtraction of two symbols in different
> sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> address 739.
> /tmp/ccf98033.s:2292: Error: Subtraction of two symbols in different
> sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file
> address 751.
> /tmp/ccf98033.s:2305: Error: Subtraction of two symbols in different
> sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at
> file address 762.
> /tmp/ccf98033.s:2313: Error: Subtraction of two symbols in different
> sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file
> address 784.
> /tmp/ccf98033.s:2316: Error: Negative of non-absolute symbol KERNBASE
> /tmp/ccf98033.s:2321: Error: Negative of non-absolute symbol KERNBASE
> /tmp/ccf98033.s:2322: Error: Negative of non-absolute symbol KERNBASE
> /tmp/ccf98033.s:2326: Error: Negative of non-absolute symbol KERNBASE
> /tmp/ccf98033.s:2334: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 843.
> /tmp/ccf98033.s:2335: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 849.
> /tmp/ccf98033.s:2338: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 855.
> /tmp/ccf98033.s:2338: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 867.
> /tmp/ccf98033.s:2339: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 885.
> /tmp/ccf98033.s:2342: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 891.
> /tmp/ccf98033.s:2342: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 903.
> /tmp/ccf98033.s:2343: Error: Subtraction of two symbols in different
> sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> address 921.
> /tmp/ccf98033.s:2346: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 927.
> /tmp/ccf98033.s:2346: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 939.
> /tmp/ccf98033.s:2347: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 957.
> /tmp/ccf98033.s:2349: Error: Subtraction of two symbols in different
> sections "proc0paddr" {.data section} - "KERNBASE" {*UND* section} at file
> address 969.
> /tmp/ccf98033.s:2351: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 975.
> /tmp/ccf98033.s:2351: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 987.
> /tmp/ccf98033.s:2352: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1005.
> /tmp/ccf98033.s:2354: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1011.
> /tmp/ccf98033.s:2354: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1023.
> /tmp/ccf98033.s:2355: Error: Subtraction of two symbols in different
> sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file
> address 1041.
> /tmp/ccf98033.s:2357: Error: Subtraction of two symbols in different
> sections "vm86paddr" {.data section} - "KERNBASE" {*UND* section} at file
> address 1053.
> /tmp/ccf98033.s:2372: Error: Subtraction of two symbols in different
> sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at
> file address 1063.
> /tmp/ccf98033.s:2377: Error: Subtraction of two symbols in different
> sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file
> address 1080.
> /tmp/ccf98033.s:2380: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1103.
> /tmp/ccf98033.s:2383: Error: Subtraction of two symbols in different
> sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file
> address 1125.
> /tmp/ccf98033.s:2389: Error: Subtraction of two symbols in different
> sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at
> file address 1146.
> /tmp/ccf98033.s:2394: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1164.
> /tmp/ccf98033.s:2397: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1183.
> /tmp/ccf98033.s:2400: Error: Subtraction of two symbols in different
> sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> address 1205.
> /tmp/ccf98033.s:2402: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1224.
> /tmp/ccf98033.s:2405: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1247.
> /tmp/ccf98033.s:2407: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1266.
> /tmp/ccf98033.s:2412: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1308.
> /tmp/ccf98033.s:2415: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1331.
> /tmp/ccf98033.s:2417: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1350.
> /tmp/ccf98033.s:2423: Error: Subtraction of two symbols in different
> sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file
> address 1392.
> /tmp/ccf98033.s:2429: Error: Subtraction of two symbols in different
> sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file
> address 1434.
> /tmp/ccf98033.s:2435: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1457.
> /tmp/ccf98033.s:2438: Error: Subtraction of two symbols in different
> sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> address 1473.
> /tmp/ccf98033.s:2441: Error: Subtraction of two symbols in different
> sections ".data" {.data section} - "KERNBASE" {*UND* section} at file
> address 1496.
> /tmp/ccf98033.s:2444: Error: Subtraction of two symbols in different
> sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> address 1515.
> /tmp/ccf98033.s:2447: Error: Subtraction of two symbols in different
> sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file
> address 1538.
> /tmp/ccf98033.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 /usr/obj/usr/src/sys/APRYAN.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


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




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