• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

g++ in RPM

Doesn't it work to get it with yum?
yum install g++
 
No, it doesn't...

I have been ignored this requeriment and have been tried debuging, so I don't know with this situation:
Code:
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__CONSOLE__ -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__TEMPORARY_CRASH_FIX__ -Werror -O2 -o ./TheForgottenServer account.o actions.o admin.o allocator.o ban.o baseevents.o creatureevent.o chat.o combat.o commands.o condition.o configmanager.o container.o creature.o cylinder.o database.o databasemysql.o databasesqlite.o depot.o fileloader.o game.o gui.o house.o housetile.o ioguild.o iologindata.o iomap.o iomapserialize.o inputbox.o item.o items.o logger.o luascript.o mailbox.o map.o md5.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o player.o playerbox.o position.o protocol.o protocol80.o quests.o raids.o rsa.o scheduler.o scriptmanager.o spawn.o spells.o status.o talkaction.o tasks.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o vocation.o waitlist.o weapons.o  -L/usr/lib -lxml2 -lpthread -lm -lboost_thread -lgmp -lmysqlclient -lboost_regex -lsqlite3 -llua5.1-sql-mysql -llua5.1-sql-sqlite -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libboost_thread.so when searching for -lboost_thread
/usr/bin/ld: skipping incompatible /usr/lib/libboost_thread.a when searching for -lboost_thread
/usr/bin/ld: skipping incompatible /usr/lib/libboost_thread.so when searching for -lboost_thread
/usr/bin/ld: skipping incompatible /usr/lib/libboost_thread.a when searching for -lboost_thread
/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status
make: *** [theforgottenserver] Error 1
 
You already have g++, in Makefile try to change:
-lboost_thread
to:
-lboost_thread-mt
 
Now:
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__CONSOLE__ -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__TEMPORARY_CRASH_FIX__ -Werror -O2 -o ./TheForgottenServer account.o actions.o admin.o allocator.o ban.o baseevents.o creatureevent.o chat.o combat.o commands.o condition.o configmanager.o container.o creature.o cylinder.o database.o databasemysql.o databasesqlite.o depot.o fileloader.o game.o gui.o house.o housetile.o ioguild.o iologindata.o iomap.o iomapserialize.o inputbox.o item.o items.o logger.o luascript.o mailbox.o map.o md5.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o player.o playerbox.o position.o protocol.o protocol80.o quests.o raids.o rsa.o scheduler.o scriptmanager.o spawn.o spells.o status.o talkaction.o tasks.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o vocation.o waitlist.o weapons.o -L/usr/lib -lxml2 -lpthread -lm -lboost_thread-mt -lgmp -lmysqlclient -lboost_regex -lsqlite3 -llua5.1-sql-mysql -llua5.1-sql-sqlite -ldl
/usr/bin/ld: cannot find -lboost_thread-mt
collect2: ld returned 1 exit status
make: *** [theforgottenserver] Error 1
 
Last edited:
Any of my hypothesis was it:
http://www.digitalmars.com/d/archives/digitalmars/D/learn/64_bit_linux_7259.html

The architeture of the CPU is a possible problem look:

[root@fc6202215 forgottenserver]# uname -a
Linux fc6202215.aspadmin.net 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 11:52:47 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

When I was installing many packages, I have choose the x86_64 architeture, so many libs of the computer is in i386, causing incompatiblity, so I was replaced the 64bits libs to 32bits libs, and the problems remains.
 
Back
Top Bottom