>>> Do you have a main(int argc, char *argv[]) function defined? >> Yes, >> >> pj_status_t app_init(int argc, char *argv[]) >> >> { >> then pjsua_start(),application callbacks, initlaization of pjsua etc etc >> >> >> } One thing at a time - you've got two different errors. Your first problem is because you don't have a main() method. You need a function literally named "main" which takes int and a char*[] arguments (or one which takes no arguments, but you can ignore that for now) that serves as the entry point to your program (or else how does the linker know which instruction you wanted to execute first?) It looks like you want to add the following: int main(int argc, char *argv[]) { app_init(argc, argv); return 0; } > Alright I re-compiled this time my error: > In function 'parse-args' > error: structure has no member named 'stun-config' > > Where/how do I declare 'stun-config'? "stun-config" isn't a valid identifier - it has a minus sign in it. What are you trying to do?