首页 > 其他 > 详细

vpp编写plugin

时间:2020-04-26 18:35:33      阅读:181      评论:0      收藏:0      [点我收藏+]
Could not find a package configuration file provided by "Vpp" with any of
  the following names:

    VppConfig.cmake
    vpp-config.cmake

  Add the installation prefix of "Vpp" to CMAKE_PREFIX_PATH or set "Vpp_DIR"
  to a directory containing one of the above files.  If "Vpp" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/root/vpp/vpp_plugin/build-root/build-vpp_debug-native/vpp/CMakeFiles/CMakeOutput.log".
See also "/root/vpp/vpp_plugin/build-root/build-vpp_debug-native/vpp/CMakeFiles/CMakeError.log".
make[1]: *** [vpp-configure] Error 1
make[1]: Leaving directory `/root/vpp/vpp_plugin/build-rootmake: *** [build] Error 2
[root@localhost vpp_plugin]# cat plugins/router-plugin/CMakeLists.txt
cat: plugins/router-plugin/CMakeLists.txt: No such file or directory
[root@localhost vpp_plugin]# 

 

[root@localhost vpp_plugin]# find ./ -name vpp-config.cmake
[root@localhost vpp_plugin]# find ./ -name *.cmake
./src/plugins/router-plugin/cmake/Modules/Packaging.cmake
./src/cmake/misc.cmake
./src/cmake/api.cmake
./src/cmake/ccache.cmake
./src/cmake/plugin.cmake
./src/cmake/cpu.cmake
./src/cmake/library.cmake
./src/cmake/pack.cmake
./src/cmake/syscall.cmake
./src/cmake/VPPConfig.cmake
./src/cmake/exec.cmake
./build-root/rpmbuild/vpp-20.01/src/cmake/misc.cmake
./build-root/rpmbuild/vpp-20.01/src/cmake/api.cmake
./build-root/rpmbuild/vpp-20.01/src/cmake/ccache.cmake
./build-root/rpmbuild/vpp-20.01/src/cmake/plugin.cmake
./build-root/rpmbuild/vpp-20.01/src/cmake/cpu.cmake
./build-root/rpmbuild/vpp-20.01/src/cmake/library.cmake
./build-root/rpmbuild/vpp-20.01/src/cmake/pack.cmake
./build-root/rpmbuild/vpp-20.01/src/cmake/syscall.cmake
./build-root/rpmbuild/vpp-20.01/src/cmake/VPPConfig.cmake
./build-root/rpmbuild/vpp-20.01/src/cmake/exec.cmake
./build-root/rpmbuild/vpp-20.01/extras/libmemif/cmake/FindCheck.cmake
./build-root/rpmbuild/vpp-20.01/extras/libmemif/cmake/FindSubunit.cmake
./build-root/rpmbuild/vpp-20.01/extras/vom/cmake/FindCheck.cmake
./build-root/rpmbuild/vpp-20.01/extras/vom/cmake/VOMConfig.cmake
./build-root/rpmbuild/vpp-20.01/extras/vom/cmake/FindSubunit.cmake

只能自己编写plugin的makefile了

技术分享图片

 

 

https://gerrit.fd.io/r/changes/hicn~25743/revisions/1/files/extras%2Frouter-plugin%2Frtinject%2Ftap_inject_netlink.c/download

技术分享图片

 

vpp编写plugin

原文:https://www.cnblogs.com/dream397/p/12781462.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!