Jump to content
TrinityCore

OneEvil

Plebs
  • Posts

    1
  • Joined

  • Last visited

Posts posted by OneEvil

  1. OpenSSL 1.0.1e 11 Feb 2013
    ACE-6.2.0 comile from port FreeBSD 9.1
    Lates git TrinityCore
     
    # cmake ../ -DPREFIX=/home/wow/server  -DCMAKE_CXX_COMPILER=g++49 -DCMAKE_C_COMPILER=gcc49
     
    -- The C compiler identification is GNU 4.9.0
    -- The CXX compiler identification is GNU 4.9.0
    -- Check for working C compiler: /usr/local/bin/gcc49
    -- Check for working C compiler: /usr/local/bin/gcc49 -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/local/bin/g++49
    -- Check for working CXX compiler: /usr/local/bin/g++49 -- 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
    -- UNIX: Detected compiler: /usr/local/bin/gcc49
    -- GCC: SFMT enabled, SSE2 flags forced
    -- Found ACE library: /usr/local/lib/libACE.so
    -- Found ACE headers: /usr/local/include
    -- Found OpenSSL library: /usr/local/lib/libssl.so;/usr/local/lib/libcrypto.so
    -- Found OpenSSL headers: /usr/local/include
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE  
    -- Using mysql-config: /usr/local/bin/mysql_config
    -- Found MySQL library: /usr/local/lib/mysql/libmysqlclient_r.so
    -- Found MySQL headers: /usr/local/include/mysql
    -- Found Readline library: /usr/lib/libreadline.so
    -- Include dir is: /usr/include
    -- Found ZLIB: /usr/lib/libz.so (found version "1.2.7") 
    -- Found BZip2: /usr/lib/libbz2.so (found version "1.0.6") 
    -- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so
    -- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found
    -- Found git binary : /usr/local/bin/git
     
    * TrinityCore revision   : 1501e958767a+ 2013-08-31 00:03:35 +0200 (master branch)
    * TrinityCore buildtype  : Release
     
    * Install core to        : /home/wow/server
    * Install libraries to   : /home/wow/server/lib
    * Install configs to     : /home/wow/server/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)
    * Show compile-warnings  : No  (default)
    * Use coreside debug     : No  (default)
    * Use GIT revision hash  : Yes
     
    -- 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
      -> Prepared: Events
      -> Prepared: Pet
    -- SCRIPT PREPARATION COMPLETE
     
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /root/TrinityCore/build
     
    # make
     
    Scanning dependencies of target shared
    [  7%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Configuration/Config.cpp.o
    [  7%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/ARC4.cpp.o
    [  7%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/HMACSHA1.cpp.o
    [  7%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/SHA1.cpp.o
    [  7%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/OpenSSLCrypto.cpp.o
    /root/TrinityCore/src/server/shared/Cryptography/OpenSSLCrypto.cpp: In function 'void threadIdCallback(CRYPTO_THREADID*)':
    /root/TrinityCore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:36:54: error: invalid conversion from 'ACE_thread_t {aka pthread*}' to 'long unsigned int' [-fpermissive]
         CRYPTO_THREADID_set_numeric(id, ACE_Thread::self());
                                                          ^
    In file included from /root/TrinityCore/src/server/shared/Cryptography/OpenSSLCrypto.cpp:19:0:
    /usr/local/include/openssl/crypto.h:435:6: note: initializing argument 2 of 'void CRYPTO_THREADID_set_numeric(CRYPTO_THREADID*, long unsigned int)'
     void CRYPTO_THREADID_set_numeric(CRYPTO_THREADID *id, unsigned long val);
          ^
    *** [src/server/shared/CMakeFiles/shared.dir/Cryptography/OpenSSLCrypto.cpp.o] Error code 1
     
    Stop in /root/TrinityCore/build.
    *** [src/server/shared/CMakeFiles/shared.dir/all] Error code 1
     
    Stop in /root/TrinityCore/build.
    *** [all] Error code 1
     
    Stop in /root/TrinityCore/build.
     
×
×
  • Create New...