Date: Tue, 14 Dec 2004 15:24:44 -0600 From: Mike Meyer <mwm@mired.org> To: questions@freebsd.org Cc: phk@freebsd.org Subject: Can't compile kernel... Message-ID: <16831.23068.898160.406054@guru.mired.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Ok, I'm an old hand at building BSD kernels. Been doing it since BSD 4.2, and FreeBSD 3.0. But the code for 5-STABLE fails to compile for me. I've tried 5.3 from the CD-ROM, RELENG_5_3_0, RELENG_5_3, and RELENG_5. They all fail to build with this error: cc -c -O -pipe -march=athlon -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../dev/fb/vga.c ../../../dev/fb/vga.c:1346: warning: 'filll_io' defined but not used ../../../dev/fb/vga.c:1336: warning: 'fill' defined but not used I've included phk@freebsd in the mail, as he was the last person to touch this file on those branches. I'll attach the kernel config file as that's almost certainly relevant. Any help in getting this kernel to build would be greatly appreciated. Thanx, <mike [-- Attachment #2 --] # # GURU -- Mike Athlon workstation. # machine i386 cpu I686_CPU ident GURU # GURU-specific debug options. makeoptions DEBUG=-g # GURU-specific CPU options options PQ_CACHESIZE=256 # Whimper - color for smaller cache options CPU_ATHLON_SSE_HACK options SCHED_4BSD # 4BSD scheduler options INET #InterNETworking options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options NFSSERVER # Network Filesystem Server options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI 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 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 ADAPTIVE_GIANT # Giant mutex is adaptive. # Extra options for GURU options INCLUDE_CONFIG_FILE #Keep the config file in the kernel(!) options IPFIREWALL #Enable the ipfw code options IPFIREWALL_VERBOSE #And let it talk a lot. # Up some of the memory limits so we don't run out. options SHMALL=1536 options NMBCLUSTERS=3072 device apic # I/O APIC # busses device isa device pci # Floppy drives device fdc # SCSI Controllers device ahc # AHA2940 and onboard AIC7xxx devices # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device cd # CD device pass # Passthrough device (direct SCSI access) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc device atkbd device psm device vga options VGA_NO_FONT_LOADING # don't save/load font options VGA_NO_MODE_CHANGE # don't change video modes # syscons is the default console driver, resembling an SCO console device sc options MAXCONS=4 # number of virtual consoles options SC_DFLT_FONT # compile font in makeoptions SC_DFLT_FONT=iso options SC_DISABLE_REBOOT # disable reboot key sequence options SC_NO_FONT_LOADING options SC_NO_HISTORY options SC_NO_SYSMOUSE # Floating point support - do not disable. device npx # Serial (COM) ports device sio device sio # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer # 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 sis # Silicon Integrated Systems SiS 900/SiS 7016 # Pseudo devices device loop # Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device bpf # Berkeley packet filter # USB support device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da # Devices in GURU that aren't in GENERIC # The sound card device sound # Hauppage WinTV card support device bktr device smbus device iicbus device iicbb device intpm device iicsmb device smb [-- Attachment #3 --] -- Mike Meyer <mwm@mired.org> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16831.23068.898160.406054>
