Jump to content
TrinityCore

Recommended Posts

--- Canned message start

It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread.

--- Canned message end ---

Share this post


Link to post
Share on other sites

Did not want to create another topic about mysql problems but when compiling on 64bit i get this:

[ 16%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o

Linking CXX executable authserver

/usr/local/mysql/lib/libmysqlclient_r.so: file not recognized: File truncated

collect2: ld returned 1 exit status

make[2]: *** [src/server/authserver/authserver] Error 1

make[1]: *** [src/server/authserver/CMakeFiles/authserver.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

[ 16%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o

[ 16%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/CoreAI/ReactorAI.cpp

Am using mysql 5.5.9 as mention in the git revisions.

Share this post


Link to post
Share on other sites

ok neverming. If i say what the error was it will look weird. It happen that i downloaded again the 5.5.9 from another source (the first time it was from a university in the US). Somehow the university did not have the compressed file with the correct permissions inside so the libraries were not pointing to the correct files. I downloaded again from another source (Belgium this time) and it works all good. Some weird thing.

Share this post


Link to post
Share on other sites

Well iv been trying to compile trinity for about a day now but i keep getting the same Error

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):

  Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)

Call Stack (most recent call first):

  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)

  cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)

I have Openssl and tbh i dont see the DIR file in the Include iv read the Wiki about 14 times and i still dont know why i cant get it to work. iv download about 15 of the OpenSSL and NONE of them have the DIR File. Could i get some help.

Share this post


Link to post
Share on other sites

i reinstalled it about 5 times it doesnt have the DIR file anywhere inside it.

OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR

it's not a file, it's a folder called "INCLUDE" in OpenSSL folder

Share this post


Link to post
Share on other sites

When trying to compile on 64bit Ubuntu i get the following error:

am doing a clean clone, no patches.

-- The C compiler identification is GNU

-- The CXX compiler identification is GNU

-- Check for working C compiler: /usr/bin/gcc

-- Check for working C compiler: /usr/bin/gcc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/c++

-- Check for working CXX compiler: /usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detected 64-bit platform

-- UNIX: Using default configuration directory

-- UNIX: Using default library directory

-- UNIX: Configuring uninstall target

-- UNIX: Created uninstall target

-- GCC: All warnings disabled

-- Found ACE library: /usr/lib/libACE.so

-- Found ACE headers: /usr/include

-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so

-- Using mysql-config: /usr/bin/mysql_config

-- Found MySQL library: /usr/local/mysql-5.5.10-linux2.6-x86_64/lib/libmysqlclient_r.so

-- Found MySQL headers: /usr/local/mysql-5.5.10-linux2.6-x86_64/include

-- Found Readline library: /usr/lib/libreadline.so

-- Include dir is: /usr/include

-- Found ZLIB: /usr/lib/libz.so

-- Found BZip2: /usr/lib/libbz2.so

-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so

-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found

* TrinityCore revision   : 11513 (606c8909605d)

* Build binaries in      : Release mode


* Install core to        : /usr/trinity

* Install libraries to   : /usr/trinity/lib

* Install configs to     : /usr/trinity/etc


* Build world/auth       : Yes (default)

* Build with scripts     : Yes (default)

* Build map/vmap tools   : No  (default)

* Build core w/PCH       : Yes (default)

* Build scripts w/PCH    : Yes (default)

* Use SFMT for RNG       : No  (default)

* Show compile-warnings  : No  (default)

* Use coreside debug     : No  (default)

* Install SQL-files      : No  (default)


-- SCRIPT PREPARATIONS

  -> Prepared: Spells

  -> Prepared: Commands

  -> Prepared: Examples

  -> Prepared: Custom

  -> Prepared: World

  -> Prepared: Outdoor PVP Zones

  -> Prepared: Eastern Kingdoms

  -> Prepared: Kalimdor

  -> Prepared: Outland

  -> Prepared: Northrend

