From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 14:23:04 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 B1C7F1065690 for ; Sat, 28 Jun 2008 14:23:04 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 7FF638FC2D for ; Sat, 28 Jun 2008 14:23:04 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so789047wfg.7 for ; Sat, 28 Jun 2008 07:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=U7h4dXe0lnc3ePaqn6nfm5tLzAeSf02jMnpjqSEcfwU=; b=WULsq31NXZvL6RdG4A9AsvffI5dK3A6YD6HVikKXjHqukkclW/gz8qMBkGHKFBtadZ bgYlXwUooAyh7bbCtO+ZDj+VIHbPzMby/LXVNyTO7pH1FP48A3Uq3jPGVghzzTeszCwa aWbuEv9haeywwsUwaRx+jQVr+Ozn7I848IZnA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ObP6kVW4YvTu3HgCGXIiHKJY+qIXxamlLBjj75yRwC0PgH/jBUAvQsGKL+0j0NddfD J8WQfUNQTxPQGWrqvMch4YqbBWl5OBR0cuFy8pdY5ZeBtYDodEbJP5jTLVgKocYoTTx2 QoFbGDri36f9vNoFwP4MbW1N4EgrzMiZX7vgg= Received: by 10.142.12.14 with SMTP id 14mr998510wfl.182.1214662984016; Sat, 28 Jun 2008 07:23:04 -0700 (PDT) Received: by 10.142.199.19 with HTTP; Sat, 28 Jun 2008 07:23:03 -0700 (PDT) Message-ID: <3a142e750806280723u34e3ed7fid24c5086e9c15a9a@mail.gmail.com> Date: Sat, 28 Jun 2008 16:23:03 +0200 From: "Paul B. Mahol" To: martes@mgwigglesworth.com In-Reply-To: <1214648519.15425.40.camel@devstation> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1214648519.15425.40.camel@devstation> Cc: Freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, twuug@twuug.org Subject: Re: [Fwd: Re: Problems with ieee80211 dependencies...] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 14:23:04 -0000 I dont have such problem with CURRENT; all ieee80211 stuff are build as modules for me, but my conf is different, firewalls and dummynet are build as modules. But I was able to reproduce problem with your config file. Probably conflict arise somewhere within your last 4 lines in conf file. On 6/28/08, Martes Wigglesworth wrote: > > 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 > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >