prt.h has an invalid portability macro for posting to a semaphore. PRT_SEM_POST() has an ampersand in front of _s. This causes lbmct_ctrlr_cmd_submit_and_wait() to never wake up. Most API calls use that function.
Solution is to remove the ampersand from PRT_SEM_POST().