libosmocore[master]: Fix build on older systems

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Oct 9 16:30:42 UTC 2017


Patch Set 1:

I just hit this issue:

/home/sysmocom/git/libosmocore/src/gsm/gsm_utils.c: In function 'osmo_get_rand_id':
/home/sysmocom/git/libosmocore/src/gsm/gsm_utils.c:418:9: note: #pragma message: Using direct syscall access for getrandom(): consider upgrading to glibc >= 2.25
 #pragma message ("Using direct syscall access for getrandom(): consider upgrading to glibc >= 2.25")
         ^~~~~~~
/home/sysmocom/git/libosmocore/src/gsm/gsm_utils.c:420:40: error: 'GRND_NONBLOCK' undeclared (first use in this function)
  rc = syscall(SYS_getrandom, out, len, GRND_NONBLOCK);
                                        ^~~~~~~~~~~~~
/home/sysmocom/git/libosmocore/src/gsm/gsm_utils.c:420:40: note: each undeclared identifier is reported only once for each function it appears in
Makefile:568: recipe for target 'gsm_utils.lo' failed

-- 
To view, visit https://gerrit.osmocom.org/4166
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I1bcac37ee1847596b49122f9307bd2689ba71b1b
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-HasComments: No



More information about the gerrit-log mailing list