From owner-freebsd-net@FreeBSD.ORG Thu Nov 8 09:23:01 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63E6C16A417; Thu, 8 Nov 2007 09:23:01 +0000 (UTC) (envelope-from dindin@yandex-team.ru) Received: from relanium.yandex.ru (relanium.yandex.ru [213.180.193.88]) by mx1.freebsd.org (Postfix) with ESMTP id C094613C48A; Thu, 8 Nov 2007 09:23:00 +0000 (UTC) (envelope-from dindin@yandex-team.ru) Received: from sepulcator.yandex.ru (dhcp250-185.yandex.ru [87.250.250.185]) by relanium.yandex.ru (8.14.1/8.14.1) with ESMTP id lA89Mfdb040391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Nov 2007 12:22:41 +0300 (MSK) (envelope-from dindin@yandex-team.ru) Received: from sepulcator.yandex.ru (localhost [127.0.0.1]) by sepulcator.yandex.ru (8.14.1/8.13.8) with ESMTP id lA89Mf4R001965; Thu, 8 Nov 2007 12:22:41 +0300 (MSK) (envelope-from dindin@yandex-team.ru) Received: (from dindin@localhost) by sepulcator.yandex.ru (8.14.1/8.13.8/Submit) id lA89MfDV001964; Thu, 8 Nov 2007 12:22:41 +0300 (MSK) (envelope-from dindin@yandex-team.ru) X-Authentication-Warning: sepulcator.yandex.ru: dindin set sender to dindin@yandex-team.ru using -f Date: Thu, 8 Nov 2007 12:22:41 +0300 From: Denis Barov To: freebsd-net@freebsd.org, freebsd-ports@freebsd.org Message-ID: <20071108092241.GC1777@sepulcator.yandex.ru> Mail-Followup-To: Denis Barov , freebsd-net@freebsd.org, freebsd-ports@freebsd.org References: <20071107182928.GA66533@sepulcator.local.yandex.ru> <473297D0.6010705@FreeBSD.org> <20071108055010.GA62962@heff.fud.org.nz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <20071108055010.GA62962@heff.fud.org.nz> X-Operating-System: FreeBSD sepulcator.yandex.ru 7.0-BETA2 FreeBSD 7.0-BETA2 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Antivirus: Dr.Web (R) for Mail Servers on relanium.yandex.ru host X-Antivirus-Code: 100000 Cc: Subject: Re: net-mgmt/bsd-airtools broken not because of gcc4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 09:23:01 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D Does not compile with GCC 4.2 > >> but, it's not really so. It's broken after Wed Jul 11 21:25:48 2007 UT= C=20 > >> commit by > >> thompsa@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 > >> 19:36:15.000000000 +0300 > >> +++ /usr/src/sys/dev/wi/if_wavelan_ieee.h 2007-07-12 > >> 01:25:48.000000000 +0400 > >> @@ -59,7 +59,7 @@ > >> */ > >> #define WI_MAX_DATALEN 512 > >> -#if 1 > >> +#if 0 > >> struct wi_req { > >> u_int16_t wi_len; > >> u_int16_t wi_type; > >> But, still missing some ioctls. dstumbler said > >> error: unable to ioctl device socket: Invalid argument > >> May be I can do something helpful? > > > > I guess you should back not just these header definitions but ioctl=20 > > implementations too. Or ask thompsa if you could use something instead. >=20 > 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. >=20 >=20 > cheers, > Andrew > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" Does that mean I need to rewrite some bsd-airtools code? --=20 Denis Barov Yandex http://www.yandex.ru WEB-Search Administtration Team e-mail: dindin@yandex-team.ru --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iQCVAwUBRzLVYLQNqrxww2yeAQISUAQAx8EuR4hu37/mRMuGdrCFU5PHD56CUNF9 W6kmKWwzRUwgmU5EX4kdbpfT19irjXdZNOjErrpKx1+Huem+GQTxZ4SYCp9ei1ca tWnCIfR7qKic7yACPRT6YZI8EaOHGxsGi/ZmeVUTNpwdai5DcRr7g+DHygw1YcAr Zjwu+BHq2XM= =fzag -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--