# link error while compiling

**URL:** https://community.zeek.org/t/link-error-while-compiling/164
**Category:** Zeek
**Created:** [June 25, 2001, 10:18pm UTC](https://community.zeek.org/t/link-error-while-compiling/164 "2001-06-25T22:18:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Vern](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/vern/32/630_2.png) [@Vern](https://community.zeek.org/u/Vern)
#### Post date: [June 25, 2001, 10:18pm UTC](https://community.zeek.org/t/link-error-while-compiling/164/1 "2001-06-25T22:18:55Z")

</div>

> Now i moved to libpcap-0.6.2 and it give this link error while compiling.
> 
> I changed the libpcap and again it works perfectly.

It appears that your libpcap-0.6.2 was compiled using a version of yacc  
that doesn't support -p. If you can easily remedy that (say by using  
bison), that should do the trick. Since your libpcap-0.4 doesn't have this  
problem, it seems likely your system has the necessary flavor of yacc, but  
for some reason ./configure didn't find it when building libpcap.

&nbsp;&nbsp;&nbsp;&nbsp;Vern

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)
#### Post date: [May 6, 2022, 3:36pm UTC](https://community.zeek.org/t/link-error-while-compiling/164/2 "2022-05-06T15:36:20Z")

</div>


