svn commit: r436625 - in head/net/hostapd: . files

Cy Schubert Cy.Schubert at komquats.com
Thu Mar 23 11:48:19 UTC 2017


In message <20170323065432.fatqm3bhvkcyxgoy at 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 at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

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






More information about the svn-ports-head mailing list