'PTHREAD_MUTEX_RECURSIVE_NP undeclared



  • I am trying to build one of the library required for my application on omega2+ , but for below line

    #define PTHREAD_MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP

    it gives me error

    error: 'PTHREAD_MUTEX_RECURSIVE_NP' undeclared (first use in this function); did you mean 'PTHREAD_MUTEX_RECURSIVE'?

    what does it mean?



  • @Nil
    PTHREAD_MUTEX_RECURSIVE_NP is not defined

    ~/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/include/pthread.h
    has line 38 as
    #define PTHREAD_MUTEX_RECURSIVE 1

    Thanks.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.