Project

General

Profile

Actions

Bug #3832

closed

libosmocore no longer builds with Android NDK

Added by supersat about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/10/2019
Due date:
% Done:

100%

Spec Reference:

Description

When building libosmocore with the Android NDK, it fails complaining about this line (103) in src/gsm/gsm_utils.c:

#if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2,25)

This code doesn't work as intended -- if __GLIBC_PREREQ isn't defined, then the preprocessor will be unable to parse that expression.

I've attached a suggested fix which breaks up this check into multiple lines.


Files

glibc_prereq.patch glibc_prereq.patch 1.25 KB supersat, 03/10/2019 10:23 PM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)