Open MasoudSaraf opened 1 year ago
A couple of things:
a) Those are warnings, not errors.
b) If you look at the line immediately before the mlockall
call, there's an #ifdef HAVE_MLOCKALL
. If HAVE_MLOCKALL
is set, that means ./configure found an mlockall
function on your system.
Can you share some more info? Build environment, build logs, etc.?
https://github.com/cernekee/stoken/blob/ddb5c7d4747a4923456551c1b054ea05e926a561/src/common.c#L378
Hi, I have an error in this line with this message
/root/main/ics-openconnect/external/stoken/src/common.c:378:2: warning: nested extern declaration of 'mlockall' [-Wnested-externs] /root/main/ics-openconnect/external/stoken/src/common.c: At top level: cc1: warning: unrecognized command line option "-Wno-unused-const-variable"
I try to compile latest openconnect library for android.
Can u help me please?