SysSec-KAIST / LTESniffer

An Open-source LTE Downlink/Uplink Eavesdropper
1.36k stars 153 forks source link

unable to build with external (system installed) srsran #67

Open blshkv opened 2 months ago

blshkv commented 2 months ago

Hello, I'm trying to install it with FORCE_SUBPROJECT_SRSRAN=OFF and system-installed srsran (location: /usr/include/srsran/ and /usr/lib64/libsrs) find_package(SRSRAN) is unable to find a cmake file (I renamed FindSRSLTE.cmake). Additionally, few variables are not getting set, so cmake is clearly broken.

Could you test the external srsran library option and fix it please?

hdtuanss commented 2 months ago

Hi, if you wanna use your own srsRAN library, the easiest way is after executing cmake command, replace the original srsRAN folder in /build/srsRAN-src/ with your own srs lib and build the project again. Thanks!

blshkv commented 2 months ago

Ideally, I want to build it as a share library, similar to c-mnalib. The FORCE_SUBPROJECT_CMNALIB option works fine, the FORCE_SUBPROJECT_SRSRAN is broken. Thus, this bug report.

btw, what's the reason of using an outdated fork of srsRAN (https://github.com/ShaoPaoLao/srsRAN2)? Is any any way to migrate to the official and better supported library? (https://github.com/srsran/srsRAN_4G)