Date: Thu, 27 Jul 2000 20:19:44 -0400 (EDT) From: Matt Heckaman <matt@ARPA.MAIL.NET> To: FreeBSD-STABLE <freebsd-stable@freebsd.org> Subject: Kernel build problem with buildkernel Message-ID: <Pine.BSF.4.21.0007272013120.11758-300000@epsilon.lucida.qc.ca>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I CVSup'd from 4.0-stable to 4.1-stable last night, the upgrade went well as did the first make buildkernel & installkernel, as advised. I rebooted the system, cleaned up from the make world, blew /usr/obj, etc. I then realized that I forgot to put sound back in the kernel. So I fix my config file and go to rebuild with make buildkernel KERNEL=EPSILON, and it died out. Oddly, if I build a kernel the old way, everything works just fine. I have MODULES_WITH_WORLD=true set in my make.conf, though I tried it without it and it did not change anything. I have attached both my kernel configuration and the error, hopefully someone can help me out. I did do a search on the archives and found several others with exactly this problem though I did not see any resolution in the archives. I just find it odd that the first buildkernel went fine, but then it never worked again. The only thing I can think of is that it needs /usr/obj to be there and populated from a make world, but that would seem silly. Cheers, Matt Heckaman * Matt Heckaman - mailto:matt@lucida.qc.ca http://www.lucida.qc.ca/ * * GPG fingerprint - A9BC F3A8 278E 22F2 9BDA BFCF 74C3 2D31 C035 5390 * -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.2 (FreeBSD) Comment: http://www.lucida.qc.ca/pgp iD8DBQE5gNGjdMMtMcA1U5ARAjcoAJ9fIlaXuoqlQ7I9t3wUxhuWhMVuMQCgmmSh ELA3kw+Gfe1n/Zq6ApaT7jg= =VKjG -----END PGP SIGNATURE----- [-- Attachment #2 --] rm -f .depend mv -f .newdep .depend 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/src/FreeBSD/sys -I/src/FreeBSD/sys/../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /src/FreeBSD/sys/i386/i386/locore.s /tmp/ccFg9500.s: Assembler messages: /tmp/ccFg9500.s:1743: Error: .space specifies non-absolute value /tmp/ccFg9500.s:2454: Error: undefined symbol L0 in operation setting PTmap /tmp/ccFg9500.s:2454: Error: undefined symbol PDRSHIFT in operation setting PTmap /tmp/ccFg9500.s:1711: Error: undefined symbol L0 in operation /tmp/ccFg9500.s:1711: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:1712: Error: undefined symbol L0 in operation /tmp/ccFg9500.s:1712: Error: undefined symbol PDESIZE in operation /tmp/ccFg9500.s:2454: Error: undefined symbol L0 in operation setting APTmap /tmp/ccFg9500.s:2454: Error: undefined symbol PDRSHIFT in operation setting APTmap /tmp/ccFg9500.s:1720: Error: undefined symbol L0 in operation /tmp/ccFg9500.s:1720: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:1721: Error: undefined symbol L0 in operation /tmp/ccFg9500.s:1721: Error: undefined symbol PDESIZE in operation /tmp/ccFg9500.s:1927: Error: undefined symbol UPAGES in operation /tmp/ccFg9500.s:1927: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:2315: Error: undefined symbol BI_ESYMTAB in operation /tmp/ccFg9500.s:2320: Error: undefined symbol BI_SYMTAB in operation /tmp/ccFg9500.s:2321: Error: undefined symbol BI_ESYMTAB in operation /tmp/ccFg9500.s:2325: Error: undefined symbol BI_KERNEND in operation /tmp/ccFg9500.s:2337: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:2337: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:2341: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:2341: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:2345: Error: undefined symbol UPAGES in operation /tmp/ccFg9500.s:2345: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:2345: Error: undefined symbol UPAGES in operation /tmp/ccFg9500.s:2345: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:2350: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:2350: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:2353: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:2353: Error: undefined symbol PAGE_SIZE in operation /tmp/ccFg9500.s:2410: Error: undefined symbol PAGE_SHIFT in operation /tmp/ccFg9500.s:2426: Error: undefined symbol PAGE_SHIFT in operation /tmp/ccFg9500.s:2427: Error: undefined symbol PAGE_SHIFT in operation /tmp/ccFg9500.s:1853: Error: Subtraction of two symbols in different sections ".tmpstk" {.data section} - "KERNBASE" {*UND* section} at file address 28. /tmp/ccFg9500.s:1876: Error: Subtraction of two symbols in different sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file address 38. /tmp/ccFg9500.s:1877: Error: Subtraction of two symbols in different sections "edata" {*UND* section} - "KERNBASE" {*UND* section} at file address 43. /tmp/ccFg9500.s:1889: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 61. /tmp/ccFg9500.s:1905: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 81. /tmp/ccFg9500.s:2114: Error: Subtraction of two symbols in different sections "kernelname" {*UND* section} - "KERNBASE" {*UND* section} at file address 371. /tmp/ccFg9500.s:2142: Error: Subtraction of two symbols in different sections "bootinfo" {.data section} - "KERNBASE" {*UND* section} at file address 411. /tmp/ccFg9500.s:2162: Error: Subtraction of two symbols in different sections "boothowto" {*UND* section} - "KERNBASE" {*UND* section} at file address 435. /tmp/ccFg9500.s:2164: Error: Subtraction of two symbols in different sections "bootdev" {*UND* section} - "KERNBASE" {*UND* section} at file address 443. /tmp/ccFg9500.s:2202: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 495. /tmp/ccFg9500.s:2207: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 511. /tmp/ccFg9500.s:2208: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 521. /tmp/ccFg9500.s:2209: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 531. /tmp/ccFg9500.s:2210: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 541. /tmp/ccFg9500.s:2211: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 551. /tmp/ccFg9500.s:2230: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 592. /tmp/ccFg9500.s:2257: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 627. /tmp/ccFg9500.s:2258: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 637. /tmp/ccFg9500.s:2259: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 647. /tmp/ccFg9500.s:2265: Error: Subtraction of two symbols in different sections "cpu_high" {.data section} - "KERNBASE" {*UND* section} at file address 662. /tmp/ccFg9500.s:2266: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 668. /tmp/ccFg9500.s:2267: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 674. /tmp/ccFg9500.s:2268: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 680. /tmp/ccFg9500.s:2269: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 686. /tmp/ccFg9500.s:2273: Error: Subtraction of two symbols in different sections "cpu_id" {.data section} - "KERNBASE" {*UND* section} at file address 699. /tmp/ccFg9500.s:2274: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 705. /tmp/ccFg9500.s:2281: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 722. /tmp/ccFg9500.s:2287: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 739. /tmp/ccFg9500.s:2291: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 751. /tmp/ccFg9500.s:2304: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 762. /tmp/ccFg9500.s:2312: Error: Subtraction of two symbols in different sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file address 784. /tmp/ccFg9500.s:2315: Error: Negative of non-absolute symbol KERNBASE /tmp/ccFg9500.s:2320: Error: Negative of non-absolute symbol KERNBASE /tmp/ccFg9500.s:2321: Error: Negative of non-absolute symbol KERNBASE /tmp/ccFg9500.s:2325: Error: Negative of non-absolute symbol KERNBASE /tmp/ccFg9500.s:2333: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 843. /tmp/ccFg9500.s:2334: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 849. /tmp/ccFg9500.s:2337: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 855. /tmp/ccFg9500.s:2337: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 867. /tmp/ccFg9500.s:2338: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 885. /tmp/ccFg9500.s:2341: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 891. /tmp/ccFg9500.s:2341: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 903. /tmp/ccFg9500.s:2342: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 921. /tmp/ccFg9500.s:2345: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 927. /tmp/ccFg9500.s:2345: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 939. /tmp/ccFg9500.s:2346: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 957. /tmp/ccFg9500.s:2348: Error: Subtraction of two symbols in different sections "proc0paddr" {.data section} - "KERNBASE" {*UND* section} at file address 969. /tmp/ccFg9500.s:2350: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 975. /tmp/ccFg9500.s:2350: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 987. /tmp/ccFg9500.s:2351: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1005. /tmp/ccFg9500.s:2353: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1011. /tmp/ccFg9500.s:2353: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1023. /tmp/ccFg9500.s:2354: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1041. /tmp/ccFg9500.s:2356: Error: Subtraction of two symbols in different sections "vm86paddr" {.data section} - "KERNBASE" {*UND* section} at file address 1053. /tmp/ccFg9500.s:2371: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 1063. /tmp/ccFg9500.s:2376: Error: Subtraction of two symbols in different sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file address 1080. /tmp/ccFg9500.s:2379: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1103. /tmp/ccFg9500.s:2382: Error: Subtraction of two symbols in different sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file address 1125. /tmp/ccFg9500.s:2388: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 1146. /tmp/ccFg9500.s:2393: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1164. /tmp/ccFg9500.s:2396: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1183. /tmp/ccFg9500.s:2399: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1205. /tmp/ccFg9500.s:2401: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1224. /tmp/ccFg9500.s:2404: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1247. /tmp/ccFg9500.s:2406: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1266. /tmp/ccFg9500.s:2411: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1308. /tmp/ccFg9500.s:2414: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1331. /tmp/ccFg9500.s:2416: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1350. /tmp/ccFg9500.s:2422: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1392. /tmp/ccFg9500.s:2428: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1434. /tmp/ccFg9500.s:2434: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1457. /tmp/ccFg9500.s:2437: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1473. /tmp/ccFg9500.s:2440: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1496. /tmp/ccFg9500.s:2443: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1515. /tmp/ccFg9500.s:2446: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1538. /tmp/ccFg9500.s: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/src/FreeBSD/sys/EPSILON. *** Error code 1 Stop in /src/FreeBSD. *** Error code 1 Stop in /src/FreeBSD. [-- Attachment #3 --] # EPSILON.LUCIDA.QC.CA, 4.x-STABLE KERNEL # Created: March 19 2000 machine i386 cpu I686_CPU ident EPSILON maxusers 128 options NMBCLUSTERS=8192 # Main Options options INET # InterNETworking options FFS # Berkeley Fast Filesystem options FFS_ROOT # FFS usable as root device: keep this! options MFS # Memory Filesystem options MD_ROOT # MD is a potential root device options PROCFS # Process filesystem options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options CD9660_ROOT # CD-ROM usable as root. "CD9660" options COMPAT_43 # Compatible with BSD 4.3 options COMPAT_LINUX # Compatible with Linux options UCONSOLE # Allow users to grab the console options USERCONFIG # boot -c editor options VISUAL_USERCONFIG # visual boot -c editor options KTRACE # ktrace(1) syscall trace support # POSIX Options options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L # SYSV Options options SYSVSHM options SYSVSEM options SYSVMSG # Allow user-level control of i386 ldt (for WINE) options USER_LDT # Firewall Options options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT device isa device eisa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device vga0 at isa? # syscons is the default console driver, resembling an SCO console device sc0 at isa? # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device ppi # Parallel port interface device # For PnP/PCI sound cards device pcm # PCI Ethernet NICs that use the common MII bus controller code. device miibus # MII bus support device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Pseudo devices pseudo-device bpf 4 # Berkeley packet filter pseudo-device snp 4 # "Snoop" devices. pseudo-device pty 32 # Pseudo-ttys (telnet etc) pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device splash # Splash screen/screen saver
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007272013120.11758-300000>
