-
Notifications
You must be signed in to change notification settings - Fork 23
Error on Shadow-plugin-bitcoin section #9
Comments
Your command is incorrect. You should have ticks around
|
(Make sure you are using Shadow version 1.10.2, other versions of Shadow won't work with the bitcoin plug-in. Also, be warned that the bitcoin plug-in is not well tested.) |
Thanks Rob, I will try this. |
Not that I am aware of. Since this is for your dissertation, it may be worth it for you to work out any issues you find and help contribute to Shadow in the process. ;) |
First, disable wallet by reverting commit. Revert "enable wallet for shadow-bitcoin. Add patch for disabling secure_allocator" This reverts commit 4304067. Second, to resolve secure_allocator issue, make all library of bitcoin-plugin as shared library. Third, modify the patch for handling generate packet (of bitcoin plugin). Fourth, modify the example shadow config file to disable wallet, and add new shadow config which also initiates the injector-plugin. refs shadow#9, shadow#1
@jhodge94 your dissertation topic sounds interesting. is it finished? available online somewhere? |
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
The text was updated successfully, but these errors were encountered: