From: Stephen Hemminger <stephen@networkplumber.org>
To: Raslan Darawsheh <rasland@mellanox.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
Stephen Hemminger <sthemmin@microsoft.com>,
Thomas Monjalon <thomasm@mellanox.com>
Subject: Re: [PATCH v2 0/4] Hyper-V Netvsc PMD
Date: Tue, 17 Apr 2018 09:22:22 -0700 [thread overview]
Message-ID: <20180417092222.158cb849@xeon-e3> (raw)
In-Reply-To: <AM4PR05MB168410834752C9C8661075E0C2B70@AM4PR05MB1684.eurprd05.prod.outlook.com>
On Tue, 17 Apr 2018 09:02:45 +0000
Raslan Darawsheh <rasland@mellanox.com> wrote:
> Hi Stephan,
>
> I've just tried to apply your patches on top of current master branch and I have the following two issues:
> 1- compilation is failing with the following error when compiling with RTE_TARGET=x86_64-native-linuxapp-gcc:
> /root/dpdk/x86_64-native-linuxapp-gcc/include/rte_common.h:122:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
> #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))
> ^
> /root/dpdk/buildtools/pmdinfogen/pmdinfogen.c:99:9: note: in expansion of macro 'RTE_PTR_ADD'
> return RTE_PTR_ADD(info->hdr,
> ^
> 2- compilation is also failing with the following errors when compiling with RTE_TARGET=i686-native-linuxapp-gcc
> CC linux/vmbus_uio.o
> /root/dpdk/drivers/bus/vmbus/linux/vmbus_bus.c: In function 'rte_vmbus_map_device':
> /root/dpdk/drivers/bus/vmbus/linux/vmbus_bus.c:194:39: error: passing argument 2 of 'eal_parse_sysfs_value' from incompatible pointer type [-Werror=incompatible-pointer-types]
> if (eal_parse_sysfs_value(filename, &res->len) < 0) {
> ^
> In file included from /root/dpdk/drivers/bus/vmbus/linux/vmbus_bus.c:22:0:
> /root/dpdk/lib/librte_eal/common/eal_filesystem.h:123:5: note: expected 'long unsigned int *' but argument is of type 'uint64_t * {aka long long unsigned int *}'
> int eal_parse_sysfs_value(const char *filename, unsigned long *val);
>
>
> I noticed one additional new dependency which is uuid-dev and I think you might be missing the documentation of that.
>
> Kindest regards,
> Raslan Darawsheh
I rebased against dpdk.org master yesterday.
What version of Gcc? I don't see this on Gcc 7.3.0 and build on 64 bit.
Will update the documentation and fix a couple of typos.
next prev parent reply other threads:[~2018-04-17 16:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-16 23:24 [PATCH v2 0/4] Hyper-V Netvsc PMD Stephen Hemminger
2018-04-16 23:24 ` [PATCH v2 1/4] bus/vmbus: add hyper-v virtual bus support Stephen Hemminger
2018-04-16 23:24 ` [PATCH v2 2/4] net/netvsc: add hyper-v netvsc network device Stephen Hemminger
2018-04-16 23:24 ` [PATCH v2 3/4] net/netvsc: add documentation Stephen Hemminger
2018-04-17 13:49 ` Kovacevic, Marko
2018-04-16 23:24 ` [PATCH v2 4/4] bus/vmbus and net/netvsc: add meson build support Stephen Hemminger
[not found] ` <DB7PR05MB4426AA62F409236670510004C3B70@DB7PR05MB4426.eurprd05.prod.outlook.com>
2018-04-17 9:02 ` [PATCH v2 0/4] Hyper-V Netvsc PMD Raslan Darawsheh
2018-04-17 16:22 ` Stephen Hemminger [this message]
2018-04-18 7:00 ` Raslan Darawsheh
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=20180417092222.158cb849@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=rasland@mellanox.com \
--cc=sthemmin@microsoft.com \
--cc=thomasm@mellanox.com \
/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.