Error trying to compile bots
Hi. I am trying to compile the latest SVN with bots but keep getting the error below. When I make without the bots it compiles and runs fine. Any help here would be greatly appreciated. I posted snapshots of the changes I made, text in yellow, as per the wiki to the various files.
Linux Centos 5 From the wiki to compile bots in linux Edit your "makefile" in .\zone and add "-DBOTS" to DFLAGS. Edit your "makefile.common" file in .\zone and add both "bot.o" and "botspellsai.o" Edit your "makefile" in .\world and add "-DBOTS" to DFLAGS. Compile it. zone/makefile Code:
MYSQL_FLAGS=$(shell mysql_config --cflags) Code:
zone_logsys.o ../common/BasePacket.o ../common/worldconn.o \ world/makefile Code:
LINKOUT=-o Code:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/i386-redhat-linux/bits/messages_members.h:88: error: expected initializer before 'const' |
Is this 64 bit ?
Not sure if that even matters because from looking over your files you have everything in the right place. It definitely compiles correctly with bots off ? |
Yes it is 64 bit.
Yes it compiles correctly without bots. I can connect, login, run around , etc. |
A lot of people have been having PERL issues since some changes in source, I do see the warnings are PERL related. I am not sure on the error though. You are probably going to have to let someone more into the programming aspects answer this post.
|
Sorry its actually 32 bit
|
Hmm. I'm running Fedora Core 15 32-bit and it's compiling fine with bots for me. The error almost looks like your compiler is having an issue.
|
I am thinking the same thing. I am running Debian x64, newly updated and no issues compiling.
|
Sorry double post
|
Quote:
|
Is it a deal breaker for you to go with another Linux OS ? You may have to go back a version of your Linux OS or use a different distribution. I normally stay a little behind on mine, I have had compile problems going with the newest Debian so I normally stay a level behind.
|
It is a deal breaker. Centos 5 is an older linux so no going back hehe.
|
I haven't tried CentOS 5. I could put a VM on my Windows box to try to help you with it. Let me see what I can do this evening.
|
Thanks so much
|
I've got a CentOS 5.6 running with non-bots. Will compile a bots version to test real quick.
EDIT: Correction. I didn't realize we updated to 5.7 already. Anyways, bots compiles fine. Using gcc version 4.1.2 20080704 (Red Hat 4.1.2-51) on a 64-bit machine running 32-bit OS. |
Go figure 1 ver behind you lol. Centos 5.6 gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)
|
All times are GMT -4. The time now is 07:05 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.