GooTal commented on issue #9273:
URL: https://github.com/apache/nuttx/issues/9273#issuecomment-1547334218

   Oh, it called task_spawn 
[here](https://github.com/apache/nuttx-apps/blob/0acd68b391244d8edf5c3bc78e2b0ce818868a5b/system/system/system.c#L139),
 which is not supported for kernel build.
   
![图片](https://github.com/apache/nuttx/assets/40800103/2db6ded7-a6c8-4367-9fad-cc4b5ad0f9e7)
   
   So the kernel build requires CONFIG_SYSTEM_SYSTEM_SHPATH to enable 
posix_spawn 
[here](https://github.com/apache/nuttx-apps/blob/0acd68b391244d8edf5c3bc78e2b0ce818868a5b/system/system/system.c#LL135C8-L135C35).
 
   
   Additionally, CONFIG_SYSTEM_SYSTEM_SHPATH depends on `SYSTEM_NSH=m` 
[here](https://github.com/apache/nuttx-apps/blob/0acd68b391244d8edf5c3bc78e2b0ce818868a5b/system/system/Kconfig#L20)
 , which was `SYSTEM_NSH=y` previously.
   
   So i changed SYSTEM_NSH=m and enabled CONFIG_SYSTEM_SYSTEM_SHPATH. Problem 
solved for rv-virt:knsh64.
   
   
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to