Go Back   EQEmulator Home > EQEmulator Forums > General > General::Server Discussion

General::Server Discussion Discussion about emulator servers.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2017, 03:42 PM
jasonmicron
Fire Beetle
 
Join Date: Jun 2017
Posts: 1
Default Server compile fails with latest git repo

I have this in my output after running cmake, and then make. On the Make step, this occurs. I'm not a developer, but this seems to be a formatting error in the header? I've tried this twice, and it fails on the same file each time.

If I need to edit a file to workaround the issue, please, let me know! I will do that.

Steps:
First, I install all of the development libraries, etc.
Next, I clone the git repo:

Code:
-bash-4.4$ git clone https://github.com/EQEmu/Server.git eqemu
Cloning into 'eqemu'...
remote: Counting objects: 45908, done.
remote: Compressing objects: 100% (126/126), done.
remote: Total 45908 (delta 102), reused 121 (delta 68), pack-reused 45713
Receiving objects: 100% (45908/45908), 51.09 MiB | 8.36 MiB/s, done.
Resolving deltas: 100% (35225/35225), done.
Following that, I then run cmake as described in the guide:
Code:
-bash-4.4$ cd eqemu/
-bash-4.4$ cmake .
-- The C compiler identification is GNU 7.1.1
-- The CXX compiler identification is GNU 7.1.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- Found MySQL: /usr/lib64/mysql/libmysqlclient_r.so
-- Found Perl: /usr/bin/perl (found version "5.24.1")
-- Found PerlLibs: /usr/lib64/libperl.so (found version "5.24.1")
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.3.7")
-- Checking for module 'libsodium'
--   Found libsodium, version 1.0.12
-- Found SODIUM: /usr/lib64/libsodium.so
-- Found Lua51: /usr/lib64/liblua-5.1.so;/usr/lib64/libm.so
-- Boost version: 1.63.0
-- Looking for pthread.h
-- Looking for 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
-- CMake version: 3.8.2
-- Build type: RelWithDebInfo
-- Performing Test HAVE_STD_CPP11_FLAG
-- Performing Test HAVE_STD_CPP11_FLAG - Success
-- Performing Test FMT_CPP11_CMATH
-- Performing Test FMT_CPP11_CMATH - Success
-- Performing Test FMT_CPP11_UNISTD_H
-- Performing Test FMT_CPP11_UNISTD_H - Success
-- Performing Test SUPPORTS_VARIADIC_TEMPLATES
-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success
-- Performing Test SUPPORTS_INITIALIZER_LIST
-- Performing Test SUPPORTS_INITIALIZER_LIST - Success
-- Performing Test SUPPORTS_ENUM_BASE
-- Performing Test SUPPORTS_ENUM_BASE - Success
-- Performing Test SUPPORTS_TYPE_TRAITS
-- Performing Test SUPPORTS_TYPE_TRAITS - Success
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success
-- Looking for open
-- Looking for open - found
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/eqemu/eqemu
All seems fine, so I then run make to actually compile the source code:

