Thread (1 message) 1 message, 1 author, 2014-03-05
  • (off-list ancestor, not in this archive)
  • Re: Pcap question · Meir Tseitlin <hidden> · 2014-03-05

Re: Pcap question

From: Meir Tseitlin <hidden>
Date: 2014-03-05 20:32:41

Hi Olivier,

I guess something is still wrong:

testpmd application is reporting "PMD: pcap library cannot send packets,
please rebuild with a more up to date libpcap" message when I try creating
a bridge between two network cards.

I am more than sure that older version of pcap is not installed:

cigol@cigol-desktop:~/debug$ ls -l /usr/local/lib/*pcap*
-rw-r--r-- 1 root root 1274936 Mar  5 23:26 /usr/local/lib/libpcap.a
lrwxrwxrwx 1 root root      12 Mar  5 23:26 /usr/local/lib/libpcap.so ->
libpcap.so.1
lrwxrwxrwx 1 root root      16 Mar  5 23:26 /usr/local/lib/libpcap.so.1 ->
libpcap.so.1.5.3
-rwxr-xr-x 1 root root  786725 Mar  5 23:26 /usr/local/lib/libpcap.so.1.5.3


Do you have any thoughts?

THank you for kind support,
Meir


On Mon, Mar 3, 2014 at 11:45 PM, Meir Tseitlin [off-list ref] wrote:
Yep,

It did resolved the issue.

I also think it should be handled somehow by default, because Ubuntu is
not an esoteric distro. Why not patching it as well?

Anyway great work!


On Mon, Mar 3, 2014 at 11:37 PM, Olivier MATZ [off-list ref]wrote:
quoted
On 03/03/2014 10:31 PM, Olivier MATZ wrote:
quoted
   LIBPCAP_LDFLAGS ?= $(patsubst -Wl$(comma),%,$(shell pcap-config
--libs))
I forgot a %:

LIBPCAP_LDFLAGS ?= $(patsubst -Wl$(comma)%,%,$(shell pcap-config --libs))

--
Kind regards,
 *Meir Tseitlin*
Software architect *Mobile:* +972.54.7647417
*Fax:* +972.72.2812365
*Email:* meir.tech-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
 *http://il.linkedin.com/in/meirts <http://il.linkedin.com/in/meirts>*
*Independent consultant*
<http://maps.google.com/maps?q=&hl=en>
See who we know in common<http://www.linkedin.com/e/wwk/6408776/?hs=false&tok=2g4qg82N8Sb5U1> Want
a signature like this?<http://www.linkedin.com/e/sig/6408776/?hs=false&tok=20mz9jA_USb5U1>


-- 
Kind regards,
*Meir Tseitlin*
Software architect*Mobile:* +972.54.7647417
*Fax:* +972.72.2812365
*Email:* meir.tech-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
 *http://il.linkedin.com/in/meirts <http://il.linkedin.com/in/meirts>*
*Independent consultant*
<http://maps.google.com/maps?q=&hl=en>
See who we know in
common<http://www.linkedin.com/e/wwk/6408776/?hs=false&tok=2g4qg82N8Sb5U1>Want
a signature like
this?<http://www.linkedin.com/e/sig/6408776/?hs=false&tok=20mz9jA_USb5U1>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help