NVIDIA / l2fwd-nv

l2fwd-nv provides an example of how to leverage your DPDK network application with the NVIDIA GPUDirect RDMA techonology.
Apache License 2.0
65 stars 20 forks source link

Compiler error #10

Open adibacco opened 1 year ago

adibacco commented 1 year ago
Package check was not found in the pkg-config search path.
Perhaps you should add the directory containing `check.pc'
to the PKG_CONFIG_PATH environment variable
No package 'check' found
Package check was not found in the pkg-config search path.
Perhaps you should add the directory containing `check.pc'
to the PKG_CONFIG_PATH environment variable
No package 'check' found
In file included from copybw.cpp:35:
common.hpp:29:10: fatal error: check.h: No such file or directory
   29 | #include <check.h>
      |          ^~~~~~~~~
compilation terminated.
make[4]: *** [<builtin>: copybw.o] Error 1
make[3]: *** [Makefile:62: exes] Error 2
make[2]: *** [CMakeFiles/gdrcopy_lib.dir/build.make:70: CMakeFiles/gdrcopy_lib] Error 2
make[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/gdrcopy_lib.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
LC10086 commented 1 year ago

you could try to execute the command:

On RHEL

$ sudo yum install dkms check check-devel subunit subunit-devel

On Debian

$ sudo apt install check libsubunit0 libsubunit-dev