From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 10:22:05 2008 Return-Path: Delivered-To: Freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1362F106566B for ; Sat, 28 Jun 2008 10:22:05 +0000 (UTC) (envelope-from martes@mgwigglesworth.com) Received: from omr9.networksolutionsemail.com (omr9.networksolutionsemail.com [205.178.146.59]) by mx1.freebsd.org (Postfix) with ESMTP id AC70E8FC20 for ; Sat, 28 Jun 2008 10:22:04 +0000 (UTC) (envelope-from martes@mgwigglesworth.com) Received: from mail.networksolutionsemail.com (ns-omr9.mgt.hosting.dc2.netsol.com [10.49.6.72]) by omr9.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id m5SAM3Fj017346 for ; Sat, 28 Jun 2008 06:22:03 -0400 Received: (qmail 13368 invoked by uid 78); 28 Jun 2008 10:22:00 -0000 Received: from unknown (HELO ?192.168.5.13?) (marteswigg@mgwigglesworth.com@68.57.94.93) by ns-omr9.lb.hosting.dc2.netsol.com with SMTP; 28 Jun 2008 10:22:00 -0000 From: Martes Wigglesworth To: Freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, twuug@twuug.org Content-Type: text/plain Organization: M.G. Wigglesworth, LLC Date: Sat, 28 Jun 2008 06:21:59 -0400 Message-Id: <1214648519.15425.40.camel@devstation> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0-2mdv2008.0 Content-Transfer-Encoding: 7bit Cc: Subject: [Fwd: Re: Problems with ieee80211 dependencies...] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: martes@mgwigglesworth.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 10:22:05 -0000 I had to wait for the rebuild process to error out again, however, here is the resulting segment of output. I included the parts that begin to indicates an error. kdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/src/sys/i386/compile/DATASERVER /usr/src/sys/modules/zyd/../../dev/usb/if_zyd.c linking kernel.debug if_dc.o(.text+0x955): In function `dc_mchash_le': ../../../dev/dc/if_dc.c:1019: undefined reference to `ether_crc32_le' if_dc.o(.text+0x9f2): In function `dc_mchash_be': ../../../dev/dc/if_dc.c:1054: undefined reference to `ether_crc32_be' if_dc.o(.text+0x1df5): In function `dc_detach': ../../../dev/dc/if_dc.c:2320: undefined reference to `ether_ifdetach' if_dc.o(.text+0x42d7): In function `dc_ioctl': ../../../dev/dc/if_dc.c:3632: undefined reference to `ether_ioctl' if_dc.o(.text+0x65a5): In function `dc_attach': ../../../dev/dc/if_dc.c:2270: undefined reference to `ether_ifattach' if_dc.o(.text+0x65fc):../../../dev/dc/if_dc.c:2278: undefined reference to `ether_ifdetach' if_fxp.o(.text+0x2086): In function `fxp_detach': ../../../dev/fxp/if_fxp.c:919: undefined reference to `ether_ifdetach' if_fxp.o(.text+0x2402): In function `fxp_ioctl': ../../../dev/fxp/if_fxp.c:2467: undefined reference to `ether_ioctl' if_fxp.o(.text+0x429f): In function `fxp_attach': ../../../dev/fxp/if_fxp.c:789: undefined reference to `ether_ifattach' if_fxp.o(.text+0x431b):../../../dev/fxp/if_fxp.c:815: undefined reference to `ether_ifdetach' if.o(.text+0x1027): In function `if_setlladdr': ../../../net/if.c:2646: undefined reference to `arp_ifinit' if_gif.o(.text+0x941): In function `gif_input': ../../../net/if_gif.c:560: undefined reference to `bridge_input_p' if_gif.o(.text+0x95b):../../../net/if_gif.c:567: undefined reference to `ether_demux' ip_dummynet.o(.text+0x14db): In function `dummynet_send': ../../../netinet/ip_dummynet.c:908: undefined reference to `bridge_dn_p' ip_dummynet.o(.text+0x153b):../../../netinet/ip_dummynet.c:926: undefined reference to `ether_demux' ip_dummynet.o(.text+0x154c):../../../netinet/ip_dummynet.c:929: undefined reference to `ether_output_frame' if_xl.o(.text+0x2078): In function `xl_setmulti_hash': ../../../pci/if_xl.c:789: undefined reference to `ether_crc32_be' if_xl.o(.text+0x38f6): In function `xl_detach': ../../../pci/if_xl.c:1674: undefined reference to `ether_ifdetach' if_xl.o(.text+0x4712): In function `xl_ioctl': ../../../pci/if_xl.c:3203: undefined reference to `ether_ioctl' if_xl.o(.text+0x591d): In function `xl_attach': ../../../pci/if_xl.c:1564: undefined reference to `ether_ifattach' if_xl.o(.text+0x5970):../../../pci/if_xl.c:1570: undefined reference to `ether_ifdetach' *** Error code 1 Stop in /usr/src/sys/i386/compile/DATASERVER. >Nothing jumps out at me, can you send the output of the build failure? > >-Kip > >On Fri, Jun 27, 2008 at 4:29 PM, Martes Wigglesworth > wrote: > I am having a hard time compiling a new kernel when I remove the > wireless aspects of the config file. I have removed all options/devices > that seem to still require ieee80211 however, I still find that the > network section of the compile do not work. I.E. that is where the > compile stops, and indicates that an unknown reference to ieee80211 > functions... > > What in the GENERIC config file requires ieee80211? I have included my > config file below: > > cpu I686_CPU > ident DATASERVER > > # To statically compile in device wiring instead of /boot/device.hints > #hints "GENERIC.hints" # Default places to look for > devices. > > makeoptions DEBUG=-g # Build kernel with gdb(1) > > options SCHED_ULE # ULE scheduler > options PREEMPTION # Enable kernel thread > preemption > options INET # InterNETworking > options INET6 # IPv6 communications protocols > options SCTP # Stream Control Transmission > options FFS # Berkeley Fast Filesystem > options SOFTUPDATES # Enable FFS soft updates > options UFS_ACL # Support for access control > options UFS_DIRHASH # Improve performance on big > options UFS_GJOURNAL # > options MD_ROOT # MD is a potential root device > options PROCFS # Process filesystem > options PSEUDOFS # Pseudo-filesystem framework > options GEOM_PART_GPT # GUID Partition Tables. > options GEOM_LABEL # Provides labelization > options COMPAT_43TTY > options SCSI_DELAY=5000 > options KTRACE # ktrace(1) support > options STACK # stack(9) 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 ADAPTIVE_GIANT # Giant mutex is adaptive. > options STOP_NMI > options AUDIT # Security event auditing > > # To make an SMP kernel, the next two lines are needed > > # CPU frequency control > device cpufreq > > # 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 atapicam # ATAPI emulation? > device atapicd # ATAPI CDROM drives > device atapifd # ATAPI floppy drives > device atapist # ATAPI tape drives > options ATA_STATIC_ID # Static device numbering > > # SCSI Controllers > device ahb # EISA AHA1742 family > device ahc # AHA2940 and onboard AIC7xxx devices > options AHC_REG_PRETTY_PRINT # Print register bitfields in > debug > # output. Adds ~128k to driver. > device ahd > options AHD_REG_PRETTY_PRINT > # output. Adds ~215k to driver. > device amd # AMD 53C974 (Tekram DC-390(T)) > device hptiop # Highpoint RocketRaid 3xxx series > device isp # Qlogic family > #device ispfw > device mpt # LSI-Logic MPT-Fusion > #device ncr # NCR/Symbios Logic > device sym # NCR/Symbios Logic > device trm # Tekram DC395U/UW/F DC315U adapters > > device adv # Advansys SCSI adapters > device adw # Advansys wide SCSI adapters > device aha # Adaptec 154x SCSI adapters > device aic # Adaptec 15[012]x SCSI adapters > device bt # Buslogic/Mylex MultiMaster SCSI > adapters > > device ncv # NCR 53C500 > device nsp # Workbit Ninja SCSI-3 > device stg # TMC 18C30/18C50 > > # 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 > > # RAID controllers interfaced to the SCSI subsystem > > # 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 kbdmux # keyboard multiplexer > > device vga # VGA video card driver > > > # syscons is the default console driver, resembling an SCO console > device sc > > device agp # support several AGP chipsets > > # 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 > device uart # Generic UART driver > > # 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 > > # If you've got a "dumb" serial or parallel PCI card that is > # supported by the puc(4) glue driver, uncomment the following > # line to enable it (connects to sio, uart and/or ppc drivers): > #device puc > > # PCI Ethernet NICs. > > # PCI Ethernet NICs that use the common MII bus controller code. > device miibus # MII bus support > device dc # DEC/Intel 21143 > device fxp # Intel EtherExpress PRO/100B > device xl # 3Com 3c90x > > # 'device ed' requires 'device miibus' > > # Wireless NIC cards > > # Pseudo devices. > device loop # Network loopback > 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) > device firmware # firmware assist module > > # 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 urio # Diamond Rio 500 MP3 player > device uscanner # Scanners > # USB Serial devices > device ucom # Generic com ttys > device uark # Technologies ARK3116 based serial > device ubsa # Belkin F5U103 and compatible serial > device ubser # BWCT console serial adapters > device uftdi # For FTDI usb serial adapters > device uipaq # Some WinCE based devices > device uplcom # Prolific PL-2303 serial adapters > device uslcom # SI Labs CP2101/CP2102 serial adapters > device uvisor # Visor and Palm devices > device uvscom # USB serial support for DDI pocket's > PHS > # USB Ethernet, requires miibus > > #--------------------------Firewall-Options---------------------------------# > options IPFIREWALL > options IPFIREWALL_DEFAULT_TO_ACCEPT > options IPFIREWALL_VERBOSE > options DUMMYNET