On Fri, May 25, 2007 at 07:06:38PM +0930, Shaun Branden wrote: > On Fri, May 25, 2007 at 12:28:18PM +0400, Ruslan Ermilov wrote: > > On Fri, May 25, 2007 at 12:07:10PM +0930, Shaun Branden wrote: > > > IEEE80211_IS_CHAN_PASSIVE() is a macro defined in > > src/sys/net80211/_ieee80211.h. Check that you have an up-to-date > > copy of that file in /usr/src. If you have it and still get the > > error, "rm -rf /usr/obj/usr/src" first, then try to build world > > again. > > Thanks for that > > The file is there: > [EMAIL PROTECTED]:net80211$ pwd > /usr/src/sys/net80211 > You have mail in /var/mail/shaun > [EMAIL PROTECTED]:net80211$ ls -l _ieee80211.h > -rw-r--r-- 1 root wheel 8181 Jan 28 14:37 _ieee80211.h > You have an incomplete source tree. Jan 28 corresponds to rev. 1.2.2.3 of that file, and the IEEE80211_IS_CHAN_PASSIVE() define was added in rev. 1.2.2.4. From CVS history:
: revision 1.2.2.4 : date: 2007/03/10 00:28:43; author: sam; state: Exp; lines: +2 -0 : MFC 1.7: add IEEE80211_IS_CHAN_PASSIVE : ---------------------------- : revision 1.2.2.3 : date: 2007/01/28 04:07:54; author: sam; state: Exp; lines: +11 -0 : MFC: half- and quarter-rate channel support : 900MHz channel support : support for respecifying the channel set after attach : default rate sets > and this is from my history: > 489 cvsup -g ~shaun/cvs/stable-supfile > 490 cd /usr/obj > 491 rm -rf * > 492 chflags -R noschg * > 493 rm -rf * > 494 cd /usr/src > > I just ran these again, ie !489, !490 etc with make buildworld at the > end and got the same result. > > ... > > ifconfig.lo(.text+0x4df8): In function `print_chaninfo': > : undefined reference to `IEEE80211_IS_CHAN_PASSIVE' > *** Error code 1 > > Stop in /usr/obj/usr/src/rescue/rescue. > *** Error code 1 Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer
pgpUdDbMybaxl.pgp
Description: PGP signature