using
./configure --enable-static --prefix="$inst/stow/libosmocore" --host=arm-none-eabi \
--enable-embedded --disable-doxygen --disable-shared --disable-pseudotalloc \
--disable-libsctp --disable-libusb --disable-gb --enable-external-tests \
CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp -mthumb -Os -mlong-calls -g3 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -Wno-error=format
on debian unstable, I get:
CC auth_core.lo
In file included from gsm0411_smr.c:56:
gsm0411_smr.c: In function 'gsm411_smr_init':
gsm0411_smr.c:65:29: error: expected ')' before 'PRIu64'
#define SMR_LOG_STR "SMR(%" PRIu64 ") "
^~~~~~
../../include/osmocom/core/logging.h:95:54: note: in definition of macro 'LOGPSRCC'
logp2(ss, level, caller_file, caller_line, cont, fmt, ##args); \
^~~
../../include/osmocom/core/logging.h:49:2: note: in expansion of macro 'LOGPSRC'
LOGPSRC(ss, level, NULL, 0, fmt, ## args)
^~~~~~~
gsm0411_smr.c:89:2: note: in expansion of macro 'LOGP'
LOGP(DLSMS, LOGL_INFO,
^~~~
gsm0411_smr.c:90:3: note: in expansion of macro 'SMR_LOG_STR'
SMR_LOG_STR "instance created for %s.\n",
^~~~~~~~~~~
In file included from gsm0411_smc.c:58:
gsm0411_smc.c: In function 'gsm411_smc_init':
gsm0411_smc.c:75:29: error: expected ')' before 'PRIu64'
#define SMC_LOG_STR "SMC(%" PRIu64 ") "
^~~~~~