Skip to content

aarch64 support #116

@alphafox02

Description

@alphafox02

While attempting to buiild Crocodile hunter on a Pi4 running Ubuntu 20.04 aarch64 I find the following is failing, which seems most likely an issue with srsLTE after reading this comment on another program ( F5OEO/rpitx#173 ).

ubuntu@ubuntu:/usr/src/crocodilehunter/src/srsLTE/build$ sudo make -j4
Scanning dependencies of target srslte_asn1
Scanning dependencies of target arch_select
Scanning dependencies of target gen_build_info
[ 1%] Building CXX object lib/src/asn1/CMakeFiles/rrc_asn1.dir/rrc_asn1.cc.o
[ 1%] Building CXX object lib/src/common/CMakeFiles/arch_select.dir/arch_select.cc.o
c++: error: unrecognized command line option ‘-mfloat-abi=hard’
c++: error: unrecognized command line option ‘-mfpu=neon’
make[2]: *** [lib/src/asn1/CMakeFiles/rrc_asn1.dir/build.make:63: lib/src/asn1/CMakeFiles/rrc_asn1.dir/rrc_asn1.cc.o] Error 1
c++: error: unrecognized command line option ‘-mfloat-abi=hard’
make[1]: *** [CMakeFiles/Makefile2:2103: lib/src/asn1/CMakeFiles/rrc_asn1.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
c++: error: unrecognized command line option ‘-mfpu=neon’
make[2]: *** [lib/src/common/CMakeFiles/arch_select.dir/build.make:63: lib/src/common/CMakeFiles/arch_select.dir/arch_select.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2157: lib/src/common/CMakeFiles/arch_select.dir/all] Error 2
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
-- Generating build_info.h
[ 1%] Built target gen_build_info
[ 2%] Building CXX object lib/src/asn1/CMakeFiles/srslte_asn1.dir/liblte_common.cc.o
[ 2%] Building CXX object lib/src/asn1/CMakeFiles/srslte_asn1.dir/liblte_mme.cc.o
[ 2%] Building CXX object lib/src/asn1/CMakeFiles/srslte_asn1.dir/liblte_s1ap.cc.o
[ 3%] Building CXX object lib/src/asn1/CMakeFiles/srslte_asn1.dir/liblte_m2ap.cc.o
c++: error: unrecognized command line option ‘-mfloat-abi=hard’
c++: error: unrecognized command line option ‘-mfloat-abi=hard’
c++: error: unrecognized command line option ‘-mfpu=neon’
c++: error: unrecognized command line option ‘-mfloat-abi=hard’
c++: error: unrecognized command line option ‘-mfpu=neon’
make[2]: *** [lib/src/asn1/CMakeFiles/srslte_asn1.dir/build.make:63: lib/src/asn1/CMakeFiles/srslte_asn1.dir/liblte_common.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [lib/src/asn1/CMakeFiles/srslte_asn1.dir/build.make:76: lib/src/asn1/CMakeFiles/srslte_asn1.dir/liblte_mme.cc.o] Error 1
c++: error: unrecognized command line option ‘-mfpu=neon’
make[2]: *** [lib/src/asn1/CMakeFiles/srslte_asn1.dir/build.make:89: lib/src/asn1/CMakeFiles/srslte_asn1.dir/liblte_s1ap.cc.o] Error 1
c++: error: unrecognized command line option ‘-mfloat-abi=hard’
c++: error: unrecognized command line option ‘-mfpu=neon’
make[2]: *** [lib/src/asn1/CMakeFiles/srslte_asn1.dir/build.make:102: lib/src/asn1/CMakeFiles/srslte_asn1.dir/liblte_m2ap.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2130: lib/src/asn1/CMakeFiles/srslte_asn1.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions