Hi,

I'm having trouble in compiling my code with gcc on release 6.2

I've included the following headers,

stdlib.h
sys/types.h
sys/socket.h
net/if.h
net/if_var.h
net/if_types.h
net/bpf.h

When compiling the code, i'm getting the following error message

/var/tmp//ccphxfRO.o(.text+0x3c): In function `main':
: undefined reference to `bpfattach'

What am I doing wrong?

Sorry for asking such a newbie question!
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to