开发者

C - PJLIB why not working?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