svn commit: r436625 - in head/net/hostapd: . files
Kirill Ponomarev
kp at krion.cc
Thu Mar 23 06:54:38 UTC 2017
On 03/22, Cy Schubert wrote:
> > > Deletion of this file broke the port (at least on -CURRENT).
> >
> > Hmm, I can build it on CURRENT.
>
> Tell me which header BIOCIMMEDIATE is defined in your /usr/include. It
> should be in /usr/include/net/bpf.h. Without the missing patch net/bpf.h is
> not included.
>
> I get this:
>
> cc eap_register.c
> cc ../src/eap_common/eap_common.c
> ../src/l2_packet/l2_packet_freebsd.c:148:36: error: use of undeclared
> 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'
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20170323/ebef6d58/attachment.sig>
More information about the svn-ports-all
mailing list