tkuester / gr-reveng Goto Github PK
View Code? Open in Web Editor NEWUtilities to help with reverse engineering RF protocols.
Utilities to help with reverse engineering RF protocols.
Trying to build this project to build the gr-gotenna project. Both the GoTenna branch and master fail to build a python package that contains the packet_deframer module. There is no packet_deframer python source. This results in a failure to build the GoTenna project. Inspecting the source I tried to run ctest
and tried to run qa_packet_deframer.py directly. Both result in failures. Here is a typical output from the python script:
Traceback (most recent call last):
File "./qa_packet_deframer.py", line 383, in test_011_t
test_blk = reveng.packet_deframer('boop', sync, False, 0, 4, 2, 2, True)
AttributeError: 'module' object has no attribute 'packet_deframer'
`
CMake Warning (dev) at /usr/lib64/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The LOCATION property should not be read from target "test-reveng". Use
the target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.
Call Stack (most recent call first):
lib/CMakeLists.txt:79 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
--
-- Checking for module SWIG
-- Found SWIG version 3.0.12.
-- Found SWIG: /usr/bin/swig
-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "2")
-- Found PythonInterp: /usr/bin/python (found suitable version "3.6.5", minimum required is "2")
File "<string>", line 3
print sysconfig.get_python_lib(plat_specific=True, prefix='')
^
SyntaxError: invalid syntax
CMake Error at /usr/lib64/cmake/gnuradio/GrPython.cmake:113 (file):
file FILE([TO_CMAKE_PATH|TO_NATIVE_PATH] path result) must be called with
exactly three arguments.
Call Stack (most recent call first):
python/CMakeLists.txt:23 (include)
Traceback (most recent call last):
File "<string>", line 2, in <module>
TypeError: Unicode-objects must be encoded before hashing
CMake Warning (dev) at /usr/lib64/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The LOCATION property should not be read from target "gnuradio-reveng".
Use the target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.
Call Stack (most recent call first):
python/CMakeLists.txt:45 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/lib64/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
get_target_property() called with non-existent target "/usr/bin/python".
Call Stack (most recent call first):
python/CMakeLists.txt:45 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/lib64/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
get_target_property() called with non-existent target
"/var/tmp/portage/net-wireless/gr-reveng-9999/work/gr-reveng-9999/python/qa_packet_deframer.py".
Call Stack (most recent call first):
python/CMakeLists.txt:45 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
File "<string>", line 3
print sysconfig.get_python_lib(plat_specific=True, prefix='')
^
SyntaxError: invalid syntax
CMake Error at /usr/lib64/cmake/gnuradio/GrPython.cmake:113 (file):
file FILE([TO_CMAKE_PATH|TO_NATIVE_PATH] path result) must be called with
exactly three arguments.
Call Stack (most recent call first):
apps/CMakeLists.txt:20 (include)
Traceback (most recent call last):
File "<string>", line 2, in <module>
TypeError: Unicode-objects must be encoded before hashing
CMake Error at /usr/lib64/cmake/gnuradio/GrPython.cmake:125 (add_custom_target):
add_custom_target cannot create target "ALL" because another target with
the same name already exists. The existing target is a custom target
created in source directory
"/var/tmp/portage/net-wireless/gr-reveng-9999/work/gr-reveng-9999/python".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
/usr/lib64/cmake/gnuradio/GrPython.cmake:228 (GR_UNIQUE_TARGET)
apps/CMakeLists.txt:22 (GR_PYTHON_INSTALL)
-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr
Compiler flags:
C -Os -march=native -mtune=native -pipe -frecord-gcc-switches
C++ -Os -march=native -mtune=native -pipe -frecord-gcc-switches
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-wireless/gr-reveng-9999/work/gr-reveng-9999_build/CMakeFiles/CMakeOutput.log".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.