-
Notifications
You must be signed in to change notification settings - Fork 42
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
Cannot build aura bot - src/sqlite3.o #59
Comments
Hey, this seems like an issue with LTO as the linker denies the object file (which is now not machine code but some kind of IR, which needs extra support). Could you try editing the Makefile and remove the
and then compile, just to confirm? And while you're at it, also post the output from |
gcc vesion: gcc (Debian 6.3.0-18) 6.3.0 20170516 This is new output: root@vmi167482:/home/game/W3/aura-bot# make -j 5 |
Ok it compiled by adding -fPIC to OFLAGS, if you have any other solution or better way tell me, never worked with this, so its random guess that works :D. |
Hey, could you try reverting the temporary changes and trying again after installing The second issue regarding PIC is Debian related: Going to need some kind of distro-detection check. |
I am trying to build aura bot, but when i try to compile aure itself it thorws this error, doing it on Debian 9. Thanks for any help, HamAndRock.
root@vmi167482:/home/game/W3/aura-bot# make -j 5
[g++] src/crc32.o
[g++] src/csvparser.o
[g++] src/config.o
[g++] src/bncsutilinterface.o
[g++] src/bnetprotocol.o
[g++] src/gameslot.o
[g++] src/gpsprotocol.o
[g++] src/gameplayer.o
[g++] src/gameprotocol.o
[g++] src/bnet.o
[g++] src/sha1.o
[g++] src/socket.o
[g++] src/auradb.o
[g++] src/aura.o
[g++] src/map.o
[g++] src/fileutil.o
[g++] src/game.o
[g++] src/stats.o
[g++] src/irc.o
[cc] src/sqlite3.o
src/sqlite3.o: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
Makefile:75: recipe for target 'aura++' failed
make: *** [aura++] Error 1
root@vmi167482:/home/game/W3/aura-bot#
The text was updated successfully, but these errors were encountered: