From owner-freebsd-drivers@FreeBSD.ORG Thu May 3 13:05:56 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76BD916A402 for ; Thu, 3 May 2007 13:05:56 +0000 (UTC) (envelope-from stas.ibragimov@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228]) by mx1.freebsd.org (Postfix) with ESMTP id 37E7D13C457 for ; Thu, 3 May 2007 13:05:56 +0000 (UTC) (envelope-from stas.ibragimov@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so490777wra for ; Thu, 03 May 2007 06:05:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:to:subject:message-id:mime-version:content-type:content-disposition:user-agent:from; b=kc+pJ7UykvMPJXiwlJKt8iM78nvnIJhKFo9byfHF8a2ht/A1JhyMelxMaCGT5ToAipoA6jwCwZ03PJGQCyp3w0GebBQonskbLGrc0FTR2rio7OQtJMGHP4UplO1yQoyx180MLBZZHrJQjRq03BD4/Vng7MpkVpbvBgOEnJ6qaN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:subject:message-id:mime-version:content-type:content-disposition:user-agent:from; b=h1iAzuuFPQ6W5t67WlQbX3pdG7EgTKFsRed05hnHJIlMFQ0QKnj+t10I267M25mz8E6/ZWtZd+pLjL0w1u7bVYGcEcMlP0pcqS0DgmqMYrz5wOjmBmnbdnI8sAGmsCagYd+ucuQUsQ474KqKsiflPNaLLlY1rYfME0uckALTvxU= Received: by 10.78.180.16 with SMTP id c16mr861379huf.1178195912777; Thu, 03 May 2007 05:38:32 -0700 (PDT) Received: from localhost ( [213.141.154.21]) by mx.google.com with ESMTP id 39sm2578206ugb.2007.05.03.05.38.30; Thu, 03 May 2007 05:38:31 -0700 (PDT) Date: Thu, 3 May 2007 16:41:26 +0400 To: freebsd-drivers@freebsd.org Message-ID: <20070503124126.GA1822@q.q> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.15 (2007-04-06) From: stas.ibragimov@gmail.com Subject: Re: kernel compiling error X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 13:05:56 -0000 Most likely you removed from the configuration file 'device wlan'.This driver supports IEEE 802.11 and a necessity for all wireless NIC devices such as if_ural. On Wed May 02, 2007 at 02:20:03PM -0700, Kantor Zsolt wrote: > Hi,I'm using FreeBsd 6.2 Release i386,If I remove from the configuiration file some wireless NIC devices I get the folowing error at the compilation: . . . . > . . . . > MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh FYODOR > 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/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -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+0x2d3): In function `ural_rxeof': > : undefined reference to `ieee80211_find_rxnode' > if_ural.o(.text+0x2eb): In function `ural_rxeof': > : undefined reference to `ieee80211_input' > if_ural.o(.text+0x2f1): In function `ural_rxeof': > : undefined reference to `ieee80211_free_node' > if_ural.o(.text+0x893): In function `ural_start': > : undefined reference to `ieee80211_find_txnode' > if_ural.o(.text+0x8b9): In function `ural_start': > : undefined reference to `ieee80211_encap' > if_ural.o(.text+0xa0a): In function `ural_start': > : undefined reference to `ieee80211_free_node' > if_ural.o(.text+0xa3f): In function `ural_start': > : undefined reference to `ieee80211_encap' > if_ural.o(.text+0xa53): In function `ural_start': > : undefined reference to `ieee80211_free_node' > if_ural.o(.text+0xa65): In function `ural_start': > : undefined reference to `ieee80211_crypto_encap' > if_ural.o(.text+0xe47): In function `ural_txeof': > : undefined reference to `ieee80211_free_node' > if_ural.o(.text+0xeee): In function `ural_watchdog': > : undefined reference to `ieee80211_watchdog' > if_ural.o(.text+0x1188): In function `ural_detach': > : undefined reference to `ieee80211_ifdetach' > if_ural.o(.text+0x16f3): In function `ural_attach': > : undefined reference to `ieee80211_ieee2mhz' > if_ural.o(.text+0x1719): In function `ural_attach': > : undefined reference to `ieee80211_ifattach' > if_ural.o(.text+0x1754): In function `ural_attach': > : undefined reference to `ieee80211_media_status' > if_ural.o(.text+0x175f): In function `ural_attach': > : undefined reference to `ieee80211_media_init' > if_ural.o(.text+0x182b): In function `ural_attach': > : undefined reference to `ieee80211_ieee2mhz' > if_ural.o(.text+0x185f): In function `ural_attach': > : undefined reference to `ieee80211_ieee2mhz' > if_ural.o(.text+0x1894): In function `ural_attach': > : undefined reference to `ieee80211_ieee2mhz' > if_ural.o(.text+0x18e6): In function `ural_attach': > : undefined reference to `ieee80211_announce' > if_ural.o(.text+0x1b8e): In function `ural_set_chan': > : undefined reference to `ieee80211_chan2ieee' > if_ural.o(.text+0x21c3): In function `ural_task': > : undefined reference to `ieee80211_beacon_alloc' > if_ural.o(.text+0x2be0): In function `ural_media_change': > : undefined reference to `ieee80211_media_change' > if_ural.o(.text+0x2c3e): In function `ural_media_change': > : undefined reference to `ieee80211_media_change' > if_ural.o(.text+0x2cf7): In function `ural_ioctl': > : undefined reference to `ieee80211_ioctl' > if_ural.o(.text+0xe5): In function `ural_next_scan': > : undefined reference to `ieee80211_next_scan' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/FYODOR. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > [root@freebsd /usr/src]# > > --------------------------------- > Ahhh...imagining that irresistible "new car" smell? > Check outnew cars at Yahoo! Autos. > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org"