I am trying to build on CentOS 6.5.
I cloned the repos, and then issued cd pybombs; ./pybombs install
hackrf and it eventually failed with:
------------------
Current step: (hackrf :: configure)
configure
(' \n CC=gcc CXX=g++ cmake .. -DCMAKE_BUILD_TYPE=Debug
-DCMAKE_INSTALL_PREFIX=/home/rsharpe/dev/target \n', ' \n CC=$cc
CXX=$cxx cmake .. -DCMAKE_BUILD_TYPE=$cmakebuildtype
-DCMAKE_INSTALL_PREFIX=$prefix $config_opt\n')
(' \n CC=gcc CXX=g++ cmake .. -DCMAKE_BUILD_TYPE=Debug
-DCMAKE_INSTALL_PREFIX=/home/rsharpe/dev/target \n', ' \n CC=gcc
CXX=g++ cmake .. -DCMAKE_BUILD_TYPE=Debug
-DCMAKE_INSTALL_PREFIX=/home/rsharpe/dev/target \n')
bash exec (/home/rsharpe/dev/pybombs/src/hackrf/host/build)::
CC=gcc CXX=g++ cmake .. -DCMAKE_BUILD_TYPE=Debug
-DCMAKE_INSTALL_PREFIX=/home/rsharpe/dev/target
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
...
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - not found
-- Check size of unsigned short
-- Check size of unsigned short - failed
-- Check size of unsigned int
-- Check size of unsigned int - failed
-- Check size of unsigned long
-- Check size of unsigned long - failed
CMake Error at /home/rsharpe/dev/target/share/cmake-2.8/Modules/TestBigEndian.cmake:44
(MESSAGE):
no suitable type found
Call Stack (most recent call first):
libhackrf/CMakeLists.txt:40 (TEST_BIG_ENDIAN)
---------------------
The problem was obvious once I checked in
src/hackrf/host/build/CMakeFiles/CMakeError.log:
cc1: error: unrecognized command line option "-std=gnu90"
gcc version is 4.4-.7-4.el6 which does not support that command-line option.
Is there any way to switch it off?
--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment