From: Abdelfattah Chehab <abdelfattah.chehab-ext@ekinops.com>
To: David Marchand <david.marchand@redhat.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "stable@dpdk.org" <stable@dpdk.org>
Subject: RE: [PATCH] vmbus: get current rte_vmbus_bus struct
Date: Thu, 14 Apr 2022 09:58:26 +0000 [thread overview]
Message-ID: <PR1P264MB2030036FA9BE5E9BDDB56E4CDFEF9@PR1P264MB2030.FRAP264.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CAJFAV8ydwVRUqoryk=ZUPr2q7iYd9ZY9Dqfgz=miv7KK7H-Y0w@mail.gmail.com>
The global variable is not accessible from libdpdk.so
I don't really see how the linker can find it in this case.
-----Original Message-----
From: David Marchand <david.marchand@redhat.com>
Sent: 13 April 2022 10:11
To: Abdelfattah Chehab <abdelfattah.chehab-ext@ekinops.com>
Cc: dev@dpdk.org; stable@dpdk.org
Subject: Re: [PATCH] vmbus: get current rte_vmbus_bus struct
On Wed, Apr 13, 2022 at 9:32 AM Abdelfattah Chehab <abdelfattah.chehab-ext@ekinops.com> wrote:
>
> Hi All,
>
> FOREACH_DEVICE_ON_VMBUS needs rte_vmbus_bus to work on
>
> If static link to libdpdk.a : no issues
>
> If dynamic link to *.so: linker issue, global variable not found.
Not sure I really get your usecase, but this probably is a linking issue on your side.
--
David Marchand
next prev parent reply other threads:[~2022-04-19 9:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 14:54 Abdelfattah Chehab
2022-04-13 8:10 ` David Marchand
2022-04-14 9:58 ` Abdelfattah Chehab [this message]
2022-07-09 7:54 ` David Marchand
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=PR1P264MB2030036FA9BE5E9BDDB56E4CDFEF9@PR1P264MB2030.FRAP264.PROD.OUTLOOK.COM \
--to=abdelfattah.chehab-ext@ekinops.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
/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 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).