Hi, in order for boa to properly run an executable, the extension of the file must be changed to .cgi.
Additionally, for the executable to be run correctly, it needs to output to standard out (before outputting anything else) a "cgi header". Since a CGI program can return a myriad of document types, a CGI program must place a short header (ASCII text) on its output so that the client will know how to interpret the information it generates.
Most commonly, CGI programs generate HTML, so the header that needs to be output is:
Content-type: text/html\n\n
Note that this header MUST include the two new lines at the end.
Since the executable you are trying to run has been compiled from C source, you need to put this line in your program:
printf("Content-type: text/html\n\n");