From owner-freebsd-questions Tue Sep 12 10: 6:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from outmail3.pacificnet.net (outmail3.pacificnet.net [207.171.0.14]) by hub.freebsd.org (Postfix) with ESMTP id 9CD4B37B42C for ; Tue, 12 Sep 2000 10:06:26 -0700 (PDT) Received: from azazel.inside.killermartian.com (usr3-20.pacificnet.net [207.171.38.149]) by outmail3.pacificnet.net (8.9.3/8.9.3) with ESMTP id KAA08246 for ; Tue, 12 Sep 2000 10:06:38 -0700 (PDT) Date: Tue, 12 Sep 2000 10:06:16 -0700 (PDT) From: Stephen Krauth X-Sender: stephenk@azazel.inside.killermartian.com To: freebsd-questions@FreeBSD.org Subject: 4.1: Can't compile kernel, even as GENERIC! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Uh... since I can't even compile the GENERIC kernel, it seems unnecessary to send the kernel config file I was tweaking. Here is the uname info: FreeBSD beelzebub.inside.killermartian.com 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Fri Jul 28 14:30:31 GMT 2000 jkh@ref4.freebsd.org:/usr/src/sys/compile/GENERIC i386 Some other background: I may have done some damage when trying to get netscape working with XFree86 4.0.1. I had to force the XFree86-aoutlibs-3.3.3 port to install by modifying the REQ script (otherwise it claimed that there were no a.out libs installed, and please would I install compat22, which was already installed). Anyway, the error messages from make "buildkernel KERNEL=GENERIC" are below. Any help will be appreciated... Steve K. U.F.O. - "For the feeler gauge in you." . . . ===> vesa @ -> /usr/src/sys machine -> /usr/src/sys/i386/include touch opt_vga.h 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/vesa/../../i386/isa/vesa.c /usr/src/sys/modules/vesa/../../dev/syscons/scvesactl.c ===> 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 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 /tmp/ccW23031.s: Assembler messages: /tmp/ccW23031.s:1747: Error: .space specifies non-absolute value /tmp/ccW23031.s:2473: Error: undefined symbol L0` in operation setting PTmap /tmp/ccW23031.s:2473: Error: undefined symbol PDRSHIFT in operation setting PTmap /tmp/ccW23031.s:1715: Error: undefined symbol L0` in operation /tmp/ccW23031.s:1715: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:1716: Error: undefined symbol L0` in operation /tmp/ccW23031.s:1716: Error: undefined symbol PDESIZE in operation /tmp/ccW23031.s:2473: Error: undefined symbol L0` in operation setting APTmap /tmp/ccW23031.s:2473: Error: undefined symbol PDRSHIFT in operation setting APTmap /tmp/ccW23031.s:1724: Error: undefined symbol L0` in operation /tmp/ccW23031.s:1724: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:1725: Error: undefined symbol L0` in operation /tmp/ccW23031.s:1725: Error: undefined symbol PDESIZE in operation /tmp/ccW23031.s:1931: Error: undefined symbol UPAGES in operation /tmp/ccW23031.s:1931: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:2334: Error: undefined symbol BI_ESYMTAB in operation /tmp/ccW23031.s:2339: Error: undefined symbol BI_SYMTAB in operation /tmp/ccW23031.s:2340: Error: undefined symbol BI_ESYMTAB in operation /tmp/ccW23031.s:2344: Error: undefined symbol BI_KERNEND in operation /tmp/ccW23031.s:2356: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:2356: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:2360: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:2360: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:2364: Error: undefined symbol UPAGES in operation /tmp/ccW23031.s:2364: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:2364: Error: undefined symbol UPAGES in operation /tmp/ccW23031.s:2364: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:2369: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:2369: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:2372: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:2372: Error: undefined symbol PAGE_SIZE in operation /tmp/ccW23031.s:2429: Error: undefined symbol PAGE_SHIFT in operation /tmp/ccW23031.s:2445: Error: undefined symbol PAGE_SHIFT in operation /tmp/ccW23031.s:2446: Error: undefined symbol PAGE_SHIFT in operation /tmp/ccW23031.s:1857: Error: Subtraction of two symbols in different sections ".tmpstk" {.data section} - "KERNBASE" {*UND* section} at file address 28. /tmp/ccW23031.s:1880: Error: Subtraction of two symbols in different sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file address 38. /tmp/ccW23031.s:1881: Error: Subtraction of two symbols in different sections "edata" {*UND* section} - "KERNBASE" {*UND* section} at file address 43. /tmp/ccW23031.s:1893: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 61. /tmp/ccW23031.s:1909: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 81. /tmp/ccW23031.s:2118: Error: Subtraction of two symbols in different sections "kernelname" {*UND* section} - "KERNBASE" {*UND* section} at file address 375. /tmp/ccW23031.s:2146: Error: Subtraction of two symbols in different sections "bootinfo" {.data section} - "KERNBASE" {*UND* section} at file address 415. /tmp/ccW23031.s:2163: Error: Subtraction of two symbols in different sections "nfs_diskless" {*UND* section} - "KERNBASE" {*UND* section} at file address 447. /tmp/ccW23031.s:2168: Error: Subtraction of two symbols in different sections "nfs_diskless_valid" {*UND* section} - "KERNBASE" {*UND* section} at file address 460. /tmp/ccW23031.s:2181: Error: Subtraction of two symbols in different sections "boothowto" {*UND* section} - "KERNBASE" {*UND* section} at file address 474. /tmp/ccW23031.s:2183: Error: Subtraction of two symbols in different sections "bootdev" {*UND* section} - "KERNBASE" {*UND* section} at file address 482. /tmp/ccW23031.s:2221: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 534. /tmp/ccW23031.s:2226: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 550. /tmp/ccW23031.s:2227: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 560. /tmp/ccW23031.s:2228: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 570. /tmp/ccW23031.s:2229: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 580. /tmp/ccW23031.s:2230: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 590. /tmp/ccW23031.s:2249: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 631. /tmp/ccW23031.s:2276: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 666. /tmp/ccW23031.s:2277: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 676. /tmp/ccW23031.s:2278: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 686. /tmp/ccW23031.s:2284: Error: Subtraction of two symbols in different sections "cpu_high" {.data section} - "KERNBASE" {*UND* section} at file address 701. /tmp/ccW23031.s:2285: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 707. /tmp/ccW23031.s:2286: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 713. /tmp/ccW23031.s:2287: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 719. /tmp/ccW23031.s:2288: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 725. /tmp/ccW23031.s:2292: Error: Subtraction of two symbols in different sections "cpu_id" {.data section} - "KERNBASE" {*UND* section} at file address 738. /tmp/ccW23031.s:2293: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 744. /tmp/ccW23031.s:2300: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 761. /tmp/ccW23031.s:2306: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 778. /tmp/ccW23031.s:2310: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 790. /tmp/ccW23031.s:2323: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 801. /tmp/ccW23031.s:2331: Error: Subtraction of two symbols in different sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file address 823. /tmp/ccW23031.s:2334: Error: Negative of non-absolute symbol KERNBASE /tmp/ccW23031.s:2339: Error: Negative of non-absolute symbol KERNBASE /tmp/ccW23031.s:2340: Error: Negative of non-absolute symbol KERNBASE /tmp/ccW23031.s:2344: Error: Negative of non-absolute symbol KERNBASE /tmp/ccW23031.s:2352: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 882. /tmp/ccW23031.s:2353: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 888. /tmp/ccW23031.s:2356: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 894. /tmp/ccW23031.s:2356: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 906. /tmp/ccW23031.s:2357: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 924. /tmp/ccW23031.s:2360: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 930. /tmp/ccW23031.s:2360: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 942. /tmp/ccW23031.s:2361: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 960. /tmp/ccW23031.s:2364: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 966. /tmp/ccW23031.s:2364: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 978. /tmp/ccW23031.s:2365: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 996. /tmp/ccW23031.s:2367: Error: Subtraction of two symbols in different sections "proc0paddr" {.data section} - "KERNBASE" {*UND* section} at file address 1008. /tmp/ccW23031.s:2369: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1014. /tmp/ccW23031.s:2369: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1026. /tmp/ccW23031.s:2370: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1044. /tmp/ccW23031.s:2372: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1050. /tmp/ccW23031.s:2372: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1062. /tmp/ccW23031.s:2373: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1080. /tmp/ccW23031.s:2375: Error: Subtraction of two symbols in different sections "vm86paddr" {.data section} - "KERNBASE" {*UND* section} at file address 1092. /tmp/ccW23031.s:2390: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 1102. /tmp/ccW23031.s:2395: Error: Subtraction of two symbols in different sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file address 1119. /tmp/ccW23031.s:2398: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1142. /tmp/ccW23031.s:2401: Error: Subtraction of two symbols in different sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file address 1164. /tmp/ccW23031.s:2407: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 1185. /tmp/ccW23031.s:2412: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1203. /tmp/ccW23031.s:2415: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1222. /tmp/ccW23031.s:2418: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1244. /tmp/ccW23031.s:2420: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1263. /tmp/ccW23031.s:2423: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1286. /tmp/ccW23031.s:2425: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1305. /tmp/ccW23031.s:2430: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1347. /tmp/ccW23031.s:2433: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1370. /tmp/ccW23031.s:2435: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1389. /tmp/ccW23031.s:2441: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1431. /tmp/ccW23031.s:2447: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1473. /tmp/ccW23031.s:2453: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1496. /tmp/ccW23031.s:2456: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1512. /tmp/ccW23031.s:2459: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1535. /tmp/ccW23031.s:2462: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1554. /tmp/ccW23031.s:2465: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1577. /tmp/ccW23031.s:2468: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1596. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Exit 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message