02-19-2020, 04:47 AM
Hi All,
I am very new to the rock64 and am trying to set up a webSDR using the HackRF. I am having a few issues with building the source though.
I run the make and get the following errors;
The inbuilt PARAMS_NEON is set as PARAMS_NEON = -mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -funsafe-math-optimizations -Wformat=0 -DNEON_OPTS
What should this be changed to to suit the Rock64 board?
If it helps, I am running aarch64-linux-gnu, Ubuntu minimal 64 bit (18.04)
Many thanks!
I am very new to the rock64 and am trying to set up a webSDR using the HackRF. I am having a few issues with building the source though.
I run the make and get the following errors;
Code:
gcc -std=gnu99 -O3 -ffast-math -fdump-tree-vect-details -dumpbase dumpvect -mfloat-abi=hard -march=armv7-a -mtune=cortex-a72.cortex-a53 -mfpu=neon -mvectorize-with-neon-quad -funsafe-math-optimizations -Wformat=0 -DNEON_OPTS fft_fftw.c libcsdr_wrapper.c -g -lm -lrt -lfftw3f -DUSE_FFTW -DLIBCSDR_GPL -DUSE_IMA_ADPCM -Wno-unused-result -fpic -shared -Wl,-soname,libcsdr.so.0.15 -o libcsdr.so.0.15
gcc: error: unrecognized command line option '-mfloat-abi=hard'
gcc: error: unrecognized command line option '-mfpu=neon'
gcc: error: unrecognized command line option '-mvectorize-with-neon-quad'
Makefile:52: recipe for target 'libcsdr.so' failed
make: *** [libcsdr.so] Error 1
The inbuilt PARAMS_NEON is set as PARAMS_NEON = -mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -funsafe-math-optimizations -Wformat=0 -DNEON_OPTS
What should this be changed to to suit the Rock64 board?
If it helps, I am running aarch64-linux-gnu, Ubuntu minimal 64 bit (18.04)
Many thanks!