Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to `kbz_event_get(int, int, void**, int*)' collect2: error: ld returned 1 exit status #1

Open
sunnyroad opened this issue Aug 16, 2017 · 3 comments

Comments

@sunnyroad
Copy link

编译好了动态链接库,测试example时报这个错,请问作者有没有遇到过?
各种尝试都做了,加-lstdc++, extern "C", 都不起作用

@zhoudd1
Copy link

zhoudd1 commented May 8, 2018

我也遇到上面的问题。

@zhoudd1
Copy link

zhoudd1 commented May 8, 2018

把test.c去掉,kbz-event.h里的函数名修正了编译就能过,运行还会Segmentation fault (core dumped)

@tczengming
Copy link

不要用test.c中的代码, 直接用README上的server与client的例子, 另外就是chan_id不能超过5,例子上的值大于5会导致core dumpe 的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants