Hey all, I'm seeing the following errors on a compile with the latest source from the main branch:
Code:
Variable Name: CMAKE_BUILD_TYPE
Description: Choose the type of build.
Current Value: RelWithDebInfo
New Value (Enter to keep current value):
Variable Name: CMAKE_INSTALL_PREFIX
Description: Install path prefix, prepended onto install directories.
Current Value: /usr/local
New Value (Enter to keep current value):
Variable Name: EQEMU_BUILD_AZONE
Description: Build azone utility.
Current Value: OFF
New Value (Enter to keep current value):
Variable Name: EQEMU_BUILD_LOGIN
Description: Build the login server.
Current Value: OFF
New Value (Enter to keep current value):
Variable Name: EQEMU_BUILD_SERVER
Description: Build the game server.
Current Value: ON
New Value (Enter to keep current value):
Variable Name: EQEMU_BUILD_TESTS
Description: Build utility tests.
Current Value: OFF
New Value (Enter to keep current value):
Variable Name: EQEMU_DEBUG_LEVEL
Description: EQEmu debug level:
0 - Quiet mode Errors to file Status and Normal ignored
1 - Status and Normal to console, Errors to logfile
2 - Status, Normal, and Error to console and logfile
3 - Light debug release errors and status
4 - Moderate debug release errors and status
5 - Maximum debug release errors and status
10 - More errors than you ever wanted to see
Current Value: 5
New Value (Enter to keep current value):
Variable Name: EQEMU_ENABLE_BOTS
Description: Enable Bots
Current Value: OFF
New Value (Enter to keep current value): ON
Variable Name: EQEMU_ENABLE_RVALUE_MOVE
Description: Enable EQEmu RValue References (Enable if GCC 4.3 or higher)
Current Value: OFF
New Value (Enter to keep current value): ON
Please wait while cmake processes CMakeLists.txt files....
CMake complete, run make to build project.
Scanning dependencies of target Common
[ 0%] [ 0%] Building CXX object common/CMakeFiles/Common.dir/BasePacket.cpp.o
Building CXX object common/CMakeFiles/Common.dir/classes.cpp.o
[ 1%] Building CXX object common/CMakeFiles/Common.dir/Condition.cpp.o
[ 1%] Building CXX object common/CMakeFiles/Common.dir/crash.cpp.o
[ 2%] Building CXX object common/CMakeFiles/Common.dir/CRC16.cpp.o
[ 2%] Building CXX object common/CMakeFiles/Common.dir/crc32.cpp.o
...
[ 23%] Building CXX object common/CMakeFiles/Common.dir/rdtsc.cpp.o
/home/eqemu/source/common/rdtsc.cpp:35:4: warning: #warning RDTSC_Timer cannot use rdtsc on a non-intel platform, using gettimeofday
...
[ 43%] Building CXX object zone/CMakeFiles/zone.dir/AA.cpp.o
/home/eqemu/source/zone/AA.cpp: In member function ‘void Client::HandleAAAction(aaID)’:
/home/eqemu/source/zone/AA.cpp:457: warning: case label value exceeds maximum value for type
...
[ 44%] Building CXX object world/CMakeFiles/world.dir/clientlist.cpp.o
In file included from /home/eqemu/source/zone/masterentity.h:17,
from /home/eqemu/source/zone/aggro.cpp:21:
/home/eqemu/source/zone/bot.h:43: warning: ‘typedef’ was ignored in this declaration
/home/eqemu/source/zone/bot.h:62: warning: ‘typedef’ was ignored in this declaration
(dozens of these 'typedef" warnings...)
...
/home/eqemu/source/zone/bot.cpp: In member function ‘virtual int16 Bot::CalcBotAAFocus(Bot::BotfocusType, uint32, uint16)’:
/home/eqemu/source/zone/bot.cpp:6866: warning: comparison between ‘enum Bot::Bot
(several comparison warnings...)
...
/home/eqemu/source/zone/client.cpp: In member function ‘char* Client::GetClassPlural(Client*)’:
...
/home/eqemu/source/zone/client.cpp:7079: warning: deprecated conversion from string constant to ‘char*’
(several of these warnings...)
..
/home/eqemu/source/zone/client_packet.cpp: In member function ‘void Client::CompleteConnect()’:
...
/home/eqemu/source/zone/command.cpp: In function ‘void command_fixmob(Client*, const Seperator*)’:
...
Then is completes. When I go to run the server, I see this in the log...
Code:
[Debug] Starting Log: logs/eqemu_debug_zone_6797.log
[Debug] [ZONE__INIT] Loading server configuration..
[Debug] [ZONE__INIT] Log settings loaded from log.ini
[Debug] [ZONE__INIT] Connecting to MySQL...
[Status] Starting Log: logs/eqemu_zone_6797.log
[Status] Using database 'peq' at 127.0.0.1:3306
[Debug] [ZONE__INIT] CURRENT_VERSION: 1.0.0
[Debug] [COMMON__THREADS] Starting DBAsyncLoop with thread ID -2088507648
[Debug] [ZONE__INIT] Log settings loaded from ./log.ini
[Debug] [ZONE__INIT] Mapping Incoming Opcodes
[Debug] [ZONE__INIT] Loading Variables
[Debug] [ZONE__INIT] Loading zone names
[Debug] [ZONE__INIT] Loading items
[Error] Starting Log: logs/eqemu_error_zone_6797.log
[Error] Error Loading Items: EQEmu Exception (Shared Memory) in /home/eqemu/source/common/memory_mapped_file.cpp at line (109): Could not open the file to find the existing file size.
[Debug] [ZONE__INIT_ERR] Loading items FAILED!
[Debug] [ZONE__INIT] Failed. But ignoring error and going on...
[Debug] [ZONE__INIT] Loading npc faction lists
[Error] Error Loading npc factions: EQEmu Exception (Shared Memory) in /home/eqemu/source/common/memory_mapped_file.cpp at line (109): Could not open the file to find the existing file size.
[Debug] [ZONE__INIT_ERR] Loading npcs faction lists FAILED!
...did I do something wrong here, or is the latest pull from git possibly a bit bugged?