...@sofioni.com
Sent: Friday, July 20, 2018 12:04 PM
To: dmar...@me.com
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Sample plugin doest not show up with vpp 18.07
I think its the same if we define sample_main variable in sample.c file or if
we remove the key word extern in sample.h. I have
No, it is not same... removing extern will result in sample_main instance in
each object file created from C file which includes this specific header file.
--
Damjan
> On 20 Jul 2018, at 18:03, abdul.ma...@sofioni.com wrote:
>
> I think its the same if we define sample_main variable in sample.
I think its the same if we define SAMPLE_MAIN variable in SAMPLE.C file
or if we remove the key word EXTERN in SAMPLE.H. I have tried removing
EXTERN and it works but defining SAMPLE_MAIN in .c file should also
work.
On 2018-07-20 19:02, Damjan Marion via Lists.Fd.Io wrote:
> This should be the p
This should be the proper fix for your issue:
https://gerrit.fd.io/r/#/c/13589/
Please confirm...
--
Damjan
> On 20 Jul 2018, at 15:52, abdul.ma...@sofioni.com wrote:
>
> When I ran vpp 18.07 in interactive mode I found that vpp was unable to load
> sample_plugin due to an error of undefine
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 f
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.