Date: Wed, 04 Jan 2006 18:16:48 -0800 From: Jeffrey Williams <jeff@sailorfej.net> To: freebsd-stable@freebsd.org Subject: FreeBSD 6 non-GENERIC kernel build fails Message-ID: <43BC8190.1060403@sailorfej.net>
next in thread | raw e-mail | index | archive | help
Trying to build kernel with the following conf file, output follows, HELP! ***** CONF FILE ****** # # FreeBSD: src/sys/i386/conf/OENS, v1.0, Jeffrey Williams, 01042006-01 # machine i386 cpu I686_CPU ident OENS #options SCHED_ULE # ULE scheduler options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking #options INET6 # IPv6 communications protocols 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 NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=5000 # 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 # 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. options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC # Bus support. device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # 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 device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # 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 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 bge # Broadcom BCM570xx Gigabit Ethernet # Pseudo devices. device loop # Network loopback device random # Entropy device 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 device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) 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 ural # Ralink Technology RT2500USB wireless NICs device urio # Diamond Rio 500 MP3 player device uscanner # Scanners # USB Ethernet, requires miibus device aue # ADMtek USB Ethernet device axe # ASIX Electronics USB Ethernet device cdce # Generic USB over Ethernet device cue # CATC USB Ethernet device kue # Kawasaki LSI USB Ethernet device rue # RealTek RTL8150 USB Ethernet ***** CONF FILE END ******** ****** TRUNCATED OUTPUT ********* cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -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 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vnode_if.c touch hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=make sh /usr/src/sys/conf/newvers.sh OENS cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -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 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vers.c linking kernel if_ural.o(.text+0x66): In function `ural_free_tx_list': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0x12f): In function `ural_detach': : undefined reference to `ieee80211_ifdetach' if_ural.o(.text+0x2c1): In function `ural_rxeof': : undefined reference to `ieee80211_find_rxnode' if_ural.o(.text+0x2d7): In function `ural_rxeof': : undefined reference to `ieee80211_input' if_ural.o(.text+0x2dd): In function `ural_rxeof': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0x863): In function `ural_start': : undefined reference to `ieee80211_find_txnode' if_ural.o(.text+0x88c): In function `ural_start': : undefined reference to `ieee80211_encap' if_ural.o(.text+0x9cd): In function `ural_start': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0xa05): In function `ural_start': : undefined reference to `ieee80211_encap' if_ural.o(.text+0xa1b): In function `ural_start': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0xa2f): In function `ural_start': : undefined reference to `ieee80211_crypto_encap' if_ural.o(.text+0xe1b): In function `ural_txeof': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0xec2): In function `ural_watchdog': : undefined reference to `ieee80211_watchdog' if_ural.o(.text+0x159b): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x15c1): In function `ural_attach': : undefined reference to `ieee80211_ifattach' if_ural.o(.text+0x15f2): In function `ural_attach': : undefined reference to `ieee80211_media_status' if_ural.o(.text+0x15fd): In function `ural_attach': : undefined reference to `ieee80211_media_init' if_ural.o(.text+0x16cb): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x16ff): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x1734): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x1786): In function `ural_attach': : undefined reference to `ieee80211_announce' if_ural.o(.text+0x19b2): In function `ural_set_chan': : undefined reference to `ieee80211_chan2ieee' if_ural.o(.text+0x1ed4): In function `ural_task': : undefined reference to `ieee80211_beacon_alloc' if_ural.o(.text+0x27f4): In function `ural_media_change': : undefined reference to `ieee80211_media_change' if_ural.o(.text+0x2852): In function `ural_media_change': : undefined reference to `ieee80211_media_change' if_ural.o(.text+0x290b): In function `ural_ioctl': : undefined reference to `ieee80211_ioctl' if_ural.o(.text+0x1a1): In function `ural_next_scan': : undefined reference to `ieee80211_next_scan' *** Error code 1 Stop in /usr/obj/usr/src/sys/OENS. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. oens1# ***** END TRUNCATED OUTPUT ******
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43BC8190.1060403>