Code:
-bash-4.4$ make
Scanning dependencies of target common
[  0%] Building CXX object common/CMakeFiles/common.dir/base_packet.cpp.o
[  0%] Building CXX object common/CMakeFiles/common.dir/classes.cpp.o
[  0%] Building CXX object common/CMakeFiles/common.dir/condition.cpp.o
[  1%] Building CXX object common/CMakeFiles/common.dir/crash.cpp.o
[  1%] Building CXX object common/CMakeFiles/common.dir/crc16.cpp.o
[  1%] Building CXX object common/CMakeFiles/common.dir/crc32.cpp.o
[  2%] Building CXX object common/CMakeFiles/common.dir/database.cpp.o
[  2%] Building CXX object common/CMakeFiles/common.dir/database_conversions.cpp.o
[  2%] Building CXX object common/CMakeFiles/common.dir/database_instances.cpp.o
[  3%] Building CXX object common/CMakeFiles/common.dir/dbcore.cpp.o
[  3%] Building CXX object common/CMakeFiles/common.dir/deity.cpp.o
[  3%] Building CXX object common/CMakeFiles/common.dir/emu_constants.cpp.o
[  4%] Building CXX object common/CMakeFiles/common.dir/emu_legacy.cpp.o
[  4%] Building CXX object common/CMakeFiles/common.dir/emu_limits.cpp.o
[  4%] Building CXX object common/CMakeFiles/common.dir/emu_opcodes.cpp.o
[  4%] Building CXX object common/CMakeFiles/common.dir/emu_versions.cpp.o
[  5%] Building CXX object common/CMakeFiles/common.dir/eqdb.cpp.o
[  5%] Building CXX object common/CMakeFiles/common.dir/eqdb_res.cpp.o
[  5%] Building CXX object common/CMakeFiles/common.dir/eqemu_exception.cpp.o
[  6%] Building CXX object common/CMakeFiles/common.dir/eqemu_config.cpp.o
[  6%] Building CXX object common/CMakeFiles/common.dir/eqemu_logsys.cpp.o
[  6%] Building CXX object common/CMakeFiles/common.dir/eq_limits.cpp.o
[  7%] Building CXX object common/CMakeFiles/common.dir/eq_packet.cpp.o
[  7%] Building CXX object common/CMakeFiles/common.dir/eq_stream_ident.cpp.o
[  7%] Building CXX object common/CMakeFiles/common.dir/eq_stream_proxy.cpp.o
[  8%] Building CXX object common/CMakeFiles/common.dir/eqtime.cpp.o
[  8%] Building CXX object common/CMakeFiles/common.dir/event_sub.cpp.o
[  8%] Building CXX object common/CMakeFiles/common.dir/extprofile.cpp.o
[  8%] Building CXX object common/CMakeFiles/common.dir/faction.cpp.o
[  9%] Building CXX object common/CMakeFiles/common.dir/guild_base.cpp.o
[  9%] Building CXX object common/CMakeFiles/common.dir/guilds.cpp.o
[  9%] Building CXX object common/CMakeFiles/common.dir/inventory_profile.cpp.o
[ 10%] Building CXX object common/CMakeFiles/common.dir/inventory_slot.cpp.o
[ 10%] Building CXX object common/CMakeFiles/common.dir/ipc_mutex.cpp.o
[ 10%] Building CXX object common/CMakeFiles/common.dir/item_data.cpp.o
[ 11%] Building CXX object common/CMakeFiles/common.dir/item_instance.cpp.o
[ 11%] Building CXX object common/CMakeFiles/common.dir/json_config.cpp.o
[ 11%] Building CXX object common/CMakeFiles/common.dir/light_source.cpp.o
[ 12%] Building CXX object common/CMakeFiles/common.dir/md5.cpp.o
[ 12%] Building CXX object common/CMakeFiles/common.dir/memory_buffer.cpp.o
[ 12%] Building CXX object common/CMakeFiles/common.dir/memory_mapped_file.cpp.o
[ 12%] Building CXX object common/CMakeFiles/common.dir/misc.cpp.o
[ 13%] Building CXX object common/CMakeFiles/common.dir/misc_functions.cpp.o
[ 13%] Building CXX object common/CMakeFiles/common.dir/mutex.cpp.o
[ 13%] Building CXX object common/CMakeFiles/common.dir/mysql_request_result.cpp.o
[ 14%] Building CXX object common/CMakeFiles/common.dir/mysql_request_row.cpp.o
[ 14%] Building CXX object common/CMakeFiles/common.dir/opcode_map.cpp.o
[ 14%] Building CXX object common/CMakeFiles/common.dir/opcodemgr.cpp.o
[ 15%] Building CXX object common/CMakeFiles/common.dir/packet_dump.cpp.o
[ 15%] Building CXX object common/CMakeFiles/common.dir/packet_dump_file.cpp.o
[ 15%] Building CXX object common/CMakeFiles/common.dir/packet_functions.cpp.o
[ 16%] Building CXX object common/CMakeFiles/common.dir/perl_eqdb.cpp.o
In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from /usr/include/sys/param.h:26,
                 from /usr/lib64/perl5/CORE/perl.h:770,
                 from /opt/eqemu/eqemu/common/../common/useperl.h:12,
                 from /opt/eqemu/eqemu/common/perl_eqdb.cpp:32:
/opt/eqemu/eqemu/libs/format/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
/opt/eqemu/eqemu/libs/format/fmt/format.h:1826:20: error: expected unqualified-id before numeric constant
     const unsigned CHAR_WIDTH = 1;
                    ^
make[2]: *** [common/CMakeFiles/common.dir/build.make:1287: common/CMakeFiles/common.dir/perl_eqdb.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:86: common/CMakeFiles/common.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Here are the various versions of my compiler, OS and kernel:

Compiler:
Code:
-bash-4.4$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++, fortran,ada,go,lto \
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release \
--enable-multilib --with-system-zlib --enable-__cxa_atexit \
--disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only \
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-offload-targets=nvptx-none \
--without-cuda-driver --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.1.1 20170526 (Red Hat 7.1.1-2) (GCC)
Kernel:
Code:
-bash-4.4$ uname -r
4.11.6-301.fc26.x86_64
OS:
Code:
-bash-4.4$ cat /etc/redhat-release
Fedora release 26 (Twenty Six)
Any ideas why the make fails at 16% every time with that above file?
Reply With Quote
  #2  
Old 06-23-2017, 07:08 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

https://github.com/fmtlib/fmt/commit...62620f9e845850

Looks like we should probably update our local fmtlib
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:38 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3