From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: symbol conflicts between netinet/in.h, arpa/inet.h, and rte_ip.h
Date: Fri, 25 Jul 2014 12:43:15 +0200 [thread overview]
Message-ID: <1432797.FfhxlLyX1P@xps13> (raw)
In-Reply-To: <53D18EFF.8080804-jIVgJlTk8bs@public.gmane.org>
Hi all,
2014-07-24 22:55, Antti Kantee:
> On 24/07/14 07:59, Matthew Hall wrote:
> > I ran into some weird symbol conflicts between system netinet/in.h and DPDK
> > rte_ip.h. They have a lot of duplicated definitions for stuff like IPPROTO_IP
> > and so on. This breaks when you want to use inet_pton from arpa/inet.h,
> > because it includes netinet/in.h to define struct in_addr.
[...]
> Again, I recommend steering away from any tightrope approaches that
> "know" which types are non-conflicting, or pick out half-and-half from
> the host and IP stack. "Do, or do not, there is no half-and-half"
The general problem here is that DPDK is conflicting with libc.
So the obvious question would be: "why DPDK needs to redefine libc stuff"?
I don't see any obvious answer since bare metal is planned to be removed.
(see http://dpdk.org/ml/archives/dev/2014-June/003868.html)
Objections?
--
Thomas
next prev parent reply other threads:[~2014-07-25 10:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-24 7:59 symbol conflicts between netinet/in.h, arpa/inet.h, and rte_ip.h Matthew Hall
[not found] ` <20140724075918.GA21277-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
2014-07-24 15:43 ` Niraj Sharma (nirajsha)
2014-07-24 22:55 ` Antti Kantee
[not found] ` <53D18EFF.8080804-jIVgJlTk8bs@public.gmane.org>
2014-07-24 23:03 ` Matthew Hall
2014-07-25 1:12 ` Wu, Jingjing
[not found] ` <9BB6961774997848B5B42BEC655768F8AB222F-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-07-25 4:56 ` Matthew Hall
[not found] ` <b45e77f2-df66-4973-ab40-bde62270c47d-2ueSQiBKiTY7tOexoI0I+QC/G2K4zDHf@public.gmane.org>
2014-07-25 10:33 ` Ananyev, Konstantin
2014-07-25 10:43 ` Thomas Monjalon [this message]
2014-07-25 14:40 ` Antti Kantee
[not found] ` <53D26C42.3060907-jIVgJlTk8bs@public.gmane.org>
2014-07-25 14:44 ` Matthew Hall
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=1432797.FfhxlLyX1P@xps13 \
--to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.