* Re: [SPDK] Compile ERROR: ‘pci_device_list’ undeclared
@ 2017-04-28 16:31 Walker, Benjamin
0 siblings, 0 replies; 5+ messages in thread
From: Walker, Benjamin @ 2017-04-28 16:31 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 533 bytes --]
On Fri, 2017-04-28 at 15:03 +0800, 邓林文 wrote:
>
> Hi all, there's a compile error when I tried to test the latest SPDK. Is that
> a code bug or a misconfigure in my environment?
>
We merged a patch this morning that fixes the issue, but in general stick to the
latest released DPDK instead of tracking master. The DPDK team can potentially
change the API on each new commit on master, so we can't guarantee that it will
always be working. We'll make sure that SPDK works with any released version of
DPDK though.
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3274 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [SPDK] Compile ERROR: ‘pci_device_list’ undeclared
@ 2017-04-28 16:14 Luse, Paul E
0 siblings, 0 replies; 5+ messages in thread
From: Luse, Paul E @ 2017-04-28 16:14 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 2154 bytes --]
Yup and I just reproduced the error using the latest dpdk and confirmed by switching to 17.02 leaving SPDK alone it compiled fine…
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Harris, James R
Sent: April 28, 2017 9:11 AM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] Compile ERROR: ‘pci_device_list’ undeclared
Hi Linwen,
For now I would suggest going back to DPDK 17.02. pci_device_list has changed in recent DPDK commits and SPDK needs to be updated to accommodate.
Thanks,
-Jim
From: SPDK <spdk-bounces(a)lists.01.org> on behalf of 邓林文 <dlworld0(a)163.com>
Reply-To: Storage Performance Development Kit <spdk(a)lists.01.org>
Date: Friday, April 28, 2017 at 12:03 AM
To: "spdk(a)lists.01.org" <spdk(a)lists.01.org>
Subject: [SPDK] Compile ERROR: ‘pci_device_list’ undeclared
Hi all, there's a compile error when I tried to test the latest SPDK. Is that a code bug or a misconfigure in my environment?
Here is the log:
dpdk# make install T=x86_64-native-linuxapp-gcc DESTDIR=.
dpdk# cd ../spdk
spdk# ./configure --with-dpdk=../dpdk/x86_64-native-linuxapp-gcc
spdk# make
...
LIB libspdk_log_rpc.a
CC lib/env_dpdk/pci.o
In file included from /home/src/dpdk/x86_64-native-linuxapp-gcc/include/rte_pci.h:81:0,
from env_internal.h:55,
from pci.c:34:
pci.c: In function ‘spdk_pci_get_device’:
pci.c:173:22: error: ‘pci_device_list’ undeclared (first use in this function)
TAILQ_FOREACH(dev, &pci_device_list, next) {
^
pci.c:173:22: note: each undeclared identifier is reported only once for each function it appears in
/home/src/spdk/mk/spdk.common.mk:159: recipe for target 'pci.o' failed
make[2]: *** [pci.o] Error 1
/home/src/spdk/mk/spdk.subdirs.mk:35: recipe for target 'env_dpdk' failed
make[1]: *** [env_dpdk] Error 2
/home/src/spdk/mk/spdk.subdirs.mk:35: recipe for target 'lib' failed
make: *** [lib] Error 2
The codes are all latest:
dpdk commit eba33e87ad37626604be7186e746751f99691084
spdk commit 6c172475609120c293b265522c395c52fc5a3bb5
Regards,
Linwen Deng
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 13069 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [SPDK] Compile ERROR: ‘pci_device_list’ undeclared
@ 2017-04-28 16:11 Harris, James R
0 siblings, 0 replies; 5+ messages in thread
From: Harris, James R @ 2017-04-28 16:11 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]
Hi Linwen,
For now I would suggest going back to DPDK 17.02. pci_device_list has changed in recent DPDK commits and SPDK needs to be updated to accommodate.
Thanks,
-Jim
From: SPDK <spdk-bounces(a)lists.01.org> on behalf of 邓林文 <dlworld0(a)163.com>
Reply-To: Storage Performance Development Kit <spdk(a)lists.01.org>
Date: Friday, April 28, 2017 at 12:03 AM
To: "spdk(a)lists.01.org" <spdk(a)lists.01.org>
Subject: [SPDK] Compile ERROR: ‘pci_device_list’ undeclared
Hi all, there's a compile error when I tried to test the latest SPDK. Is that a code bug or a misconfigure in my environment?
Here is the log:
dpdk# make install T=x86_64-native-linuxapp-gcc DESTDIR=.
dpdk# cd ../spdk
spdk# ./configure --with-dpdk=../dpdk/x86_64-native-linuxapp-gcc
spdk# make
...
LIB libspdk_log_rpc.a
CC lib/env_dpdk/pci.o
In file included from /home/src/dpdk/x86_64-native-linuxapp-gcc/include/rte_pci.h:81:0,
from env_internal.h:55,
from pci.c:34:
pci.c: In function ‘spdk_pci_get_device’:
pci.c:173:22: error: ‘pci_device_list’ undeclared (first use in this function)
TAILQ_FOREACH(dev, &pci_device_list, next) {
^
pci.c:173:22: note: each undeclared identifier is reported only once for each function it appears in
/home/src/spdk/mk/spdk.common.mk:159: recipe for target 'pci.o' failed
make[2]: *** [pci.o] Error 1
/home/src/spdk/mk/spdk.subdirs.mk:35: recipe for target 'env_dpdk' failed
make[1]: *** [env_dpdk] Error 2
/home/src/spdk/mk/spdk.subdirs.mk:35: recipe for target 'lib' failed
make: *** [lib] Error 2
The codes are all latest:
dpdk commit eba33e87ad37626604be7186e746751f99691084
spdk commit 6c172475609120c293b265522c395c52fc5a3bb5
Regards,
Linwen Deng
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 10575 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [SPDK] Compile ERROR: ‘pci_device_list’ undeclared
@ 2017-04-28 15:30 Luse, Paul E
0 siblings, 0 replies; 5+ messages in thread
From: Luse, Paul E @ 2017-04-28 15:30 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 2128 bytes --]
Hi Linwen,
I’m new to the project so don’t have an immediate answer for you but if nobody else gets you one within the next few hours I’ll grab these specific versions and try on my end.
Also note that we’re pushing to use IRC for these kinds of Q&A in the future. #spdk on freenode (Ben sent an email out with full details a few days ago)
Thanks,
Paul
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of ???
Sent: April 28, 2017 12:04 AM
To: spdk(a)lists.01.org
Subject: [SPDK] Compile ERROR: ‘pci_device_list’ undeclared
Hi all, there's a compile error when I tried to test the latest SPDK. Is that a code bug or a misconfigure in my environment?
Here is the log:
dpdk# make install T=x86_64-native-linuxapp-gcc DESTDIR=.
dpdk# cd ../spdk
spdk# ./configure --with-dpdk=../dpdk/x86_64-native-linuxapp-gcc
spdk# make
...
LIB libspdk_log_rpc.a
CC lib/env_dpdk/pci.o
In file included from /home/src/dpdk/x86_64-native-linuxapp-gcc/include/rte_pci.h:81:0,
from env_internal.h:55,
from pci.c:34:
pci.c: In function ‘spdk_pci_get_device’:
pci.c:173:22: error: ‘pci_device_list’ undeclared (first use in this function)
TAILQ_FOREACH(dev, &pci_device_list, next) {
^
pci.c:173:22: note: each undeclared identifier is reported only once for each function it appears in
/home/src/spdk/mk/spdk.common.mk:159: recipe for target 'pci.o' failed
make[2]: *** [pci.o] Error 1
/home/src/spdk/mk/spdk.subdirs.mk:35: recipe for target 'env_dpdk' failed
make[1]: *** [env_dpdk] Error 2
/home/src/spdk/mk/spdk.subdirs.mk:35: recipe for target 'lib' failed
make: *** [lib] Error 2
The codes are all latest:
dpdk commit eba33e87ad37626604be7186e746751f99691084
spdk commit 6c172475609120c293b265522c395c52fc5a3bb5
Regards,
Linwen Deng
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 14704 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* [SPDK] Compile ERROR: ‘pci_device_list’ undeclared
@ 2017-04-28 7:03
0 siblings, 0 replies; 5+ messages in thread
From: @ 2017-04-28 7:03 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1282 bytes --]
Hi all, there's a compile error when I tried to test the latest SPDK. Is that a code bug or a misconfigure in my environment?
Here is the log:
dpdk# make install T=x86_64-native-linuxapp-gcc DESTDIR=.
dpdk# cd ../spdk
spdk# ./configure --with-dpdk=../dpdk/x86_64-native-linuxapp-gcc
spdk# make
...
LIB libspdk_log_rpc.a
CC lib/env_dpdk/pci.o
In file included from /home/src/dpdk/x86_64-native-linuxapp-gcc/include/rte_pci.h:81:0,
from env_internal.h:55,
from pci.c:34:
pci.c: In function ‘spdk_pci_get_device’:
pci.c:173:22: error: ‘pci_device_list’ undeclared (first use in this function)
TAILQ_FOREACH(dev, &pci_device_list, next) {
^
pci.c:173:22: note: each undeclared identifier is reported only once for each function it appears in
/home/src/spdk/mk/spdk.common.mk:159: recipe for target 'pci.o' failed
make[2]: *** [pci.o] Error 1
/home/src/spdk/mk/spdk.subdirs.mk:35: recipe for target 'env_dpdk' failed
make[1]: *** [env_dpdk] Error 2
/home/src/spdk/mk/spdk.subdirs.mk:35: recipe for target 'lib' failed
make: *** [lib] Error 2
The codes are all latest:
dpdk commit eba33e87ad37626604be7186e746751f99691084
spdk commit 6c172475609120c293b265522c395c52fc5a3bb5
Regards,
Linwen Deng
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 3145 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-04-28 16:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-28 16:31 [SPDK] Compile ERROR: ‘pci_device_list’ undeclared Walker, Benjamin
-- strict thread matches above, loose matches on Subject: below --
2017-04-28 16:14 Luse, Paul E
2017-04-28 16:11 Harris, James R
2017-04-28 15:30 Luse, Paul E
2017-04-28 7:03
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.