viabtc_exchange_server icon indicating copy to clipboard operation
viabtc_exchange_server copied to clipboard

Ubuntu 18

Open cyberience opened this issue 5 years ago • 4 comments

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?

cyberience avatar Oct 18 '18 04:10 cyberience