Hi all,
         Recently, I want to build a new plugin for my work. I follow the guild 
here:

https://docs.fd.io/vpp/17.07/sample_plugin_doc.html
How to create a new plugin
To create a new plugin based on the sample plugin, copy and rename the sample 
plugin directory and automake config.
    cp -r src/examples/sample-plugin/sample src/plugins/newplugin
    cp src/examples/sample-plugin/sample.am src/plugins/newplugin.am
Add the following entry to the plugins section of src/configure.ac.
    PLUGIN_ENABLED(newplugin)
Add the following entry to the plugins section of src/plugins/Makefile.am
    if ENABLE_NEWPLUGIN
    include newplugin.am
    endif
Now (re)build VPP.
    $ make wipe
    $ make build

But, it seems not affect to me. I run the autoreconf –fis command on the src/ 
directory and get the following:
[cid:image001.png@01D36DB6.D06FF530]
The inject plugin is my new plugin which I want to make into a .so file. I 
checked the build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins directory 
after make build command was complete.
But there was no inject.so file…..
[cid:image002.png@01D36DB7.1E0D0990]
So, does anyone can help me?

Thanks a lot!!!!
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to