Hello all, this is my first post, but I've been a long time user running TrinityCore with Gentoo Linux. I've recently migrated my server from Gentoo to FreeBSD 10.1 however, and have run into some compilation issues. I'm aware of Issue 3690 and don't think it applies to me (applied the patch anyways) but I still get an error. I have tried both clang and gcc but end up with the exact error with G3D. Also, after scouring the forums, I found another member, borg0tech, had a similar issue, but was left unresolved. Is there any tips to get this going or is compiling under FreeBSD a lost cause? This is with the latest 3.3.5a git pull. Thanks in advance! CMAKE cmake ../ -DSCRIPTS=1 -DTOOLS=1 -DCMAKE_INSTALL_PREFIX=/opt/trinitycore/server -DCONFDIR=/opt/trinitycore/server/etc -DLIBSDIR=/opt/trinitycore/server/lib -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DWITH_WARNINGS=1
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/local/bin/gcc48
-- Check for working C compiler: /usr/local/bin/gcc48 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/bin/g++48
-- Check for working CXX compiler: /usr/local/bin/g++48 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detected 64-bit platform
-- UNIX: Using default configuration directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/local/bin/gcc48
-- GCC: Enabled c++11 support
-- GCC: Enabled C99 support
-- GCC: SFMT enabled, SSE2 flags forced
-- GCC: All warnings enabled
-- 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
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- program_options
-- iostreams
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed
-- Using mysql-config: /usr/local/bin/mysql_config
-- Found MySQL library: /usr/local/lib/mysql/libmysqlclient.so
-- Found MySQL headers: /usr/local/include/mysql
-- Found MySQL executable: /usr/local/bin/mysql
-- Found Readline library: /usr/lib/libreadline.so
-- Include dir is: /usr/include
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.8")
-- 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 : 23e4472d14bb 2015-07-06 22:25:34 +0100 (3.3.5 branch)
* TrinityCore buildtype : Release
* Install core to : /opt/trinitycore/server
* Install libraries to : /opt/trinitycore/server/lib
* Install configs to : /opt/trinitycore/server/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)
* Show all warnings : Yes
* Use coreside debug : No (default)
* Show source tree : No (default)
* Use GIT revision hash : Yes
-- Looking for open
-- Looking for open - found
-- SCRIPT PREPARATIONS
-> Prepared: Spells
-> Prepared: Commands
-> 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
CMake Warning:
Manually-specified variables were not used by the project:
CONFDIR
-- Build files have been written to: /opt/trinitycore/source/TrinityCore/build MAKE Scanning dependencies of target g3dlib
[ 0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o
In file included from /opt/trinitycore/source/TrinityCore/dep/g3dlite/include/G3D/Array.h:20:0,
from /opt/trinitycore/source/TrinityCore/dep/g3dlite/include/G3D/AABox.h:20,
from /opt/trinitycore/source/TrinityCore/dep/g3dlite/source/AABox.cpp:14:
/opt/trinitycore/source/TrinityCore/dep/g3dlite/include/G3D/System.h:114:20: error: field 'm_start' has incomplete type
struct timeval m_start;
^
compilation terminated due to -Wfatal-errors.
*** Error code 1
Stop.
make[2]: stopped in /opt/trinitycore/source/TrinityCore/build
*** Error code 1
Stop.
make[1]: stopped in /opt/trinitycore/source/TrinityCore/build
*** Error code 1
Stop.
make: stopped in /opt/trinitycore/source/TrinityCore/build