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 <[email protected]> 
Sent: 13 April 2022 10:11
To: Abdelfattah Chehab <[email protected]>
Cc: [email protected]; [email protected]
Subject: Re: [PATCH] vmbus: get current rte_vmbus_bus struct

On Wed, Apr 13, 2022 at 9:32 AM Abdelfattah Chehab 
<[email protected]> 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

Reply via email to