problem, when I compiling the kernel
YaBe at Seeder
yabe at ms11.seeder.net
Fri Feb 13 18:30:42 PST 2004
Here are the config file and the error i get while compiling the kernel.
Thanx :-)
machine i386
cpu I686_CPU
ident GENERIC2
#To statically compile in device wiring instead of /boot/device.hints
hints "/boot/device.hints" #Default places to look for
devices.
#makeoptions DEBUG=-g #Build kernel with gdb(1) debug
symbols
options SCHED_4BSD #4BSD scheduler
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big
directories
options MD_ROOT #MD is a potential root device
options CD9660 #ISO 9660 Filesystem
options PROCFS #Process filesystem (requires
PSEUDOFS)
options PSEUDOFS #Pseudo-filesystem framework
options COMPAT_43 #Compatible with BSD 4.3 [KEEP
THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time
extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
# Debugging for use in -current
#options DDB #Enable the kernel debugger
#options INVARIANTS #Enable calls of extra sanity
checking
options INVARIANT_SUPPORT #Extra sanity checks of internal
structures, r
#options WITNESS #Enable checks to detect deadlocks
and cycles
#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for
speed
# To make an SMP kernel, the next two are needed
#options SMP # Symmetric MultiProcessor Kernel
#options APIC_IO # Symmetric (APIC) I/O
device isa
device eisa
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
device atapist # ATAPI tape drives
options ATA_STATIC_ID #Static device numbering
# SCSI Controllers
# RAID controllers interfaced to the SCSI subsystem
# SCSI peripherals
# RAID controllers
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
# Enable this for the pcvt (VT220 compatible) console driver
#device vt
#options XSERVER # support for X server on a vt
console
#options FAT_CURSOR # start with block cursor
device agp # support several AGP chipsets
# Floating point support - do not disable.
device npx
# Power management support (see NOTES for more options)
device apm
# Add suspend/resume support for the i8254.
device pmtimer
# PCCARD (PCMCIA) support
# Pcmcia and cardbus bridge support
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# PCI Ethernet NICs.
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
device rl # RealTek 8129/8139
device ste # Sundance ST201 (D-Link DFE-550TX)
# ISA Ethernet NICs. pccard nics included.
# 'device ed' requires 'device miibus'
# ISA devices that use the old ISA shims
#device le
# Wireless NIC cards
# Pseudo devices - the number indicates how many units to allocate.
device random # Entropy device
device loop # Network loopback
device ether # Ethernet support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device bpf # Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device urio # Diamond Rio 500 MP3 player
device uscanner # Scanners
# USB Ethernet, requires mii
device aue # ADMtek USB ethernet
device axe # ASIX Electronics USB ethernet
device cue # CATC USB ethernet
device kue # Kawasaki LSI USB ethernet
# FireWire support
The error message is:
../../../dev/pci/pci_pci.c: In function `pcib_attach_common':
../../../dev/pci/pci_pci.c:143: `PCIM_BRIO_MASK' undeclared (first use in
this function)
../../../dev/pci/pci_pci.c:143: (Each undeclared identifier is reported only
once
../../../dev/pci/pci_pci.c:143: for each function it appears in.)
../../../dev/pci/pci_pci.c:143: `PCIM_BRIO_32' undeclared (first use in this
function)
../../../dev/pci/pci_pci.c: In function `pcib_read_ivar':
../../../dev/pci/pci_pci.c:233: `PCIB_IVAR_BUS' undeclared (first use in
this function)
../../../dev/pci/pci_pci.c: In function `pcib_write_ivar':
../../../dev/pci/pci_pci.c:246: `PCIB_IVAR_BUS' undeclared (first use in
this function)
cc1: warnings being treated as errors
../../../dev/pci/pci_pci.c: In function `pcib_route_interrupt':
../../../dev/pci/pci_pci.c:506: warning: implicit declaration of function
`PCI_INTERRUPT_VALID'
*** Error code 1
Stop in /usr/src/sys/i386/compile/GENERIC2.
More information about the freebsd-questions
mailing list