vpp编写plugin

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-root'
make: *** [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

 git

https://gerrit.fd.io/r/gitweb?p=hicn.git;a=summary

description Hybrid Information-Centric Networking
owner Gerrit Service User
last change Thu, 23 Apr 2020 21:13:48 +0800 (15:13 +0200)
原文地址:https://www.cnblogs.com/dream397/p/12781462.html