Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2000 16:34:23 +0100
From:      Alexander Frolkin <alexander@frolkin.demon.co.uk>
To:        stable@freebsd.org
Subject:   Problem with buildkernel
Message-ID:  <20000921163423.A3900@gamma>

index | next in thread | raw e-mail

Hi,

I'm having trouble building a kernel. I'm trying to go from 4.0-STABLE to
4.1-STABLE. I've tried this several times, CVSupping and doing a buildworld
before buildkernel, and every time I get the same error. I've seen this error
reported previously on -stable, and apparently the solution was to install
genassym (after buildworld, cd /usr/src/usr.bin/genassym && make install,
right?), however this doesn't solve the problem for me :-( . Any ideas?

Thanks,
Alexander

Here's the end of the buildkernel output:

===> 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/LAMBDA;  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 -pipe -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
{standard input}: Assembler messages:
{standard input}:1743: Error: .space specifies non-absolute value
{standard input}:2454: Error: undefined symbol L0 in operation setting PTmap
{standard input}:2454: Error: undefined symbol PDRSHIFT in operation setting PTmap
{standard input}:1711: Error: undefined symbol L0 in operation
{standard input}:1711: Error: undefined symbol PAGE_SIZE in operation
{standard input}:1712: Error: undefined symbol L0 in operation
{standard input}:1712: Error: undefined symbol PDESIZE in operation
{standard input}:2454: Error: undefined symbol L0 in operation setting APTmap
{standard input}:2454: Error: undefined symbol PDRSHIFT in operation setting APTmap
{standard input}:1720: Error: undefined symbol L0 in operation
{standard input}:1720: Error: undefined symbol PAGE_SIZE in operation
{standard input}:1721: Error: undefined symbol L0 in operation
{standard input}:1721: Error: undefined symbol PDESIZE in operation
{standard input}:1927: Error: undefined symbol UPAGES in operation
{standard input}:1927: Error: undefined symbol PAGE_SIZE in operation
{standard input}:2315: Error: undefined symbol BI_ESYMTAB in operation
{standard input}:2320: Error: undefined symbol BI_SYMTAB in operation
{standard input}:2321: Error: undefined symbol BI_ESYMTAB in operation
{standard input}:2325: Error: undefined symbol BI_KERNEND in operation
{standard input}:2337: Error: undefined symbol PAGE_SIZE in operation
{standard input}:2337: Error: undefined symbol PAGE_SIZE in operation
{standard input}:2341: Error: undefined symbol PAGE_SIZE in operation
{standard input}:2341: Error: undefined symbol PAGE_SIZE in operation
{standard input}:2345: Error: undefined symbol UPAGES in operation
{standard input}:2345: Error: undefined symbol PAGE_SIZE in operation
{standard input}:2345: Error: undefined symbol UPAGES in operation
{standard input}:2345: Error: undefined symbol PAGE_SIZE in operation
{standard input}:2350: Error: undefined symbol PAGE_SIZE in operation
{standard input}:2350: Error: undefined symbol PAGE_SIZE in operation
{standard input}:2353: Error: undefined symbol PAGE_SIZE in operation
{standard input}:2353: Error: undefined symbol PAGE_SIZE in operation
{standard input}:2410: Error: undefined symbol PAGE_SHIFT in operation
{standard input}:2426: Error: undefined symbol PAGE_SHIFT in operation
{standard input}:2427: Error: undefined symbol PAGE_SHIFT in operation
{standard input}:1853: Error: Subtraction of two symbols in different sections ".tmpstk" {.data section} - "KERNBASE" {*UND* section} at file address 28.
{standard input}:1876: Error: Subtraction of two symbols in different sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file address 38.
{standard input}:1877: Error: Subtraction of two symbols in different sections "edata" {*UND* section} - "KERNBASE" {*UND* section} at file address 43.
{standard input}:1889: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 61.
{standard input}:1905: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 81.
{standard input}:2114: Error: Subtraction of two symbols in different sections "kernelname" {*UND* section} - "KERNBASE" {*UND* section} at file address 371.
{standard input}:2142: Error: Subtraction of two symbols in different sections "bootinfo" {.data section} - "KERNBASE" {*UND* section} at file address 411.
{standard input}:2162: Error: Subtraction of two symbols in different sections "boothowto" {*UND* section} - "KERNBASE" {*UND* section} at file address 435.
{standard input}:2164: Error: Subtraction of two symbols in different sections "bootdev" {*UND* section} - "KERNBASE" {*UND* section} at file address 443.
{standard input}:2202: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 495.
{standard input}:2207: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 511.
{standard input}:2208: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 521.
{standard input}:2209: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 531.
{standard input}:2210: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 541.
{standard input}:2211: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 551.
{standard input}:2230: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 592.
{standard input}:2257: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 627.
{standard input}:2258: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 637.
{standard input}:2259: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 647.
{standard input}:2265: Error: Subtraction of two symbols in different sections "cpu_high" {.data section} - "KERNBASE" {*UND* section} at file address 662.
{standard input}:2266: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 668.
{standard input}:2267: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 674.
{standard input}:2268: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 680.
{standard input}:2269: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 686.
{standard input}:2273: Error: Subtraction of two symbols in different sections "cpu_id" {.data section} - "KERNBASE" {*UND* section} at file address 699.
{standard input}:2274: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 705.
{standard input}:2281: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 722.
{standard input}:2287: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 739.
{standard input}:2291: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 751.
{standard input}:2304: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 762.
{standard input}:2312: Error: Subtraction of two symbols in different sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file address 784.
{standard input}:2315: Error: Negative of non-absolute symbol KERNBASE
{standard input}:2320: Error: Negative of non-absolute symbol KERNBASE
{standard input}:2321: Error: Negative of non-absolute symbol KERNBASE
{standard input}:2325: Error: Negative of non-absolute symbol KERNBASE
{standard input}:2333: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 843.
{standard input}:2334: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 849.
{standard input}:2337: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 855.
{standard input}:2337: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 867.
{standard input}:2338: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 885.
{standard input}:2341: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 891.
{standard input}:2341: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 903.
{standard input}:2342: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 921.
{standard input}:2345: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 927.
{standard input}:2345: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 939.
{standard input}:2346: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 957.
{standard input}:2348: Error: Subtraction of two symbols in different sections "proc0paddr" {.data section} - "KERNBASE" {*UND* section} at file address 969.
{standard input}:2350: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 975.
{standard input}:2350: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 987.
{standard input}:2351: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1005.
{standard input}:2353: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1011.
{standard input}:2353: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1023.
{standard input}:2354: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1041.
{standard input}:2356: Error: Subtraction of two symbols in different sections "vm86paddr" {.data section} - "KERNBASE" {*UND* section} at file address 1053.
{standard input}:2371: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 1063.
{standard input}:2376: Error: Subtraction of two symbols in different sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file address 1080.
{standard input}:2379: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1103.
{standard input}:2382: Error: Subtraction of two symbols in different sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file address 1125.
{standard input}:2388: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 1146.
{standard input}:2393: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1164.
{standard input}:2396: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1183.
{standard input}:2399: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1205.
{standard input}:2401: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1224.
{standard input}:2404: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1247.
{standard input}:2406: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1266.
{standard input}:2411: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1308.
{standard input}:2414: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1331.
{standard input}:2416: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1350.
{standard input}:2422: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1392.
{standard input}:2428: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1434.
{standard input}:2434: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1457.
{standard input}:2437: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1473.
{standard input}:2440: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1496.
{standard input}:2443: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1515.
{standard input}:2446: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1538.
{standard input}:2449: 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/LAMBDA.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.




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



help

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