-- SCRIPT PREPARATION COMPLETE


-- Configuring done

-- Generating done

-- Build files have been written to: /home/test/build


CONFIGURING TRINITY


Scanning dependencies of target jemalloc

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_dss.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/base.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/stats.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/hash.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mb.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ctl.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_swap.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/prof.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ckh.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/huge.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mutex.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/tcache.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_mmap.c.o

[  3%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/rtree.c.o

Linking C static library libjemalloc.a

[  3%] Built target jemalloc

Scanning dependencies of target g3dlib

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/ReferenceCount.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o

Linking CXX static library libg3dlib.a

[  8%] Built target g3dlib

Scanning dependencies of target gsoap

[  8%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapServer.cpp.o

[  8%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapC.cpp.o

[  8%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/stdsoap2.cpp.o

Linking CXX static library libgsoap.a

[  8%] Built target gsoap

Scanning dependencies of target revision.h

[  8%] Built target revision.h

Scanning dependencies of target shared_pch_dephelp

[  9%] Building CXX object src/server/shared/CMakeFiles/shared_pch_dephelp.dir/shared_pch_dephelp.cxx.o

In file included from /home/test/trinity/src/server/shared/Threading/LockedQueue.h:26,

                 from /home/test/trinity/src/server/shared/Common.h:88,

                 from /home/test/trinity/src/server/shared/PrecompiledHeaders/sharedPCH.h:3,

                 from /root/build/src/server/shared/shared_pch_dephelp.cxx:1:

/home/test/trinity/src/server/shared/Debugging/Errors.h:24:29: error: ace/Stack_Trace.h: No such file or directory

In file included from /home/test/trinity/src/server/shared/Database/SQLOperation.h:24,

                 from /home/test/trinity/src/server/shared/PrecompiledHeaders/sharedPCH.h:6,

                 from /root/build/src/server/shared/shared_pch_dephelp.cxx:1:

/home/test/trinity/src/server/shared/Database/QueryResult.h: In member function ‘const Field& ResultSet::operator[](uint32) const’:

/home/test/trinity/src/server/shared/Database/QueryResult.h:46: error: ‘ACE_Stack_Trace’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h:46: error: expected ‘;’ before ‘st’

/home/test/trinity/src/server/shared/Database/QueryResult.h:46: error: ‘st’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h: In member function ‘Field* PreparedResultSet::Fetch() const’:

/home/test/trinity/src/server/shared/Database/QueryResult.h:75: error: ‘ACE_Stack_Trace’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h:75: error: expected ‘;’ before ‘st’

/home/test/trinity/src/server/shared/Database/QueryResult.h:75: error: ‘st’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h: In member function ‘const Field& PreparedResultSet::operator[](uint32) const’:

/home/test/trinity/src/server/shared/Database/QueryResult.h:81: error: ‘ACE_Stack_Trace’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h:81: error: expected ‘;’ before ‘st’

/home/test/trinity/src/server/shared/Database/QueryResult.h:81: error: ‘st’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h:82: error: ‘ACE_Stack_Trace’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h:82: error: expected ‘;’ before ‘st’

/home/test/trinity/src/server/shared/Database/QueryResult.h:82: error: ‘st’ was not declared in this scope

make[2]: *** [src/server/shared/CMakeFiles/shared_pch_dephelp.dir/shared_pch_dephelp.cxx.o] Error 1

make[1]: *** [src/server/shared/CMakeFiles/shared_pch_dephelp.dir/all] Error 2

make: *** [all] Error 2


CREATING BIN FILES (Executables, Libraries, Conf files, SQL Files)


[  3%] Built target jemalloc

[  8%] Built target g3dlib

[  8%] Built target gsoap

[  8%] Built target revision.h

[  9%] Building CXX object src/server/shared/CMakeFiles/shared_pch_dephelp.dir/shared_pch_dephelp.cxx.o

In file included from /home/test/trinity/src/server/shared/Threading/LockedQueue.h:26,

                 from /home/test/trinity/src/server/shared/Common.h:88,

                 from /home/test/trinity/src/server/shared/PrecompiledHeaders/sharedPCH.h:3,

                 from /root/build/src/server/shared/shared_pch_dephelp.cxx:1:

/home/test/trinity/src/server/shared/Debugging/Errors.h:24:29: error: ace/Stack_Trace.h: No such file or directory

In file included from /home/test/trinity/src/server/shared/Database/SQLOperation.h:24,

                 from /home/test/trinity/src/server/shared/PrecompiledHeaders/sharedPCH.h:6,

                 from /root/build/src/server/shared/shared_pch_dephelp.cxx:1:

/home/test/trinity/src/server/shared/Database/QueryResult.h: In member function ‘const Field& ResultSet::operator[](uint32) const’:

/home/test/trinity/src/server/shared/Database/QueryResult.h:46: error: ‘ACE_Stack_Trace’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h:46: error: expected ‘;’ before ‘st’

/home/test/trinity/src/server/shared/Database/QueryResult.h:46: error: ‘st’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h: In member function ‘Field* PreparedResultSet::Fetch() const’:

/home/test/trinity/src/server/shared/Database/QueryResult.h:75: error: ‘ACE_Stack_Trace’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h:75: error: expected ‘;’ before ‘st’

/home/test/trinity/src/server/shared/Database/QueryResult.h:75: error: ‘st’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h: In member function ‘const Field& PreparedResultSet::operator[](uint32) const’:

/home/test/trinity/src/server/shared/Database/QueryResult.h:81: error: ‘ACE_Stack_Trace’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h:81: error: expected ‘;’ before ‘st’

/home/test/trinity/src/server/shared/Database/QueryResult.h:81: error: ‘st’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h:82: error: ‘ACE_Stack_Trace’ was not declared in this scope

/home/test/trinity/src/server/shared/Database/QueryResult.h:82: error: expected ‘;’ before ‘st’

/home/test/trinity/src/server/shared/Database/QueryResult.h:82: error: ‘st’ was not declared in this scope

make[2]: *** [src/server/shared/CMakeFiles/shared_pch_dephelp.dir/shared_pch_dephelp.cxx.o] Error 1

make[1]: *** [src/server/shared/CMakeFiles/shared_pch_dephelp.dir/all] Error 2

Share this post


Link to post
Share on other sites

Hi there,

Yesterday I tried to compile the core on linux ubuntu server, kernel 2.6.32-24, but the process broke off. The error log is in the spoiler:

Scanning dependencies of target shared_pch_dephelp

[ 9%] Building CXX object src/server/shared/CMakeFiles/shared_pch_dephelp.dir/shared_pch_dephelp.cxx.o

In file included from /opt/trinity/prova/TrinityCore/src/server/shared/Threading/LockedQueue.h:26,

from /opt/trinity/prova/TrinityCore/src/server/shared/Common.h:88,

from /opt/trinity/prova/TrinityCore/src/server/shared/PrecompiledHeaders/sharedPCH.h:3,

from /opt/trinity/prova/build/src/server/shared/shared_pch_dephelp.cxx:1:

/opt/trinity/prova/TrinityCore/src/server/shared/Debugging/Errors.h:24:29: error: ace/Stack_Trace.h: No such file or directory

In file included from /opt/trinity/prova/TrinityCore/src/server/shared/Database/SQLOperation.h:24,

from /opt/trinity/prova/TrinityCore/src/server/shared/PrecompiledHeaders/sharedPCH.h:6,

from /opt/trinity/prova/build/src/server/shared/shared_pch_dephelp.cxx:1:

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h: In member function âconst Field& ResultSet::operator[](uint32) constâ:

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:46: error: âACE_Stack_Traceâ was not declared in this scope

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:46: error: expected â;â before âstâ

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:46: error: âstâ was not declared in this scope

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h: In member function âField* PreparedResultSet::Fetch() constâ:

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:75: error: âACE_Stack_Traceâ was not declared in this scope

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:75: error: expected â;â before âstâ

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:75: error: âstâ was not declared in this scope

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h: In member function âconst Field& PreparedResultSet::operator[](uint32) constâ:

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:81: error: âACE_Stack_Traceâ was not declared in this scope

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:81: error: expected â;â before âstâ

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:81: error: âstâ was not declared in this scope

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:82: error: âACE_Stack_Traceâ was not declared in this scope

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:82: error: expected â;â before âstâ

/opt/trinity/prova/TrinityCore/src/server/shared/Database/QueryResult.h:82: error: âstâ was not declared in this scope

make[2]: *** [src/server/shared/CMakeFiles/shared_pch_dephelp.dir/shared_pch_dephelp.cxx.o] Error 1

make[1]: *** [src/server/shared/CMakeFiles/shared_pch_dephelp.dir/all] Error 2

make: *** [all] Error 2

Any ideas about it? Thanks!

Edited by Gin88

Share this post


Link to post
Share on other sites

[ 33%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Main.cpp.o

Linking CXX executable authserver

../shared/libshared.a(Threading.cpp.o): In function `ACE_TSS<ACE_Based::Thread>::ts_init()':

Threading.cpp:(.text._ZN7ACE_TSSIN9ACE_Based6ThreadEE7ts_initEv[ACE_TSS<ACE_Based::Thread>::ts_init()]+0x5a): undefined reference to `ACE_OS::thr_keycreate(unsigned int*, void (*)(void*))'

../shared/libshared.a(Threading.cpp.o): In function `ACE_TSS<ACE_Based::Thread>::ACE_TSS(ACE_Based::Thread*)':

Threading.cpp:(.text._ZN7ACE_TSSIN9ACE_Based6ThreadEEC1EPS1_[ACE_TSS<ACE_Based::Thread>::ACE_TSS(ACE_Based::Thread*)]+0xd2): undefined reference to `ACE_OS::thr_keycreate(unsigned int*, void (*)(void*))'

../shared/libshared.a(Threading.cpp.o): In function `ACE_TSS<ACE_Based::Thread>::~ACE_TSS()':

Threading.cpp:(.text._ZN7ACE_TSSIN9ACE_Based6ThreadEED0Ev[ACE_TSS<ACE_Based::Thread>::~ACE_TSS()]+0x7a): undefined reference to `ACE_OS::thr_key_detach(unsigned int)'

../shared/libshared.a(Threading.cpp.o): In function `ACE_TSS<ACE_Based::Thread>::~ACE_TSS()':

Threading.cpp:(.text._ZN7ACE_TSSIN9ACE_Based6ThreadEED1Ev[ACE_TSS<ACE_Based::Thread>::~ACE_TSS()]+0x7a): undefined reference to `ACE_OS::thr_key_detach(unsigned int)'

../shared/libshared.a(Util.cpp.o): In function `ACE_TSS<MTRand>::ts_init()':

Util.cpp:(.text._ZN7ACE_TSSI6MTRandE7ts_initEv[ACE_TSS<MTRand>::ts_init()]+0x5a): undefined reference to `ACE_OS::thr_keycreate(unsigned int*, void (*)(void*))'

../shared/libshared.a(Util.cpp.o): In function `ACE_TSS<MTRand>::ACE_TSS(MTRand*)':

Util.cpp:(.text._ZN7ACE_TSSI6MTRandEC1EPS0_[ACE_TSS<MTRand>::ACE_TSS(MTRand*)]+0xd2): undefined reference to `ACE_OS::thr_keycreate(unsigned int*, void (*)(void*))'

../shared/libshared.a(Util.cpp.o): In function `ACE_TSS<MTRand>::~ACE_TSS()':

Util.cpp:(.text._ZN7ACE_TSSI6MTRandED0Ev[ACE_TSS<MTRand>::~ACE_TSS()]+0x4f): undefined reference to `ACE_OS::thr_key_detach(unsigned int)'

../shared/libshared.a(Util.cpp.o): In function `ACE_TSS<MTRand>::~ACE_TSS()':

Util.cpp:(.text._ZN7ACE_TSSI6MTRandED1Ev[ACE_TSS<MTRand>::~ACE_TSS()]+0x4f): undefined reference to `ACE_OS::thr_key_detach(unsigned int)'

collect2: ld returned 1 exit status

make[2]: *** [src/server/authserver/authserver] Error 1

make[1]: *** [src/server/authserver/CMakeFiles/authserver.dir/all] Error 2

make: *** [all] Error 2

vistawow3:/opt/trinity/compilar#

please help

Share this post


Link to post
Share on other sites

I upgrade to ACE-6.0.1.tar.gz , and openssl-1.0.0d.tar.gz

never had problems in compiling. but yesterday after trying to compile the new patches I had this error. Today I tried to update the ACE and OPENSSL but still giving the same error

Edited by amsjunior

Share this post


Link to post
Share on other sites

Yep, you are right. You need to download ACE and compile / install it again -- something is wrong with your installation.

-- Brian

Share this post


Link to post
Share on other sites

operation system: windows xp sp3

compiler: mingw for windows 5.1.6

cmake: cmake-2.8.4-win32-x86.exe

db: mysql 5.1.4

openssl: openssl-0.9.8h-1-bin.zip

=======================================

cmake option:

source code folder: H:/TrinityCore-TrinityCore-63508fd

binaries folder: H:/Temp/TC

Mingw Makefiles

...

the first time configure:

one error: "cmake/xxxx.c" file not exists! (don't exists at all!)

but when i configure again,that error not appear……

So i use the mingw to compile it:

cmd line:mingw32-make -C H:/Temp/TC -f Makefile

...

but one error occur:

...

[ 0%]Building CXX object dep/acelite/ace/CMakeFiles/ace.dir/PrecompiledHeaders/WinAcePCH.cpp.obj

G__~1.EXE: /MP: No such file or directory

...

why it happen?

just not on linux?

Thank you very much!

(The How-to:Win only use Visual C++, i don't want to install such huge and slow IDE...)

Edited by yinxumin

Share this post


Link to post
Share on other sites

Yeah it started happening to me too using an older version of ACE (Same kernel). What i did was download the latest microkernel. I downloaded this one: http://download.dre.vanderbilt.edu/previous_versions/ACE-6.0.1.tar.gz

1. Decompress tar xfvz ACE-6.0.1.tar.gz

2. Go to the folder cd ACE-6.0.1.tar.gz and create a build folder mkdir build and go to it cd build.

3. do the normal procedure for compilation ../configure make make install

That is all. I also did openssl just in case with the same procedure.

Share this post


Link to post
Share on other sites

(The How-to:Win only use Visual C++, i don't want to install such huge and slow IDE...)

You can use Visual Studio command line compiling

MSBuild TrinityCore.sln /t:ALL_BUILD /p:Configuration=Release /m:3 /clp:Summary /v:normal /fl

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By 939h
      Hi,

      The chat channel Lookup for group is not available when a player isn't in a city. I tried to modify the worldserver.conf file with:
      #
      #    Channel.RestrictedLfg
      #        Description: Restrict LookupForGroup channel to characters registered in the LFG tool.
      #        Default:     1 - (Enabled, Allow join to channel only if registered in LFG)
      #                     0 - (Disabled, Allow join to channel in any time)
      Channel.RestrictedLfg = 0

      I restarted the server but it didn't help.

      Thanks
    • By meeek
      Hey, I've been trying to compile from github the core from 6.2.3/6.2.4, I'm well aware its stopped developing. I cannot get it to configure properly in CMake, nor can I obviously build it.
       
      I'd be willing to pay for help and get this working and running. I want to develop my own server on my freetime as a learning project and for entertainment. I can't find any core for WoD, sadly.. Very hard, would appreciate any quick help
       
    • By Probie_Wan_Kenobi
      I believe everything I have done up to this point has been correct. When I go to launch worldserver.exe a console window opens up for a second and closes right away and nothing else seems to have happened. I skipped a head a little in the instructions to see what is left and step 5 seems skippable since I am running this only for this computer and step 6 has me launch to a log in screen which I can not get to. I tried going to the faq but the page was not loading properly so I am forced to post here.
    • By Wark
      I'd just like to get a little insight to why so much of the current Trinitycore code doesn't match up to a few years ago.
      Now I know I'm not a pro at coding on Trinitycore and I understand that the core is open sourced but these just seem so significant and doesn't seem right to remove this stuff.
       
      Let me give an example. Lets say I'm watching this tutorial to get a little information about classes and methods that I can use when making a script. (I've also been using the Trinitycore Code Documentation as reference as well but it also seems to show the same issues)
      Although the tutorial is a little out of date, I don't see why OnGossipSelect doesn't exist anywhere in CreatureScript and that when I try to link the script to the core code it spits out this error.
      object of abstract class type "GossipTeleporter" is not allowed:
      pure virtual function "CreatureScript::GetAI" has no overrider
      The DEFINES of "ADD_GOSSIP_ITEM" and many more don't exist either.
       
      Am I missing something? All I want to know is if the core is mean't to be this way and if not should I download an older version of the core before I put to much working into my current core.
      (I downloaded my core right from the Trinitycore website tutorial)
       
      I'm currently trying to write a simple gossipteleporter that will let you talk to an npc and teleport to the given location. It's very hard to do this when so many things just don't exist within my core.
       
      EXTRA: I pasted this into a new custom script just to see if I would get errors and I got a lot of different errors: http://pastebin.com/raw/G62e0t49
      This was obtained from here: http://www.ac-web.org/forums/showthread.php?129885-Request-Teleporter-NPC-for-TrinityCore
      By no means am I looking to copy the code from the two links above, I was using them as a test to see if my core accepted them.
       
      Thanks,
      Wark
    • By Cantte
      Well ... today I was about to compile the trinity core version for WoW 4.3.4 of this repository "https://gitlab.com/trinitycore/TrinityCore_434". Download them and when you use the cmake, I generate the solution correctly. When I began to compile this went well until I got to the last step, when I was 90% practically.
      This was the error:
      Main.obj: error LNK2019: external symbol SSLeay_version unresolved referred to in the function "public: void __cdecl <lambda_4a2d53ce610f18dba0b4b4d6532c13a7> :: operator () (void) const" (?? R <lambda_4a2d53ce610f18dba0b4b4d6532c13a7> @@ QEBAXXZ)
      25> scripts.lib (cs_server.obj): error LNK2001: external symbol SSLeay_version unresolved
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_num external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_value external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_pop_free external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: outer symbol OPENSSL_add_all_algorithms_noconf unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_load_error_strings unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved external SSLv23_method symbol referenced in the ssl_auth_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_library_init unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_state unresolved referenced in the tcp_connect function
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_num_locks unresolved referred to in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_set_locking_callback unresolved referred to in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_THREADID_set_numeric unresolved referred to in the function "void __cdecl threadIdCallback (struct crypto_threadid_st *)" (? ThreadIdCallback @@ YAXPEAUcrypto_threadid_st @@@ Z)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_THREADID_set_callback unresolved referenced in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (ARC4.obj): error LNK2019: external symbol EVP_CIPHER_CTX_init unresolved referred to in the function "public: __cdecl ARC4 :: ARC4 (unsigned int)" (?? 0ARC4 @@ QEAA @ I @ Z)
      25> common.lib (HmacHash.obj): error LNK2019: unresolved HMAC_CTX_init external symbol referenced in the "struct hmac_ctx_st * __cdecl HMAC_CTX_new (void)" function (? HMAC_CTX_new @@ YAPEAUhmac_ctx_st @@ XZ)
      25> common.lib (HmacHash.obj): error LNK2019: unresolved HMAC_CTX_cleanup external symbol referenced in the "void __cdecl HMAC_CTX_free (struct hmac_ctx_st *)" function (? HMAC_CTX_free @@ YAXPEAUhmac_ctx_st @@@ Z)
      25> E: \ Server-Wow \ TrinityCore_434-4.3.4 \ Build \ bin \ RelWithDebInfo \ worldserver.exe: fatal error LNK1120: 16 external unresolved
      25> Compilation of the "worldserver.vcxproj" project completed - ERROR.
      26> ------ Compile operation started: project: ALL_BUILD, configuration: RelWithDebInfo x64 ------
      26> Building Custom Rule E: /Server-Wow/TrinityCore_434-4.3.4/CMakeLists.txt
      26> CMake does not need to re-run because E: /Server-Wow/TrinityCore_434-4.3.4/Build/CMakeFiles/generate.stamp is up-to-date.
      ========== Compile: 23 correct, 3 incorrect, 0 updated, 0 omitted ==========
       
      And this is the original error in Spanish (since I use the compiler in Spanish)
       
      Main.obj : error LNK2019: símbolo externo SSLeay_version sin resolver al que se hace referencia en la función "public: void __cdecl <lambda_4a2d53ce610f18dba0b4b4d6532c13a7>::operator()(void)const " (??R<lambda_4a2d53ce610f18dba0b4b4d6532c13a7>@@QEBAXXZ)
      25>scripts.lib(cs_server.obj) : error LNK2001: símbolo externo SSLeay_version sin resolver
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_num sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_value sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_pop_free sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo OPENSSL_add_all_algorithms_noconf sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_load_error_strings sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSLv23_method sin resolver al que se hace referencia en la función ssl_auth_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_library_init sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_state sin resolver al que se hace referencia en la función tcp_connect
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_num_locks sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_set_locking_callback sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_THREADID_set_numeric sin resolver al que se hace referencia en la función "void __cdecl threadIdCallback(struct crypto_threadid_st *)" ([email protected]@[email protected]@@Z)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_THREADID_set_callback sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(ARC4.obj) : error LNK2019: símbolo externo EVP_CIPHER_CTX_init sin resolver al que se hace referencia en la función "public: __cdecl ARC4::ARC4(unsigned int)" ([email protected]@[email protected]@Z)
      25>common.lib(HmacHash.obj) : error LNK2019: símbolo externo HMAC_CTX_init sin resolver al que se hace referencia en la función "struct hmac_ctx_st * __cdecl HMAC_CTX_new(void)" ([email protected]@[email protected]@XZ)
      25>common.lib(HmacHash.obj) : error LNK2019: símbolo externo HMAC_CTX_cleanup sin resolver al que se hace referencia en la función "void __cdecl HMAC_CTX_free(struct hmac_ctx_st *)" ([email protected]@[email protected]@@Z)
      25>E:\Server-Wow\TrinityCore_434-4.3.4\Build\bin\RelWithDebInfo\worldserver.exe : fatal error LNK1120: 16 externos sin resolver
      25>Compilación del proyecto "worldserver.vcxproj" terminada -- ERROR.
      26>------ Operación Compilar iniciada: proyecto: ALL_BUILD, configuración: RelWithDebInfo x64 ------
      26>Building Custom Rule E:/Server-Wow/TrinityCore_434-4.3.4/CMakeLists.txt
      26>CMake does not need to re-run because E:/Server-Wow/TrinityCore_434-4.3.4/Build/CMakeFiles/generate.stamp is up-to-date.
      ========== Compilar: 23 correctos, 3 incorrectos, 0 actualizados, 0 omitidos ==========
       
       
      Thanks.
×
×
  • Create New...