-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__attribute__((constructor, used)) doesn't work if build with static lib of dpdk/odp-dpdk #191
Comments
Is There Anybody There???????????????????????? |
Hello, Do you have more information on how you compile the OFP and ODP together? Or on which ODP version this happens? I did the following:
And it worked. It would be useful to get more information on which version of ODP and DPDK this happens. |
@iufl I configure odp-dpdk with --enable-shared=no (default is yes)
|
TSC 30.01.18 Iulia to raise an issue for this case to ODP mailing-list with more details about the missing symbol. |
@lvsgate it looks like something related to ODP scripts. |
Thank you. Some pull request may fix it. |
TSC meeting 06.02.18 Can someone confirm that this issue has been fixed in newer odp-dpdk versions using that pull request. |
Refer to OpenDataPlane/odp-dpdk#15 (comment) |
RTE_PMD_REGISTER_PCI(net_ixgbe, rte_ixgbe_pmd.pci_drv);
This line doesn't be called if build with static lib of dpdk/odp-dpdk, because this micro use attribute((constructor, used)).
The result is that "odp_packet_dpdk.c:162:setup_pkt_dpdk():No driver found for interface: 0"
The text was updated successfully, but these errors were encountered: