DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Pcap question
@ 2014-03-02 19:13 Meir Tseitlin
  2014-03-02 20:11 ` Olivier MATZ
  0 siblings, 1 reply; 13+ messages in thread
From: Meir Tseitlin @ 2014-03-02 19:13 UTC (permalink / raw)
  To: dev

Hi guys,

I am experiencing problem with compiling libpcap extension with all recent
versions:

Versions after 1.5.2r2 (1.5.2r2 up to 1.6.0r1) I get the following error
compilation error:
------------------------------------------------------------------------------------------------------------------

== Build lib/librte_pmd_pcap
  CC rte_eth_pcap.o
/home/ubuntu/libs/dpdk-1.5.2r2/lib/librte_pmd_pcap/rte_eth_pcap.c: In
function 'rte_pmd_init_internals':
/home/ubuntu/libs/dpdk-1.5.2r2/lib/librte_pmd_pcap/rte_eth_pcap.c:559:30:
error: dereferencing pointer to incomplete type
/home/ubuntu/libs/dpdk-1.5.2r2/lib/librte_pmd_pcap/rte_eth_pcap.c:560:15:
error: dereferencing pointer to incomplete type
/home/ubuntu/libs/dpdk-1.5.2r2/lib/librte_pmd_pcap/rte_eth_pcap.c:561:18:
error: dereferencing pointer to incomplete type
/home/ubuntu/libs/dpdk-1.5.2r2/lib/librte_pmd_pcap/rte_eth_pcap.c:603:47:
error: dereferencing pointer to incomplete type
/home/ubuntu/libs/dpdk-1.5.2r2/lib/librte_pmd_pcap/rte_eth_pcap.c: In
function 'rte_pmd_pcap_init':
/home/ubuntu/libs/dpdk-1.5.2r2/lib/librte_pmd_pcap/rte_eth_pcap.c:732:73:
error: 'dict' undeclared (first use in this function)
/home/ubuntu/libs/dpdk-1.5.2r2/lib/librte_pmd_pcap/rte_eth_pcap.c:732:73:
note: each undeclared identifier is reported only once for each function it
appears in
/home/ubuntu/libs/dpdk-1.5.2r2/lib/librte_pmd_pcap/rte_eth_pcap.c:778:1:
error: control reaches end of non-void function [-Werror=return-type]


Versions 1.5.1r1 - 1.5.2r1 I get the following error:
------------------------------------------------------------------------------------------------------------------

  LD testpmd
/usr/bin/ld: unrecognized option '-Wl'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make[3]: *** [testpmd] Error 1
make[2]: *** [test-pmd] Error 2


My environment:
-----------------------
I am running Ubuntu 12.04 64 bit:
I tried GCC 4.6 and 4.7.3
I tried binutils (ld) 2.22 and 2.24
I tried libpcap 1.4.0 and 1.5.3

With libpcap 0.8 (12.04 original repository) version prior 1.5.2r2 does
compile successfully, but as mentioned in documentation it does not support
packet sending

Without libpcap enabled everything compiles fine


Help will be highly appreciated!
Meir Tseitlin


-- 
Kind regards,
*Meir Tseitlin*
Software architect*Mobile:* +972.54.7647417
*Fax:* +972.72.2812365
*Email:* meir.tech@gmail.com
 *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>

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-03-20 16:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-02 19:13 [dpdk-dev] Pcap question Meir Tseitlin
2014-03-02 20:11 ` Olivier MATZ
2014-03-03 19:31   ` Meir Tseitlin
2014-03-03 20:32     ` Olivier MATZ
2014-03-03 21:09       ` Meir Tseitlin
2014-03-03 21:31         ` Olivier MATZ
2014-03-03 21:37           ` Olivier MATZ
2014-03-03 21:45             ` Meir Tseitlin
2014-03-05 20:32               ` Meir Tseitlin
2014-03-06  9:00                 ` liljegren.mats2
2014-03-06  9:00                   ` [dpdk-dev] [PATCH] pcap: Remove check for pcap_sendpacket liljegren.mats2
2014-03-06 10:10                   ` [dpdk-dev] Pcap question David Marchand
2014-03-20 16:38               ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).