Hi all,
Im trying to setup async mysql connection with libcod. However, no matter which github I use, I wont compile the mysql functions.
Error using iznogods github (https://github.com/iznogod/libcod)
Code:
##### COMPILE GSC_MYSQL.CPP #####
cc1plus: error: unrecognized command line option "-std=gnu++11"
So no mysql is not compiled
Code:
[olger@static libcod_iznogod]$ ./doit.sh cod2_1_0
##### COMPILE cod2_1_0 LIBCOD.CPP #####
##### COMPILE cod2_1_0 GSC.CPP #####
##### COMPILE cod2_1_0 GSC_PLAYER.CPP #####
##### COMPILE cod2_1_0 GSC_UTILS.CPP #####
##### LINK libcod2_1_0.so #####
using Voron00 github (https://github.com/voron00/libcod)
Code:
##### WARNING: MYSQL libs not found, MYSQL compilation skipped #####
using kungs github (https://github.com/kungfooman/libcod)
Code:
##### COMPILE JAVA_EMBED.C #####
Ignore java_embed.c, because java_enable==false (e.g. because the dir $java_jdk=/root/helper/openjdk8 does not exist)
Code:
##### COMPILE cod2_1_0 LIBCOD.CPP #####
##### COMPILE cod2_1_0 GSC.CPP #####
##### COMPILE cod2_1_0 GSC_PLAYER.CPP #####
##### COMPILE cod2_1_0 GSC_UTILS.CPP #####
##### LINK libcod2_1_0.so #####
mysql not compiled?!
using mitchs github (https://github.com/M-itch/libcod)
Code:
##### WARNING: Skipped java_embed.c because OpenJDK 8 does not exist #####
Code:
./doit.sh cod2_1_0
##### COMPILE cod2_1_0 LIBCOD.CPP #####
##### COMPILE cod2_1_0 GSC.CPP #####
##### COMPILE cod2_1_0 GSC_PLAYER.CPP #####
##### COMPILE cod2_1_0 GSC_UTILS.CPP #####
##### LINK libcod2_1_0.so #####
objects_base/cracking.opp: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
What the hell is going on?