viabtc / viabtc_exchange_server

A trading engine with high-speed performance and real-time notification
MIT License
2.68k stars 1.48k forks source link

Ubuntu 18 #154

Open cyberience opened 5 years ago

cyberience commented 5 years ago

Doesn't appear to build on 18. I am still trying to debug, details so far is in the make of the match engine as follows:

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/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -ldl -L ../utils -lutils -L ../network -lnetwork -Wl,-Bstatic -lev -ljansson -lmpdec -lmysqlclient -lz -lrdkafka -lssl -lcrypto -lhiredis -Wl,-Bdynamic -lm -lpthread -ldl
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libev.a(ev.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
../makefile.inc:16: recipe for target 'matchengine.exe' failed
make: *** [matchengine.exe] Error 1

Any suggestions?

kayusgold commented 5 years ago

experiencing same issue. I have tried some forks but no success. I will be glad if you share your solution. Thanks.

mixartemev commented 5 years ago

same troube. there are any solve?

xiaoxiaoleo commented 5 years ago

same boat

objectt commented 5 years ago

Duplicate of #151