Date
1 - 2 of 2
ask for help to build bcc on EL7 with kernel oracle uek5
saihua
env. EL7 with llvm llvm-toolset-7-libomp-4.0.1-1. llvm-toolset-7-llvm-libs-4.0. llvm-toolset-7-clang-libs-4.0. llvm-toolset-7-llvm-4.0.1-3. llvm-toolset-7-llvm-devel-4.0. llvm-toolset-7-clang-4.0.1-1. llvm-toolset-7-compiler-rt-4. llvm-toolset-7-llvm-static-4. llvm-toolset-7-clang-devel-4. llvm-toolset-7-runtime-4.0.1- err msg: ====================$make [ 3%] Built target bpf-shared [ 9%] Built target clang_frontend [ 11%] Built target bpf-static [ 14%] Built target api-static [ 17%] Built target usdt-static [ 27%] Built target b_frontend [ 41%] Built target bcc-shared [ 48%] Built target bcc-loader-static [ 61%] Built target bcc-lua-static [ 70%] Built target bcc-static [ 71%] Built target bcc_py [ 74%] Built target bcc-lua [ 76%] Built target bps [ 78%] Built target FollyRequestContextSwitch [ 79%] Built target CPUDistribution [ 81%] Built target LLCStat [ 83%] Built target HelloWorld [ 85%] Built target RecordMySQLQuery [ 86%] Built target TCPSendStack [ 88%] Built target RandomRead [ 89%] Linking CXX executable test_libbcc CMakeFiles/test_libbcc.dir/ test_usdt_probes.cc:(.text+ collect2: error: ld returned 1 exit status make[2]: *** [tests/cc/CMakeFiles/test_ make[1]: *** [CMakeFiles/Makefile2:1398: tests/cc/CMakeFiles/test_ make: *** [Makefile:139: all] Error 2 any help is welcome, thanks. -- Regards,
-suse |
|
Yonghong Song
On Tue, Mar 13, 2018 at 8:56 AM, Suse Shi via iovisor-dev
<iovisor-dev@...> wrote: env. EL7This should be related to your /usr/include/sys/sdt.h That file probably introduced this additional symbol __dtrace_libbcc_test___sample_probe_1. Maybe you can check whether additional macro definition needed to avoid this.
|
|