C - PJLIB 为什么不工作?
我关注这个 PJLIB ( https://trac.pjsip.org/repos/wiki /入门/Autoconf )。但我还不能得到这个,它总是给出未定义的参考,任何人都可以看一下。
Stackoverlow 源代码已损坏,请从以下位置查找 这里详细信息: 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
谢谢
I follow this PJLIB ( https://trac.pjsip.org/repos/wiki/Getting-Started/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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您没有与图书馆链接。你需要类似的东西:
但我不知道你到底需要什么 - 它将在库的文档中描述。
You are not linking with the library. You need something like:
but exactly what you need I don't know - it will be described in the library's documentation.