You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm following the commands from this script (https://github.com/IITH-Compilers/P4LLVM)) on a VM with Ubuntu 16.04.7desktop. Can I ask for the assistance to solve this issue?
when I cmake .. :
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- iostreams
-- regex
-- Could NOT find PY_tenjin (missing: PY_TENJIN)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Program 'simple_switch_CLI' (https://github.com/p4lang/behavioral-model.git) not found;
Searched /usr/local/bin;/home/cy/p4lang/../behavioral-model/build/targets/simple_switch;/home/cy/p4lang/../../behavioral-model/build/targets/simple_switch.
Will not run BMv2 tests. (missing: SIMPLE_SWITCH SIMPLE_SWITCH_CLI)
-- Using the GNU gold linker.
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Available extensions
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
CMake Warning at backends/bmv2/CMakeLists.txt:136 (MESSAGE):
BMv2 simple switch is not available, not adding BMv2 tests
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Added 10 tests to 'ebpf' (0 xfails)
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Added 490 tests to 'p4' (1 xfails)
-- Added 177 tests to 'p14_to_16' (0 xfails)
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Found LLVM 8.0.0
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
CMake Warning at backends/llbmv2/CMakeLists.txt:131 (MESSAGE):
BMv2 simple switch is not available, not adding BMv2 tests
-- CTest parallel: -j 4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cy/p4lang/build
and when I make -j4:
home/cy/p4lang/backends/llbmv2/backend.h:155:52: error: ‘F_RW’ is not a member of ‘llvm::sys::fs’
S = new raw_fd_ostream(fileName+".ll", ec, sys::fs::F_RW);
^
/home/cy/p4lang/frontends/p4/emitLLVMIR.h:195:52: error: ‘F_RW’ is not a member of ‘llvm::sys::fs’
S = new raw_fd_ostream(fileName+".ll", ec, sys::fs::F_RW);
^
backends/llbmv2/CMakeFiles/bmv2llBackend.dir/build.make:62: recipe for target 'backends/llbmv2/CMakeFiles/bmv2llBackend.dir/unified_bmv2_backend_srcs_1.cpp.o' failed
make[2]: *** [backends/llbmv2/CMakeFiles/bmv2llBackend.dir/unified_bmv2_backend_srcs_1.cpp.o] Error 1
make[2]: *** 正在等待未完成的任务....
backends/llbmv2/CMakeFiles/bmv2llBackend.dir/build.make:86: recipe for target 'backends/llbmv2/CMakeFiles/bmv2llBackend.dir/unified_bmv2_backend_srcs_2.cpp.o' failed
make[2]: *** [backends/llbmv2/CMakeFiles/bmv2llBackend.dir/unified_bmv2_backend_srcs_2.cpp.o] Error 1
CMakeFiles/Makefile2:1735: recipe for target 'backends/llbmv2/CMakeFiles/bmv2llBackend.dir/all' failed
make[1]: *** [backends/llbmv2/CMakeFiles/bmv2llBackend.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....
frontends/CMakeFiles/frontend.dir/build.make:215: recipe for target 'frontends/CMakeFiles/frontend.dir/unified_frontend_sources_1.cpp.o' failed
make[2]: *** [frontends/CMakeFiles/frontend.dir/unified_frontend_sources_1.cpp.o] Error 1
CMakeFiles/Makefile2:927: recipe for target 'frontends/CMakeFiles/frontend.dir/all' failed
make[1]: *** [frontends/CMakeFiles/frontend.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
Hello,
I'm following the commands from this script (https://github.com/IITH-Compilers/P4LLVM)) on a VM with Ubuntu 16.04.7desktop. Can I ask for the assistance to solve this issue?
when I cmake .. :
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- iostreams
-- regex
-- Could NOT find PY_tenjin (missing: PY_TENJIN)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Program 'simple_switch_CLI' (https://github.com/p4lang/behavioral-model.git) not found;
Searched /usr/local/bin;/home/cy/p4lang/../behavioral-model/build/targets/simple_switch;/home/cy/p4lang/../../behavioral-model/build/targets/simple_switch.
Will not run BMv2 tests. (missing: SIMPLE_SWITCH SIMPLE_SWITCH_CLI)
-- Using the GNU gold linker.
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Available extensions
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
CMake Warning at backends/bmv2/CMakeLists.txt:136 (MESSAGE):
BMv2 simple switch is not available, not adding BMv2 tests
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Added 10 tests to 'ebpf' (0 xfails)
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Added 490 tests to 'p4' (1 xfails)
-- Added 177 tests to 'p14_to_16' (0 xfails)
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
-- Found LLVM 8.0.0
-- Found LLVM 8.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-8/cmake
CMake Warning at backends/llbmv2/CMakeLists.txt:131 (MESSAGE):
BMv2 simple switch is not available, not adding BMv2 tests
-- CTest parallel: -j 4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cy/p4lang/build
and when I make -j4:
home/cy/p4lang/backends/llbmv2/backend.h:155:52: error: ‘F_RW’ is not a member of ‘llvm::sys::fs’
S = new raw_fd_ostream(fileName+".ll", ec, sys::fs::F_RW);
^
/home/cy/p4lang/frontends/p4/emitLLVMIR.h:195:52: error: ‘F_RW’ is not a member of ‘llvm::sys::fs’
S = new raw_fd_ostream(fileName+".ll", ec, sys::fs::F_RW);
^
backends/llbmv2/CMakeFiles/bmv2llBackend.dir/build.make:62: recipe for target 'backends/llbmv2/CMakeFiles/bmv2llBackend.dir/unified_bmv2_backend_srcs_1.cpp.o' failed
make[2]: *** [backends/llbmv2/CMakeFiles/bmv2llBackend.dir/unified_bmv2_backend_srcs_1.cpp.o] Error 1
make[2]: *** 正在等待未完成的任务....
backends/llbmv2/CMakeFiles/bmv2llBackend.dir/build.make:86: recipe for target 'backends/llbmv2/CMakeFiles/bmv2llBackend.dir/unified_bmv2_backend_srcs_2.cpp.o' failed
make[2]: *** [backends/llbmv2/CMakeFiles/bmv2llBackend.dir/unified_bmv2_backend_srcs_2.cpp.o] Error 1
CMakeFiles/Makefile2:1735: recipe for target 'backends/llbmv2/CMakeFiles/bmv2llBackend.dir/all' failed
make[1]: *** [backends/llbmv2/CMakeFiles/bmv2llBackend.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....
frontends/CMakeFiles/frontend.dir/build.make:215: recipe for target 'frontends/CMakeFiles/frontend.dir/unified_frontend_sources_1.cpp.o' failed
make[2]: *** [frontends/CMakeFiles/frontend.dir/unified_frontend_sources_1.cpp.o] Error 1
CMakeFiles/Makefile2:927: recipe for target 'frontends/CMakeFiles/frontend.dir/all' failed
make[1]: *** [frontends/CMakeFiles/frontend.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: