From owner-freebsd-stable Thu Sep 21 22: 5:57 2000 Delivered-To: freebsd-stable@freebsd.org Received: from smtp6.port.ru (mx6.port.ru [194.67.23.42]) by hub.freebsd.org (Postfix) with ESMTP id BC8B937B424 for ; Thu, 21 Sep 2000 22:05:44 -0700 (PDT) Received: from [212.96.98.32] (helo=[212.96.98.32]) by smtp6.port.ru with esmtp (Exim 3.14 #27) id 13cL1h-000Nvv-00; Fri, 22 Sep 2000 09:05:37 +0400 Date: Fri, 22 Sep 2000 09:06:30 +0400 (MSD) From: Jaroshenko Serge X-Sender: jaroshenko@freebsd.merlin.ru To: Alexander Frolkin Cc: stable@FreeBSD.ORG Subject: Re: Problem with buildkernel In-Reply-To: <20000921163423.A3900@gamma> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! First read /usr/src/UPDATING I do following steps: 1) cd /usr/src 2) make buildworld 3) make buildkernel KERNEL=KERNELNAME 4) make installkernel KERNEL=KERNELNAME 5) reboot After FreeBSD box reboot, do: 1) make installworld 2) mergemaster 3) reboot And voila - new sysytem. Best regards! Serge. On Thu, 21 Sep 2000, Alexander Frolkin wrote: > 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message