Date: Fri, 4 Aug 2000 00:55:00 -0500 From: Cletus Lichte <lichte@worldinter.net> To: freebsd-questions@FreeBSD.org Subject: Kernel compile failure Message-ID: <20000804005500.A4075@lichte.worldinter.net>
next in thread | raw e-mail | index | archive | help
I am trying to compile a kernel for 4.1 and get the following error at the
same point every time. I'm sorry for the length of the output, but I'm not
sure how much info is needed to show the problem. I will put the config file
for my kernel at the end.
Compile 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@/../includ
e -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/../i
nclude -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /usr/
src/sys/i386/i386/locore.s
/tmp/ccII4025.s: Assembler messages:
/tmp/ccII4025.s:1743: Error: .space specifies non-absolute value
/tmp/ccII4025.s:2454: Error: undefined symbol L0^A in operation setting PTmap
/tmp/ccII4025.s:2454: Error: undefined symbol PDRSHIFT in operation setting PTma
p
/tmp/ccII4025.s:1711: Error: undefined symbol L0^A in operation
/tmp/ccII4025.s:1711: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:1712: Error: undefined symbol L0^A in operation
/tmp/ccII4025.s:1712: Error: undefined symbol PDESIZE in operation
/tmp/ccII4025.s:2454: Error: undefined symbol L0^A in operation setting APTmap
/tmp/ccII4025.s:2454: Error: undefined symbol PDRSHIFT in operation setting APTm
ap
/tmp/ccII4025.s:1720: Error: undefined symbol L0^A in operation
/tmp/ccII4025.s:1720: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:1721: Error: undefined symbol L0^A in operation
/tmp/ccII4025.s:1721: Error: undefined symbol PDESIZE in operation
/tmp/ccII4025.s:1927: Error: undefined symbol UPAGES in operation
/tmp/ccII4025.s:1927: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:2315: Error: undefined symbol BI_ESYMTAB in operation
/tmp/ccII4025.s:2320: Error: undefined symbol BI_SYMTAB in operation
/tmp/ccII4025.s:2321: Error: undefined symbol BI_ESYMTAB in operation
/tmp/ccII4025.s:2325: Error: undefined symbol BI_KERNEND in operation
/tmp/ccII4025.s:2337: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:2337: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:2341: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:2341: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:2345: Error: undefined symbol UPAGES in operation
/tmp/ccII4025.s:2345: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:2345: Error: undefined symbol UPAGES in operation
/tmp/ccII4025.s:2345: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:2350: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:2350: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:2353: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:2353: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccII4025.s:2410: Error: undefined symbol PAGE_SHIFT in operation
/tmp/ccII4025.s:2426: Error: undefined symbol PAGE_SHIFT in operation
/tmp/ccII4025.s:2427: Error: undefined symbol PAGE_SHIFT in operation
/tmp/ccII4025.s:1853: Error: Subtraction of two symbols in different sections ".
tmpstk" {.data section} - "KERNBASE" {*UND* section} at file address 28.
/tmp/ccII4025.s:1876: Error: Subtraction of two symbols in different sections "e
nd" {*UND* section} - "KERNBASE" {*UND* section} at file address 38.
/tmp/ccII4025.s:1877: Error: Subtraction of two symbols in different sections "e
data" {*UND* section} - "KERNBASE" {*UND* section} at file address 43.
/tmp/ccII4025.s:1889: Error: Subtraction of two symbols in different sections "c
pu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 61.
/tmp/ccII4025.s:1905: Error: Subtraction of two symbols in different sections "I
dlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 81.
/tmp/ccII4025.s:2114: Error: Subtraction of two symbols in different sections "k
ernelname" {*UND* section} - "KERNBASE" {*UND* section} at file address 371.
/tmp/ccII4025.s:2142: Error: Subtraction of two symbols in different sections "b
ootinfo" {.data section} - "KERNBASE" {*UND* section} at file address 411.
/tmp/ccII4025.s:2162: Error: Subtraction of two symbols in different sections "b
oothowto" {*UND* section} - "KERNBASE" {*UND* section} at file address 435.
/tmp/ccII4025.s:2164: Error: Subtraction of two symbols in different sections "b
ootdev" {*UND* section} - "KERNBASE" {*UND* section} at file address 443.
/tmp/ccII4025.s:2202: Error: Subtraction of two symbols in different sections "c
pu" {.data section} - "KERNBASE" {*UND* section} at file address 495.
/tmp/ccII4025.s:2207: Error: Subtraction of two symbols in different sections "c
pu" {.data section} - "KERNBASE" {*UND* section} at file address 511.
/tmp/ccII4025.s:2208: Error: Subtraction of two symbols in different sections "c
pu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 521.
/tmp/ccII4025.s:2209: Error: Subtraction of two symbols in different sections "c
pu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 531.
/tmp/ccII4025.s:2210: Error: Subtraction of two symbols in different sections "c
pu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 541.
/tmp/ccII4025.s:2211: Error: Subtraction of two symbols in different sections "c
pu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 551.
/tmp/ccII4025.s:2230: Error: Subtraction of two symbols in different sections "c
pu" {.data section} - "KERNBASE" {*UND* section} at file address 592.
/tmp/ccII4025.s:2257: Error: Subtraction of two symbols in different sections "c
pu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 627.
/tmp/ccII4025.s:2258: Error: Subtraction of two symbols in different sections "c
pu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 637.
/tmp/ccII4025.s:2259: Error: Subtraction of two symbols in different sections "c
pu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 647.
/tmp/ccII4025.s:2265: Error: Subtraction of two symbols in different sections "c
pu_high" {.data section} - "KERNBASE" {*UND* section} at file address 662.
/tmp/ccII4025.s:2266: Error: Subtraction of two symbols in different sections "c
pu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 668.
/tmp/ccII4025.s:2267: Error: Subtraction of two symbols in different sections "c
pu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 674.
/tmp/ccII4025.s:2268: Error: Subtraction of two symbols in different sections "c
pu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 680.
/tmp/ccII4025.s:2269: Error: Subtraction of two symbols in different sections "c
pu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 686.
/tmp/ccII4025.s:2273: Error: Subtraction of two symbols in different sections "c
pu_id" {.data section} - "KERNBASE" {*UND* section} at file address 699.
/tmp/ccII4025.s:2274: Error: Subtraction of two symbols in different sections "c
pu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 705.
/tmp/ccII4025.s:2281: Error: Subtraction of two symbols in different sections "c
pu" {.data section} - "KERNBASE" {*UND* section} at file address 722.
/tmp/ccII4025.s:2287: Error: Subtraction of two symbols in different sections "c
pu" {.data section} - "KERNBASE" {*UND* section} at file address 739.
/tmp/ccII4025.s:2291: Error: Subtraction of two symbols in different sections "c
pu" {.data section} - "KERNBASE" {*UND* section} at file address 751.
/tmp/ccII4025.s:2304: Error: Subtraction of two symbols in different sections "c
pu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 762.
/tmp/ccII4025.s:2312: Error: Subtraction of two symbols in different sections "e
nd" {*UND* section} - "KERNBASE" {*UND* section} at file address 784.
/tmp/ccII4025.s:2315: Error: Negative of non-absolute symbol KERNBASE
/tmp/ccII4025.s:2320: Error: Negative of non-absolute symbol KERNBASE
/tmp/ccII4025.s:2321: Error: Negative of non-absolute symbol KERNBASE
/tmp/ccII4025.s:2325: Error: Negative of non-absolute symbol KERNBASE
/tmp/ccII4025.s:2333: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 843.
/tmp/ccII4025.s:2334: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 849.
/tmp/ccII4025.s:2337: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 855.
/tmp/ccII4025.s:2337: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 867.
/tmp/ccII4025.s:2338: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 885.
/tmp/ccII4025.s:2341: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 891.
/tmp/ccII4025.s:2341: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 903.
/tmp/ccII4025.s:2342: Error: Subtraction of two symbols in different sections "I
dlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 921.
/tmp/ccII4025.s:2345: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 927.
/tmp/ccII4025.s:2345: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 939.
/tmp/ccII4025.s:2346: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 957.
/tmp/ccII4025.s:2348: Error: Subtraction of two symbols in different sections "p
roc0paddr" {.data section} - "KERNBASE" {*UND* section} at file address 969.
/tmp/ccII4025.s:2350: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 975.
/tmp/ccII4025.s:2350: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 987.
/tmp/ccII4025.s:2351: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1005.
/tmp/ccII4025.s:2353: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1011.
/tmp/ccII4025.s:2353: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1023.
/tmp/ccII4025.s:2354: Error: Subtraction of two symbols in different sections "v
m86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1041.
/tmp/ccII4025.s:2356: Error: Subtraction of two symbols in different sections "v
m86paddr" {.data section} - "KERNBASE" {*UND* section} at file address 1053.
/tmp/ccII4025.s:2371: Error: Subtraction of two symbols in different sections "c
pu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 1063.
/tmp/ccII4025.s:2376: Error: Subtraction of two symbols in different sections "e
text" {*UND* section} - "KERNBASE" {*UND* section} at file address 1080.
/tmp/ccII4025.s:2379: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1103.
/tmp/ccII4025.s:2382: Error: Subtraction of two symbols in different sections "e
text" {*UND* section} - "KERNBASE" {*UND* section} at file address 1125.
/tmp/ccII4025.s:2388: Error: Subtraction of two symbols in different sections "c
pu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 1146.
/tmp/ccII4025.s:2393: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1164.
/tmp/ccII4025.s:2396: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1183.
/tmp/ccII4025.s:2399: Error: Subtraction of two symbols in different sections "I
dlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1205.
/tmp/ccII4025.s:2401: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1224.
/tmp/ccII4025.s:2404: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1247.
/tmp/ccII4025.s:2406: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1266.
/tmp/ccII4025.s:2411: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1308.
/tmp/ccII4025.s:2414: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1331.
/tmp/ccII4025.s:2416: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1350.
/tmp/ccII4025.s:2422: Error: Subtraction of two symbols in different sections "v
m86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1392.
/tmp/ccII4025.s:2428: Error: Subtraction of two symbols in different sections "v
m86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1434.
/tmp/ccII4025.s:2434: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1457.
/tmp/ccII4025.s:2437: Error: Subtraction of two symbols in different sections "I
dlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1473.
/tmp/ccII4025.s:2440: Error: Subtraction of two symbols in different sections ".
data" {.data section} - "KERNBASE" {*UND* section} at file address 1496.
/tmp/ccII4025.s:2443: Error: Subtraction of two symbols in different sections "I
dlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1515.
/tmp/ccII4025.s:2446: Error: Subtraction of two symbols in different sections "I
dlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1538.
/tmp/ccII4025.s:2449: Error: Subtraction of two symbols in different sections "I
dlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1557.
*** Error code 1
Stop in /usr/obj/usr/src/sys/LICHTE.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
END.
_______________________________________________________________________________
Here is the config file for my Kernel:
machine i386
cpu I486_CPU
ident LICHTE
maxusers 32
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
device isa
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 flags 0x1
device psm0 at atkbdc? irq 12
device vga0 at isa?
# splash screen/screen saver
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100
# 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? port IO_COM4 irq 9
# Parallel port
device ppc0 at isa? irq 7
device ppbus # Parallel port bus (required)
device lpt # Printer
device ppi # Parallel port interface device
# Pseudo devices - the number indicates how many units to allocated.
pseudo-device loop # Network loopback
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device bpf #Berkeley packet filter
# Sound support
device pcm
_______________________________________________________________________________
There it is. My system is a Cyrix 6x686 +166, 128 meg of ram. I didn't have
any problem with the 3.4 kernel compile.
Thanks for any suggestions!
Cletus Lichte, Jr.
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?20000804005500.A4075>
