Hi, i code an aplication that use the bsearch function from c, when i debug it to mobile it give me the following errors:

Installing application...
Starting application...
Could not start application: General OS-related error
Finished.
My code is: http://pastebin.com/yrqG7axB