net-mgmt/bsd-airtools broken not because of gcc4

Denis Barov dindin at yandex-team.ru
Thu Nov 8 01:54:44 PST 2007


On Thu Nov 08, 2007 at 22:35:31 +1300, Andrew Thompson wrote:
> On Thu, Nov 08, 2007 at 12:22:41PM +0300, Denis Barov wrote:
> > On Thu Nov 08, 2007 at 18:50:10 +1300, Andrew Thompson wrote:
> > > On Thu, Nov 08, 2007 at 08:00:00AM +0300, Sergey Matveychuk wrote:
> > > > Denis Barov wrote:
> > > >> Hi all!
> > > >> I found, that port net-mgmt/bsd-airtools marked as broken:
> > > >> BROKEN=          Does not compile with GCC 4.2
> > > >> but, it's not really so. It's broken after Wed Jul 11 21:25:48 2007 UTC 
> > > >> commit by
> > > >> thompsa at freebsd.org, when some ioctls was deleted from kernel.
> > > >> For example, after patching /usr/include/dev/wi/if_wavelan_ieee.h
> > > >> bsd-airtools compiled well:
> > > >> --- /usr/include/dev/wi/if_wavelan_ieee.h       2007-11-07
> > > >
> > > > I guess you should back not just these header definitions but ioctl 
> > > > implementations too. Or ask thompsa if you could use something instead.
> > > 
> > > The net80211 system supports the IEEE80211_IOC_SCAN_REQ and
> > > IEEE80211_IOC_SCAN_RESULTS ioctls which work on _all_ wireless
> > > interfaces. These have been present since 6.0 and the above wi(4)
> > > specific interface have been removed as the driver has been brought into
> > > line.
> > 
> > Does that mean I need to rewrite some bsd-airtools code?
> 
> Yes, src/sbin/ifconfig/ifieee80211.c is the best reference and others
> have already converted other wireless scanning apps.
> 

I'll try.

-- 
Denis Barov
Yandex http://www.yandex.ru
WEB-Search Administtration Team
e-mail: dindin at yandex-team.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20071108/068aef8c/attachment.pgp


More information about the freebsd-net mailing list