Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2017 07:54:32 +0100
From:      Kirill Ponomarev <kp@krion.cc>
To:        Cy Schubert <Cy.Schubert@komquats.com>
Cc:        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:  <20170323065432.fatqm3bhvkcyxgoy@vein>
In-Reply-To: <201703230648.v2N6mFGJ098443@slippy.cwsent.com>
References:  <kp@krion.cc> <20170323063039.tubjvx3gswqsqsj6@vein> <201703230648.v2N6mFGJ098443@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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)

K.=20

--xs642rg4ycxrgxu3
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEJCHRFhEAQujKni1pDyI9/LMCykUFAljTcSgACgkQDyI9/LMC
ykVrqAf+IjUHvZENeTFAcnZNl152Qz2BeE5neCjLUQH5YGPCJDiKqNhruq4j0A2F
bynw09lWh9qH+5iCv6CcZly6oLnfyvdOiC7irVZLRYf23E7Ef2c6h/scYw11kxgU
Wm6L2s4YkLvcbSUBNpVY+CCP/4ItwOhX4NPngE4D9JgPNegazeg5xFL8TJg4kcox
8BBRszM2pQV/mnJ8UNoWfw02NCoOIQoTS1t5vwg9fmIogBsrufv/+dJpfOpAlVBG
jbsEnfldvHsvxDYXgw4I/lm8Whwlfa/Uyktk3W+ML7+b+b8F9m/Z4SjnjaXJil+5
XsRcE3vqH7jaoMCGT0QQUKW27HYf3A==
=4jdg
-----END PGP SIGNATURE-----

--xs642rg4ycxrgxu3--



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