Go to file
Andre Puschmann 7f6801cb1e ue_sync: fix 32bit compilation
fix printf format string on 32bit arches like ARMv7

FAILED: lib/src/phy/ue/CMakeFiles/srsran_ue.dir/ue_sync.c.o
/usr/bin/gcc -DASSERTS_ENABLED -DENABLE_TIMEPROF -DENABLE_TTCN3 -DHAVE_BACKWARD -DHAVE_MBEDTLS -DHAVE_PCSC -I/usr/include/PCSC -I/usr/include/SoapySDR -Ilib/include -I../lib/include -Wno-unused-but-set-variable -Wall -Wno-comment -Wno-write-strings -Wno-unused-result -Wformat -Wmissing-field-initializers -Wtype-limits -std=c99 -fno-strict-aliasing -D_GNU_SOURCE -O3 -fno-trapping-math -fno-math-errno -DBUILD_TYPE_RELEASE -DIS_ARM -DHAVE_NEON -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -fdiagnostics-color=always -Werror --param large-function-growth=1600 -O3 -DNDEBUG -fPIC -MD -MT lib/src/phy/ue/CMakeFiles/srsran_ue.dir/ue_sync.c.o -MF lib/src/phy/ue/CMakeFiles/srsran_ue.dir/ue_sync.c.o.d -o lib/src/phy/ue/CMakeFiles/srsran_ue.dir/ue_sync.c.o   -c ../lib/src/phy/ue/ue_sync.c
In file included from ../lib/include/srsran/srsran.h:31,
                 from ../lib/src/phy/ue/ue_sync.c:13:
../lib/src/phy/ue/ue_sync.c: In function ‘srsran_ue_sync_set_tti_from_timestamp’:
../lib/include/srsran/phy/utils/debug.h:59:23: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
       fprintf(stdout, "[DEBUG]: " _fmt "\n", ##__VA_ARGS__);                                                           \
                       ^~~~~~~~~~~
../lib/src/phy/ue/ue_sync.c:1044:3: note: in expansion of macro ‘DEBUG’
   DEBUG("rx time with 3gpp base in ms %lu\n", time_3gpp_msecs);
   ^~~~~
../lib/src/phy/ue/ue_sync.c:1044:41: note: format string is defined here
   DEBUG("rx time with 3gpp base in ms %lu\n", time_3gpp_msecs);
                                       ~~^
                                       %llu
cc1: all warnings being treated as errors
2021-10-27 18:03:03 +02:00
.github Update ISSUE_TEMPLATE.md 2021-10-23 13:16:16 +02:00
cmake/modules add changelog and bump version for 21.10 2021-10-25 21:39:33 +02:00
debian build: fix linking failure on RPi 32bit 2021-05-09 20:58:48 +02:00
lib ue_sync: fix 32bit compilation 2021-10-27 18:03:03 +02:00
srsenb Fix GTP-U bearer address conversion 2021-10-27 17:53:28 +02:00
srsepc Fixes coverity 373333 2021-10-26 21:09:44 +02:00
srsue Initialize variable. 2021-10-27 17:39:51 +02:00
test Fix coverty defects. 2021-10-27 17:39:51 +02:00
.clang-format Changed clang-format to remove newline at beggening of block. 2021-01-29 17:57:00 +01:00
.clang-tidy refactor - update of clang-tidy project file. automatic clang-tidy refactors 2021-03-18 17:04:45 +00:00
.gdbinit sched,nr: fix nzp csi rs allocation in NR scheduler 2021-10-04 14:44:35 +02:00
.lgtm.yml add basic lgtm config 2019-12-16 12:49:07 +01:00
.travis.yml Deleted all HAVE_5GNR in CC and h files 2021-02-22 21:16:04 +01:00
CHANGELOG add changelog and bump version for 21.10 2021-10-25 21:39:33 +02:00
CMakeLists.txt Configure the term timeout using the cmake definition 2021-10-22 13:52:07 +02:00
COPYRIGHT build: fix linking failure on RPi 32bit 2021-05-09 20:58:48 +02:00
CTestConfig.cmake ctestconfig: update valgrind parameters to track origins 2021-07-15 17:13:40 +02:00
CTestCustom.cmake.in SRSUE: avoid testing ue_phy_test 2019-12-23 22:57:37 +01:00
LICENSE change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
README.md Update mailing list 2021-10-23 13:16:09 +02:00
build_trial.sh rename srsLTE to srsRAN 2021-03-21 21:47:01 +01:00
cmake_uninstall.cmake.in Reorganized the directory structure. Added Graphics support. Added precoding/layer mapper. MIB detection now working with 1 or 2 tx antennas. Initial eNodeB implementation with PSS/SSS and PBCH generation 2014-03-03 19:09:26 +00:00
run-clang-format-diff.sh rename srsLTE to srsRAN 2021-03-21 21:47:01 +01:00

README.md

srsRAN

Build Status Language grade: C/C++ Coverity

srsRAN is a 4G/5G software radio suite developed by SRS.

See the srsRAN project pages for information, guides and project news.

The srsRAN suite includes:

  • srsUE - a full-stack SDR 4G/5G-NSA UE application (5G-SA coming soon)
  • srsENB - a full-stack SDR 4G eNodeB application (5G-NSA and 5G-SA coming soon)
  • srsEPC - a light-weight 4G core network implementation with MME, HSS and S/P-GW

For application features, build instructions and user guides see the srsRAN documentation.

For license details, see LICENSE file.

Support

Mailing list: https://lists.srsran.com/mailman/listinfo/srsran-users