When I ran vpp 18.07 in interactive mode I found that vpp was unable to
load SAMPLE_PLUGIN due to an error of undefined variable *SAMPLE_MAIN*
used in SAMPLE.C file. However, *SAMPLE_MAIN* is defined in SAMPLE.H
file as follows. 

extern sample_main_t sample_main; 

Removing keyword EXTERN worked for me. Now vpp 18.07 successfully loads
SAMPLE_PLUGIN.

On 2018-07-18 18:22, [email protected] wrote:

> Hello All, 
> 
> I am trying to build vpp STABLE/1807 with sample plugin enabled on UBUNTU 
> 16.04.2 using following guide. 
> 
> https://docs.fd.io/vpp/18.07/sample_plugin_doc.html 
> 
> Build process goes without any error and then I make .DEB packages and 
> install these packages on a different host (ubuntu 16.04.2) but when I check 
> vpp plugins using VPPCTL SHOW PLUGINS command; I see many plugins except 
> SAMPLE plugin. I also don't see any sample plugin under /usr/lib/vpp_plugins 
> directory. Should I need to do any additional step. 
> 
> NOTE: I did the same process for vpp STABLE/1707 and it went through 
> perfectly fine and I was able to use and test vpp sample plugin. 
> 
> Thanks 
> 
> Regards, 
> 
> Abdul Malik 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#9876): https://lists.fd.io/g/vpp-dev/message/9876
> Mute This Topic: https://lists.fd.io/mt/23670834/1123042
> Group Owner: [email protected]
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9898): https://lists.fd.io/g/vpp-dev/message/9898
Mute This Topic: https://lists.fd.io/mt/23670834/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to