Stephen RP O'Connell wrote:
YACC = bison -y -p pcap_
Well, that's what it's supposed to be, and that's supposed to cause the generated grammar.c to define its functions with names beginning with pcap_, not yy.
What happens if you go to the source directory for libpcap, do "make clean", do "make", and then do "nm -po libpcap.a | egrep parse"?