Jump to content

Compile error


jamie

Recommended Posts

Posted

[ 78%] Building CXX object src/game/CMakeFiles/game.dir/AuctionHouseBot/AuctionHouseBot.cpp.o
fatal error: file '/usr/local/src/mangos1/src/game/Server/SharedDefines.h' has been modified since the precompiled header
      '/usr/local/src/mangos1/build/src/game/pchdef.h.pch' was built
note: please rebuild precompiled header '/usr/local/src/mangos1/build/src/game/pchdef.h.pch'
1 error generated.
src/game/CMakeFiles/game.dir/build.make:54: recipe for target 'src/game/CMakeFiles/game.dir/AuctionHouseBot/AuctionHouseBot.cpp.o' failed
make[2]: *** [src/game/CMakeFiles/game.dir/AuctionHouseBot/AuctionHouseBot.cpp.o] Error 1
CMakeFiles/Makefile2:779: recipe for target 'src/game/CMakeFiles/game.dir/all' failed
make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

 

Posted

Linking CXX executable mangosd
../../dep/lualib/liblualib.a(loslib.c.o): In function `os_tmpname':
loslib.c:(.text+0x29c): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../game/libgame.a(Opcodes.cpp.o):(.data+0x6d0): undefined reference to `WorldSession::HandleCharCreateOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x6f0): undefined reference to `WorldSession::HandleCharEnumOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x710): undefined reference to `WorldSession::HandleCharDeleteOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x7b0): undefined reference to `WorldSession::HandlePlayerLoginOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x1fd0): undefined reference to `WorldSession::HandleTutorialFlagOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x1ff0): undefined reference to `WorldSession::HandleTutorialClearOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x2010): undefined reference to `WorldSession::HandleTutorialResetOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x24b0): undefined reference to `WorldSession::HandleSetFactionAtWarOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x52d0): undefined reference to `WorldSession::HandleMeetingStoneInfoOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x5730): undefined reference to `WorldSession::HandleShowingHelmOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x5750): undefined reference to `WorldSession::HandleShowingCloakOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x58f0): undefined reference to `WorldSession::HandleCharRenameOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x62f0): undefined reference to `WorldSession::HandleSetFactionInactiveOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x6310): undefined reference to `WorldSession::HandleSetWatchedFactionOpcode(WorldPacket&)'
../game/libgame.a(Opcodes.cpp.o):(.data+0x8310): undefined reference to `WorldSession::HandleSetPlayerDeclinedNamesOpcode(WorldPacket&)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
src/mangosd/CMakeFiles/mangosd.dir/build.make:198: recipe for target 'src/mangosd/mangosd' failed
make[2]: *** [src/mangosd/mangosd] Error 1
CMakeFiles/Makefile2:958: recipe for target 'src/mangosd/CMakeFiles/mangosd.dir/all' failed
make[1]: *** [src/mangosd/CMakeFiles/mangosd.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

 

i get tha tnow

Posted

Can you provide information like what core you use (what patch) and what is the commit hash? (version) You can see the commit hash from git with "git log --oneline", its the top row.

Posted
7 hours ago, Rochet2 said:

Can you provide information like what core you use (what patch) and what is the commit hash? (version) You can see the commit hash from git with "git log --oneline", its the top row.

fb1ccc8 Fix VS2017 build. Needs cmake 3.8.0 minimum

  • 4 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use