On Tue, Apr 27, 2021 at 2:54 AM Zhang, Qiang <[email protected]> wrote: > > Hello Bruce > > when openvswitch enable DPDK, the do_configure will trigger follow error: > > checking whether dpdk is enabled... yes > | checking for rte_config.h... yes > | checking whether RTE_LIBRTE_VHOST_NUMA is declared... no > | checking whether RTE_EAL_NUMA_AWARE_HUGEPAGES is declared... no > | checking whether RTE_LIBRTE_PMD_PCAP is declared... no > | checking whether RTE_LIBRTE_PMD_AF_XDP is declared... no > | checking whether RTE_LIBRTE_VHOST_NUMA is declared... (cached) no > | checking whether RTE_LIBRTE_MLX5_PMD is declared... no > | checking whether RTE_LIBRTE_MLX4_PMD is declared... no > | checking for library containing dlopen... -ldl > | checking whether linking with dpdk works... no > | configure: error: Could not find DPDK library in default search path, > update PKG_CONFIG_PATH for pkg-config to find the .pc file in non-standard > location > | WARNING: exit code 1 from a shell command. > > I didn't find out why, have you repeated the question? >
I have seen this with other packages in the past, but can't find the references to specific fixes now. Have you looked to see if dpdk is in fact producing a .pc file ? We kind of overload package config in OE where it is a general set of options for recipes, and also the actual pkg-config application (that needs those .pc files). A quick check shows that openvswitch isn't inheriting the pkgconfig bbclass, which means our pkg-config-native isn't in the dependency chain. I'd start there. Bruce > Thanks > Qiang -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6468): https://lists.yoctoproject.org/g/meta-virtualization/message/6468 Mute This Topic: https://lists.yoctoproject.org/mt/82398408/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
