You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2023/01/12 18:31:25 UTC

[GitHub] [nuttx-apps] ConnorRigby opened a new issue, #1491: Error building nimble PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP

ConnorRigby opened a new issue, #1491:
URL: https://github.com/apache/nuttx-apps/issues/1491

   Not sure if i should open here or nimble, but i was unable to get the app to compile. I get an error:
   ```
   /home/connor/workspace/connorrigby/nuttx-tests/apps/wireless/bluetooth/nimble/mynewt-nimble/porting/npl/nuttx/src/os_atomic.c:26:34: error: 'PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a function); did you mean 'PTHREAD_MUTEX_INITIALIZER'?
      26 | static pthread_mutex_t s_mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
         |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                                  PTHREAD_MUTEX_INITIALIZER
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx-apps] ConnorRigby closed issue #1491: Error building nimble PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP

Posted by GitBox <gi...@apache.org>.
ConnorRigby closed issue #1491: Error building nimble  PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
URL: https://github.com/apache/nuttx-apps/issues/1491


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx-apps] ConnorRigby commented on issue #1491: Error building nimble PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP

Posted by GitBox <gi...@apache.org>.
ConnorRigby commented on issue #1491:
URL: https://github.com/apache/nuttx-apps/issues/1491#issuecomment-1380921212

   update: fumbled thru figuring this one out - needed to enable thread types, and a handful of other options in RTOS features. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org