-
Notifications
You must be signed in to change notification settings - Fork 17
Error on Shadow-plugin-bitcoin section #9
Description
When I am trying to use cmake with "CC=which clang CXX=which clang++ cmake ../.."
I keep getting this error...
CC=which clang CXX=which clang++ cmake ../..
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/which
-- Check for working C compiler: /usr/bin/which -- broken
CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/usr/bin/which" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: /home/james/shadow/shadow-plugin-bitcoin/build/shadow-plugin-bitcoin/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_32da8/fast"
/usr/bin/make -f CMakeFiles/cmTC_32da8.dir/build.make
CMakeFiles/cmTC_32da8.dir/build
make[1]: Entering directory
'/home/james/shadow/shadow-plugin-bitcoin/build/shadow-plugin-bitcoin/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_32da8.dir/testCCompiler.c.o
/usr/bin/which clang -o CMakeFiles/cmTC_32da8.dir/testCCompiler.c.o -c
/home/james/shadow/shadow-plugin-bitcoin/build/shadow-plugin-bitcoin/CMakeFiles/CMakeTmp/testCCompiler.c
/usr/bin/clang
CMakeFiles/cmTC_32da8.dir/build.make:65: recipe for target
'CMakeFiles/cmTC_32da8.dir/testCCompiler.c.o' failed
make[1]: *** [CMakeFiles/cmTC_32da8.dir/testCCompiler.c.o] Error 1
make[1]: Leaving directory
'/home/james/shadow/shadow-plugin-bitcoin/build/shadow-plugin-bitcoin/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_32da8/fast' failed
make: *** [cmTC_32da8/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
-- Configuring incomplete, errors occurred!
See also "/home/james/shadow/shadow-plugin-bitcoin/build/shadow-plugin-bitcoin/CMakeFiles/CMakeOutput.log".
See also "/home/james/shadow/shadow-plugin-bitcoin/build/shadow-plugin-bitcoin/CMakeFiles/CMakeError.log".
Any insight to what I have done wrong? i've followed the wiki guide step by step, Thanks!
@cmsc417 @robgjansen @amiller