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

make -C matchengine got error #223

Open
nmg1986 opened this issue Nov 13, 2019 · 1 comment
Open

make -C matchengine got error #223

nmg1986 opened this issue Nov 13, 2019 · 1 comment

Comments

@nmg1986
Copy link

nmg1986 commented Nov 13, 2019

make -C matchengine
make: Entering directory '/root/viabtc_exchange_server/matchengine'
gcc -g -rdynamic -o matchengine.exe me_operlog.o me_persist.o me_cli.o me_load.o me_balance.o me_dump.o me_main.o me_server.o me_trade.o me_config.o me_update.o me_message.o me_history.o me_market.o -L ../utils -lutils -L ../network -lnetwork -L ../depends/hiredis -Wl,-Bstatic -lev -ljansson -lmpdec -lrdkafka -lz -lssl -lcrypto -lhiredis -lcurl -Wl,-Bdynamic -lm -lpthread -ldl -lssl -lldap -llber -lgss -lgnutls -lidn -lnettle -lrtmp -lsasl2 -lmysqlclient
me_message.o: In function produce_list': /root/viabtc_exchange_server/matchengine/me_message.c:45: undefined reference to rd_kafka_last_error'
/root/viabtc_exchange_server/matchengine/me_message.c:45: undefined reference to rd_kafka_last_error' /root/viabtc_exchange_server/matchengine/me_message.c:45: undefined reference to rd_kafka_last_error'
/root/viabtc_exchange_server/matchengine/me_message.c:47: undefined reference to rd_kafka_last_error' me_message.o: In function init_message':
/root/viabtc_exchange_server/matchengine/me_message.c:99: undefined reference to rd_kafka_last_error' me_message.o:/root/viabtc_exchange_server/matchengine/me_message.c:104: more undefined references to rd_kafka_last_error' follow
me_message.o: In function fini_message': /root/viabtc_exchange_server/matchengine/me_message.c:137: undefined reference to rd_kafka_flush'
me_message.o: In function push_message': /root/viabtc_exchange_server/matchengine/me_message.c:165: undefined reference to rd_kafka_last_error'
/root/viabtc_exchange_server/matchengine/me_message.c:165: undefined reference to rd_kafka_last_error' /root/viabtc_exchange_server/matchengine/me_message.c:165: undefined reference to rd_kafka_last_error'
/root/viabtc_exchange_server/matchengine/me_message.c:166: undefined reference to `rd_kafka_last_error'
collect2: error: ld returned 1 exit status
../makefile.inc:16: recipe for target 'matchengine.exe' failed
make: *** [matchengine.exe] Error 1
make: Leaving directory '/root/viabtc_exchange_server/matchengine'

@lealife
Copy link
Contributor

lealife commented Jan 2, 2020

miss kafka lib

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

2 participants