EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Some errors during a fresh compile on Debian 64 (https://www.eqemulator.org/forums/showthread.php?t=36582)

Sarpanda 02-28-2013 04:08 AM

Some errors during a fresh compile on Debian 64
 
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? :)

trevius 02-28-2013 04:31 AM

Did you follow the instructions in the changelog?

Code:

== 02/27/2013 ==
KLS: Changed how shared memory works:
    Instead of System V/windows pagefile shared memory we now have shared memory that's backed by the filesystem.
    What that means is basically instead of EMuSharedMem(shared library) we now have shared_memory(executable), shared memory will be persistent between runs until you delete or reload it using the shared_memory executable.
   
    STEPS FOR PEOPLE WHO CAN'T BE BOTHERED TO FIGURE IT OUT:
        1) Create a directory in the place you run world/zone named shared and make sure files can write there.
        2) Run the shared_memory executable from the same place you run world/zone (it's basically doing the loading we would do on startup so will take a moment).
        3) Run world/zone/whatever


Sarpanda 03-05-2013 12:12 PM

Thanks Trevius, that was for sure the reaosn the server wouldn't start. not sure about all the linking issues, etc. though, I guess they are minor bugs still being sorted through, or expected?


All times are GMT -4. The time now is 11:39 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.