I did what you posted in the thread here
and it complies and installs! but then it crashes and the GDB says:
Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
pthread_cond_init$UNIX2003 called from function CThread_create_event in image Rocket.
If you are encountering this problem running a simulator binary within gdb, make sure you 'set start-with-shell off' first.
Edit: nevermind I got it.
It was running CPhidgetInterfaceKit_create(&ifkit);
and it wanted CPhidgetInterfaceKit_create(ifkit);