Re: FreeBSD 4.6(ish) compilation

Jacob Frelinger <[email protected]> Fri, 23 Aug 2002 13:23:34 -0400
Newsgroups gmane.network.wireless.bsd.airtools
Message-ID <[email protected]>
On Fri, Aug 23, 2002 at 11:52:45AM -0400, Carl Schmidt wrote:
> On Fri, Aug 23, 2002 at 10:49:50AM -0400, Jacob Frelinger wrote:
> > On Mon, Aug 19, 2002 at 02:35:56PM +0930, Daniel O'Connor wrote:
<snip> 
> This is incorrect.  The port only builds on -CURRENT because -CURRENT has the
> /usr/include/dev/wi layout.  4.x does not have this layout therefore
> common.h.in (source-mods/common/) must be used.  So you mv common.h.in to
> common.h and you edit that file to include <machine/if_wavelan_ieee.h>,
> which is where the header is located.  "common.h" is required on 4.x because
> the header changes in -CURRENT have not made it to 4.x.  -CURRENT
> if_wavelan_ieee.h saw an assimilation of the common.h file from bsd-airtools.

funny it just built fine on my 4.6 stable machine...

    [jolly@ninja wi]$ pwd
    /usr/include/dev/wi
    [jolly@ninja wi]$ ls
    if_wavelan_ieee.h  if_wireg.h  if_wivar.h  wi_hostap.h
    [jolly@ninja wi]$ uname -a
    FreeBSD ninja.thecoffinclub.com 4.6-STABLE FreeBSD 4.6-STABLE #5:
    Thu Jul 11 09:32:48 EDT 2002
    [email protected]:/usr/obj/usr/src/sys/NINJA  i386
    [jolly@ninja wi]$ grep bsd-airtools if_wavelan_ieee.h
     * bsd-airtools v0.2 - source-mods v0.2 [common.h]
    [jolly@ninja wi]$ pkg_info bsd-airtools-0.2
    Information for bsd-airtools-0.2:
    <snip>

i can't test it as it doesn't have a wi card in it.



-- 
Jacob "I'm Brainy For Zombie Pops" Frelinger 
Jolly at TheCoffinClub dot Com 
http://www.thecoffinclub.com
signature.asc (application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9Zm+WO887GYmMIQIRAjGSAKCgSoy9lu3G6zGJTb39RQ/BUyIvsQCfTro+
QoXaOl5ICv1mE0ucz+f2OUc=
=6ZYL
-----END PGP SIGNATURE-----