Jump to content
TrinityCore

stevedev

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by stevedev

  1. I get this on the last tool compile for vmap4extractor:

     

    [ 98%] Linking CXX executable vmap4extractor
    CMakeFiles/vmap4extractor.dir/vmapexport.cpp.o: In function `ExtractSingleWmo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
    vmapexport.cpp:(.text+0x4c6): undefined reference to `WMORoot::WMORoot(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
    vmapexport.cpp:(.text+0x553): undefined reference to `WMOGroup::WMOGroup(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    CMakeFiles/vmap4extractor.dir/gameobject_extract.cpp.o: In function `ExtractGameobjectModels()':
    gameobject_extract.cpp:(.text+0x311): undefined reference to `DBCFile::DBCFile(std::string const&)'
    gameobject_extract.cpp:(.text+0x4f6): undefined reference to `ExtractSingleWmo(std::string&)'
    collect2: error: ld returned 1 exit status
    src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/build.make:279: recipe for target 'src/tools/vmap4_extractor/vmap4extractor' failed
    make[2]: *** [src/tools/vmap4_extractor/vmap4extractor] Error 1
    CMakeFiles/Makefile2:2005: recipe for target 'src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/all' failed
    make[1]: *** [src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/all] Error 2
    Makefile:127: recipe for target 'all' failed
    make: *** [all] Error 2
     

    My apologies if I missed notice about this one. On 3.3.5a branch. Ubuntu 16.04, cmake 3.5.2

  2. everything else compiles correctly for me except vmap4assembler. I get this:

     

    Linking CXX executable vmap4assembler
    /usr/bin/ld: vmap4assembler: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5'
    /usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
    /lib64/libpthread.so.0: could not read symbols: Invalid operation
    collect2: error: ld returned 1 exit status
    make[2]: *** [src/tools/vmap4_assembler/vmap4assembler] Error 1
    make[1]: *** [src/tools/vmap4_assembler/CMakeFiles/vmap4assembler.dir/all] Error 2
    make: *** [all] Error 2
     

    Not sure how to fix.

    on centos 6.3 64bit.

    cmake 2.8.12 (tried to downgrade this before with no luck, not sure if this is issue)

    gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
     

×
×
  • Create New...