Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2017 04:48:13 -0700
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        Kirill Ponomarev <kp@krion.cc>
Cc:        Cy Schubert <Cy.Schubert@komquats.com>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r436625 - in head/net/hostapd: . files
Message-ID:  <201703231148.v2NBmDEF020962@slippy.cwsent.com>
In-Reply-To: Message from Kirill Ponomarev <kp@krion.cc> of "Thu, 23 Mar 2017 07:54:32 %2B0100." <20170323065432.fatqm3bhvkcyxgoy@vein>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20170323065432.fatqm3bhvkcyxgoy@vein>, Kirill Ponomarev writes:
> 
> 
> --xs642rg4ycxrgxu3
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On 03/22, Cy Schubert wrote:
> > > > Deletion of this file broke the port (at least on -CURRENT).
> > >=20
> > > Hmm, I can build it on CURRENT.
> >=20
> > Tell me which header BIOCIMMEDIATE is defined in your /usr/include. It=20
> > should be in /usr/include/net/bpf.h. Without the missing patch net/bpf.h =
> is=20
> > not included.
> >=20
> > I get this:
> >=20
> >   cc  eap_register.c
> >   cc  ../src/eap_common/eap_common.c
> > ../src/l2_packet/l2_packet_freebsd.c:148:36: error: use of undeclared=20
> > identifier
> >       'BIOCIMMEDIATE'
> >                 if (ioctl(pcap_fileno(l2->pcap), BIOCIMMEDIATE, &on) < 0)=
>  {
> >                                                  ^
> > error generated.
> > Makefile:1036: recipe for target '../src/l2_packet/l2_packet_freebsd.o'=
> =20
> > failed
> > gmake[1]: *** [../src/l2_packet/l2_packet_freebsd.o] Error 1
> > gmake[1]: *** Waiting for unfinished jobs....
> 
> It's defined in /usr/include/net/bpf.h
> #define BIOCIMMEDIATE   _IOW('B', 112, u_int)

I'm surprised it's not failing for you. Update to r315141 as pi has or 
later. My gear is at r315762.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703231148.v2NBmDEF020962>