* [dpdk-dev] build break on BSD
@ 2014-04-16 19:52 Neil Horman
2014-04-17 8:21 ` Olivier MATZ
0 siblings, 1 reply; 2+ messages in thread
From: Neil Horman @ 2014-04-16 19:52 UTC (permalink / raw)
To: dev
Hey-
I was just trying to do a build on bsd for dpdk and hit this:
== Build lib/librte_eal/bsdapp/eal
CC eal.o
/root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c: In function ‘eal_parse_args’:
/root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:654:5: error: implicit
declaration of function ‘eal_dev_whitelist_add_entry’
[-Werror=implicit-function-declaration]
eal_dev_whitelist_add_entry(optarg);
^
/root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:654:5: error: nested extern
declaration of ‘eal_dev_whitelist_add_entry’ [-Werror=nested-externs]
/root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:715:3: error: implicit
declaration of function ‘eal_dev_whitelist_exists’
[-Werror=implicit-function-declaration]
if (eal_dev_whitelist_exists()) {
^
/root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:715:3: error: nested extern
declaration of ‘eal_dev_whitelist_exists’ [-Werror=nested-externs]
/root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:721:3: error: implicit
declaration of function ‘rte_eal_pci_set_blacklist’
[-Werror=implicit-function-declaration]
rte_eal_pci_set_blacklist(eal_dev_blacklist, blacklist_index);
^
/root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:721:3: error: nested extern
declaration of ‘rte_eal_pci_set_blacklist’ [-Werror=nested-externs]
/root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:723:3: error: implicit
declaration of function ‘eal_dev_whitelist_parse’
[-Werror=implicit-function-declaration]
if (eal_dev_whitelist_exists() && eal_dev_whitelist_parse() < 0) {
^
/root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:723:3: error: nested extern
declaration of ‘eal_dev_whitelist_parse’ [-Werror=nested-externs]
Looks like the recent whitelist/blacklist patches forgot to add the rte_devargs
headers to the BSD build.
Neil
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] build break on BSD
2014-04-16 19:52 [dpdk-dev] build break on BSD Neil Horman
@ 2014-04-17 8:21 ` Olivier MATZ
0 siblings, 0 replies; 2+ messages in thread
From: Olivier MATZ @ 2014-04-17 8:21 UTC (permalink / raw)
To: Neil Horman; +Cc: dev
Hi Neil,
On 04/16/2014 09:52 PM, Neil Horman wrote:
> I was just trying to do a build on bsd for dpdk and hit this:
>
> == Build lib/librte_eal/bsdapp/eal
> CC eal.o
> /root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c: In function ‘eal_parse_args’:
> /root/git/dpdk/lib/librte_eal/bsdapp/eal/eal.c:654:5: error: implicit
> declaration of function ‘eal_dev_whitelist_add_entry’
> [-Werror=implicit-function-declaration]
> eal_dev_whitelist_add_entry(optarg);
> ^
> [...]
>
> Looks like the recent whitelist/blacklist patches forgot to add the rte_devargs
> headers to the BSD build.
Thanks for reporting, I'll have a look ASAP.
Regards,
Olivier
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-17 8:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-16 19:52 [dpdk-dev] build break on BSD Neil Horman
2014-04-17 8:21 ` Olivier MATZ
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).