From: Meir Tseitlin <mirots@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Pcap question
Date: Sun, 2 Mar 2014 21:13:14 +0200 [thread overview]
Message-ID: <CA+Typ9mqB4nQ1MoztqSKQ1QvQX_nWQHDybw3tTuyuqghySLGRQ@mail.gmail.com> (raw)
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>
next reply other threads:[~2014-03-02 19:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-02 19:13 Meir Tseitlin [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+Typ9mqB4nQ1MoztqSKQ1QvQX_nWQHDybw3tTuyuqghySLGRQ@mail.gmail.com \
--to=mirots@gmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).