I follow this PJLIB ( https://trac.pjsip.org/repos/wiki/Getting-Starte开发者_运维百科d/Autoconf ). But i cant get this up yet, always its giving undefined reference, can anyone please have a look kindly.
Stackoverlow source code gets broken please find from here details: http://gist.github.com/5765529
[sun@example mysip]$ gcc myapp.c
/tmp/ccEKxwjG.o: In function `main':
myapp.c:(.text+0xa): undefined reference to `pjsua_create'
collect2: ld returned 1 exit status
Thank you
You are not linking with the library. You need something like:
gcc myapp.c -lpjlib
but exactly what you need I don't know - it will be described in the library's documentation.
精彩评论