• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Problems with compiling TFS 0.3.6

Syryniss

Member
Joined
Feb 13, 2014
Messages
206
Reaction score
20
Hi. Yesterday, I was trying to add something to tfs and then compile it, but it stopped working. I was compiling many times before and everything was ok. Now, when I just compile it (ctrl + F9) it doesn't work, crashes every time I try to open it. And when I try to rebuild all (F11) it gives me this error :
Code:
Compiler: Default compiler
Building Makefile: "C:\Users\...\dev-cpp\Makefile.win"
Executing  make clean
rm -f obj//actions.o obj//allocator.o obj//baseevents.o obj//beds.o obj//chat.o obj//combat.o obj//protocolold.o obj//condition.o obj//configmanager.o obj//connection.o obj//container.o obj//creature.o obj//creatureevent.o obj//cylinder.o obj//database.o obj//databasemysql.o obj//databasesqlite.o obj//depot.o obj//exception.o obj//fileloader.o obj//game.o obj//gui.o obj//house.o obj//housetile.o obj//inputbox.o obj//ioguild.o obj//iologindata.o obj//iomap.o obj//iomapserialize.o obj//item.o obj//items.o obj//luascript.o obj//mailbox.o obj//map.o obj//md5.o obj//monster.o obj//monsters.o obj//movement.o obj//networkmessage.o obj//npc.o obj//otserv.o obj//outfit.o obj//outputmessage.o obj//party.o obj//player.o obj//playerbox.o obj//position.o obj//protocol.o obj//protocolgame.o obj//protocollogin.o obj//quests.o obj//raids.o obj//rsa.o obj//scheduler.o obj//scriptmanager.o obj//server.o obj//sha1.o obj//spawn.o obj//spells.o obj//status.o obj//talkaction.o obj//tasks.o obj//teleport.o obj//textlogger.o obj//thing.o obj//tile.o obj//tools.o obj//trashholder.o obj//vocation.o obj//waitlist.o obj//weapons.o obj//ioban.o obj//globalevent.o obj//gameservers.o obj//databasemanager.o obj//admin.o obj//itemattributes.o obj//group.o obj//TheForgottenServer_private.res TheForgottenServer.exe

process_begin: CreateProcess(NULL, rm -f obj//actions.o obj//allocator.o obj//baseevents.o obj//beds.o obj//chat.o obj//combat.o obj//protocolold.o obj//condition.o obj//configmanager.o obj//connection.o obj//container.o obj//creature.o obj//creatureevent.o obj//cylinder.o obj//database.o obj//databasemysql.o obj//databasesqlite.o obj//depot.o obj//exception.o obj//fileloader.o obj//game.o obj//gui.o obj//house.o obj//housetile.o obj//inputbox.o obj//ioguild.o obj//iologindata.o obj//iomap.o obj//iomapserialize.o obj//item.o obj//items.o obj//luascript.o obj//mailbox.o obj//map.o obj//md5.o obj//monster.o obj//monsters.o obj//movement.o obj//networkmessage.o obj//npc.o obj//otserv.o obj//outfit.o obj//outputmessage.o obj//party.o obj//player.o obj//playerbox.o obj//position.o obj//protocol.o obj//protocolgame.o obj//protocollogin.o obj//quests.o obj//raids.o obj//rsa.o obj//scheduler.o obj//scriptmanager.o obj//server.o obj//sha1.o obj//spawn.o obj//spells.o obj//status.o obj//talkaction.o obj//tasks.o obj//teleport.o obj//textlogger.o obj//thing.o obj//tile.o obj//tools.o obj//trashholder.o obj//vocation.o obj//waitlist.o obj//weapons.o obj//ioban.o obj//globalevent.o obj//gameservers.o obj//databasemanager.o obj//admin.o obj//itemattributes.o obj//group.o obj//TheForgottenServer_private.res TheForgottenServer.exe, ...) failed.
make (e=2): You can not find the file specified. (translated)

mingw32-make: *** [clean] Error 2

Execution terminated

After reverting all changes I did, it can compile and it's working, but still gives the same error when I try to rebuild. Also, previously server weights was over 6MB and now it's only ~3MB. The other strange thing is that when I open TheForgottenServer.dev it doesn't load antyhing, previously it was like 20 secs of parsing.

-->update
I didn't do anything, but now it's working WITH the changes, so problem solved I think. But the client still weighs 3MB and no parsing is done... If someone could clarify what's going on here...

Forgot to mention, I'm using Stian's Repack Dev-Cpp 0.2, 64bit
 
Last edited:
bump

On Stian's Repack Dev-Cpp 0.2, 64bit normal compile is working, but rebuild doesn't as said above.
I tried Stian's Repack Dev-Cpp v2 and even with normal compile, im reciving this error:
Code:
ld: BFD (GNU Binutils) 2.18.50.20080109 internal error, aborting at ../../binutils-2.18.50/bfd/reloc.c line 5305 in bfd_generic_get_relocated_section_contents


ld: Please report this bug.


mingw32-make: *** [TheForgottenServer.exe] Error 1

Execution terminated
 
Back
Top