Hi,
I'm trying to compile trinity, but there is some errors.
Following is the information in detail.
==================================================
My OS : Ubuntu 10.04 (LTS), 64bit
Trinity Revision : commit 27c419a8fe8c234ccd2a8d078658e86c36d0a8fd
Author: Shauren <
[email protected]>
Date: Sat May 7 22:40:02 2011 +0200
(sorry I dont know git well. above is the result of "git log")
Referenced Installation Document : http://www.trinitycore.org/w/How-to:Linux
Newly Installed softwares:
- ace-6.0.2, openssl-1.0.0d at /opt/ace-6.0.2, /opt/openssl by compiling
- other require softwares by ubuntu package manager
==================================================
Error msg
==================================================
[ 15%] [ 15%] [ 15%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Realms/RealmList.cpp.o
Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Server/RealmSocket.cpp.o
Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Server/AuthSocket.cpp.o
Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Main.cpp.o
Linking CXX executable authserver
CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `RealmList::UpdateRealms(bool)':
RealmList.cpp:(.text+0xb56): undefined reference to `ACE_OS::mutex_trylock(pthread_mutex_t*)'
RealmList.cpp:(.text+0xb71): undefined reference to `ACE_OS::mutex_unlock(pthread_mutex_t*)'
CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `ACE_Singleton<Log, ACE_Thread_Mutex>::ACE_Singleton()':
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexEC1Ev[ACE_Singleton<Log, ACE_Thread_Mutex>::ACE_Singleton()]+0x27): undefined reference to `ACE_Cleanup::~ACE_Cleanup()'
CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `ACE_Singleton<Log, ACE_Thread_Mutex>::cleanup(void*)':
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE7cleanupEPv[ACE_Singleton<Log, ACE_Thread_Mutex>::cleanup(void*)]+0x5): undefined reference to `ACE_Object_Manager::instance()'
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE7cleanupEPv[ACE_Singleton<Log, ACE_Thread_Mutex>::cleanup(void*)]+0x10): undefined reference to `ACE_Object_Manager::remove_at_exit_i(void*)'
CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()':
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexED0Ev[ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()]+0x1c): undefined reference to `ACE_Cleanup::~ACE_Cleanup()'
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexED0Ev[ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()]+0x36): undefined reference to `ACE_Cleanup::~ACE_Cleanup()'
CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()':
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexED1Ev[ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()]+0x2e): undefined reference to `ACE_Cleanup::~ACE_Cleanup()'
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexED1Ev[ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()]+0x21): undefined reference to `ACE_Cleanup::~ACE_Cleanup()'
CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `ACE_Singleton<Log, ACE_Thread_Mutex>::instance()':
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x41): undefined reference to `ACE_Object_Manager::starting_up()'
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x79): undefined reference to `ACE_Object_Manager::shutting_down()'
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x87): undefined reference to `ACE_Object_Manager::get_singleton_lock(ACE_Thread_Mutex*&)'
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x9e): undefined reference to `ACE_OS::mutex_lock(pthread_mutex_t*)'
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0xb5): undefined reference to `ACE_OS::mutex_unlock(pthread_mutex_t*)'
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x109): undefined reference to `ACE_Object_Manager::instance()'
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x117): undefined reference to `ace_cleanup_destroyer'
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x122): undefined reference to `ACE_Object_Manager::at_exit_i(void*, void (*)(void*, void*), void*, char const*)'
RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x142): undefined reference to `ACE_OS::mutex_unlock(pthread_mutex_t*)'
...
...
...
==================================================
My configure
==================================================
garam@fermi:build$ cmake ../ -DTOOLS=1 -DACE_LIBRARY=/opt/ace-6.0.2/lib -DACE_INCLUDE_DIR=/opt/ace-6.0.2/include -DPREFIX=/opt/trinity -DOPENSSL_LIBRARIES=/opt/openssl/lib -DOPENSSL_INCLUDE_DIR=/opt/openssl/include
-- 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: /opt/ace-6.0.2/lib
-- Found ACE headers: /opt/ace-6.0.2/include
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib/libmysqlclient_r.so
-- Found MySQL headers: /usr/include/mysql
-- Found Readline library: /usr/lib/libreadline.so
-- Include dir is: /usr/include
* TrinityCore commithash : Archive
* Build binaries in : Release mode
* Install core to : /opt/trinity
* Install libraries to : /opt/trinity/lib
* Install configs to : /opt/trinity/etc
* Build world/auth : Yes (default)
* Build with scripts : Yes (default)
* Build map/vmap tools : Yes
* 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
WARNING: Target "shared" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "authserver" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "worldserver" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.
-- Generating done
-- Build files have been written to: /home/garam/tmp/Wow/TrinityCore/build
==================================================
I attached the whole screen log as a text file. please look at that file.