X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=docs%2FBUILD.dpdkstat.md;h=33cd8e8ced4a5cf07ae99ced0c1a807ddbbe5efa;hb=1e8a95944f39cf4d552f2afed8e26b93febd50ec;hp=8991a6159b6433b0494f76e08364ca0d8fd90e9e;hpb=2e632b0929fb957fd686231658bc2999fdfb4b20;p=collectd.git diff --git a/docs/BUILD.dpdkstat.md b/docs/BUILD.dpdkstat.md index 8991a615..33cd8e8c 100644 --- a/docs/BUILD.dpdkstat.md +++ b/docs/BUILD.dpdkstat.md @@ -201,7 +201,11 @@ See also: http://dpdk.org/doc/guides/prog_guide/multi_proc_support.html * Generate the build script as specified below. (i.e. run `build.sh`). * Configure collectd with the DPDK shared library: - ./configure --with-libdpdk=/usr + ./configure LIBDPDK_CPPFLAGS="-I/usr/include/dpdk" LIBDPDK_LDFLAGS="-L/usr/lib" + +**Note:** Modify these flags according to specific environment setup. +LIBDPDK_CPPFLAGS should contain path to dpdk headers and LIBDPDK_LDFLAGS should +point out to dpdk libraries location. ### Build with the static DPDK library @@ -209,7 +213,7 @@ To configure collectd with the DPDK static library: * Run *configure* with the following CFLAGS: - ./configure --with-libdpdk=/usr CFLAGS=" -lpthread -Wl,--whole-archive -Wl,-ldpdk -Wl,-lm -Wl,-lrt -Wl,-lpcap -Wl,-ldl -Wl,--no-whole-archive" + ./configure LIBDPDK_CPPFLAGS="-I/usr/include/dpdk" LIBDPDK_LDFLAGS="-L/usr/lib" CFLAGS=" -lpthread -Wl,--whole-archive -Wl,-ldpdk -Wl,-lm -Wl,-lrt -Wl,-lpcap -Wl,-ldl -Wl,--no-whole-archive" * Make sure that dpdk and dpdkstat are enabled in the *configure* output. @@ -218,7 +222,7 @@ To configure collectd with the DPDK static library: Libraries: ... libdpdk . . . . . . . . yes - + Modules: ... dpdkstat . . . . . . .yes