Konatofu Posted April 30, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 1 Reputation: 0 Joined: 04/30/18 Last Seen: May 19, 2018 Share Posted April 30, 2018 (edited) When I'm going to compile shows this error does anyone know what to do to compile without error ? /* machine spec */ OS : Raspbian (Debian 8 Jessie) Quote $ uname -a Linux raspberrypi 4.4.34-v7 $ cat /etc/issue Raspbian GNU/Linux 8 \n \l gcc : Quote $ gcc --version gcc (Raspbian 5.4.1-4) 5.4.1 20161202 Compiling output message Quote raspberrypi:~/rAthena $ ./configure --enable-packetver=20120618 --enable-prere=yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking for ar... /usr/bin/ar checking whether byte ordering is bigendian... no checking whether gcc produces 32bit code... yes checking whether gcc supports -march=i686 (and we can run it)... no checking whether gcc supports __thread specifier (TLS)... yes checking whether gcc supports -ffat-lto-objects... yes checking whether gcc supports -flto -fuse-linker-plugin... yes checking whether gcc supports -Wno-unused-parameter... yes checking whether gcc can actually use -Wno-unused-parameter... not needed but enabled checking whether gcc supports -Wempty-body... yes checking whether gcc supports -Wno-switch... yes checking whether gcc supports -Wno-missing-field-initializers... yes checking whether compiler is clang... no checking whether gcc supports -Wno-maybe-uninitialized... yes checking whether gcc supports -Wno-clobbered... yes checking whether gcc supports -Wshadow... yes checking whether gcc can efficiently use -Wshadow... yes checking whether gcc supports -fPIC... yes checking how to make shared objects... not supported configure: compiler is unable to generate shared objects, disabled plugins (optional) checking whether gcc supports -fno-strict-aliasing... yes checking for setrlimit... yes checking for strnlen... yes checking for uselocale... yes checking for newlocale... yes checking for freelocale... yes checking for xlocale.h... yes checking for library containing inflateEnd... -lz checking for zlib.h... yes checking for library containing sqrt... none required checking for library containing clock_gettime... none required checking whether CLOCK_MONOTONIC is supported and works... yes checking for library containing pthread_create... -lpthread checking for library containing pthread_sigmask... none required checking for library containing pthread_attr_init... none required checking for library containing pthread_attr_setstacksize... none required checking for library containing pthread_attr_destroy... none required checking for library containing pthread_cancel... none required checking for library containing pthread_join... none required checking for mysql_config... /usr/bin/mysql_config checking for mysql_init in -lmysqlclient... yes checking mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes checking MySQL library (required)... yes (5.5.60) checking for library containing pcre_study... -lpcre checking PCRE library (optional)... yes (8.35) checking host OS... Linux checking for MinGW... no configure: Configure finish configure: CPPFLAGS= -DMAXCONN=16384 -I../common -DHAS_TLS -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -DPACKETVER=20120618 -DPRERE -I/usr/include -DHAVE_MONOTONIC_CLOCK configure: CFLAGS= -flto -fuse-linker-plugin -g -O2 -pipe -ffast-math -Wall -Wempty-body -Wno-switch -Wno-missing-field-initializers -Wno-maybe-uninitialized -Wno-clobbered -Wshadow configure: CFLAGS_AR= -flto -fuse-linker-plugin -ffat-lto-objects -flto -fuse-linker-plugin -g -O2 -pipe -ffast-math -Wall -Wempty-body -Wno-switch -Wno-missing-field-initializers -Wno-maybe-uninitialized -Wno-clobbered -Wshadow configure: LDFLAGS= -L/usr/lib configure: output name = login-server, char-server, map-server configure: creating ./config.status config.status: creating Makefile config.status: creating src/common/Makefile config.status: creating 3rdparty/mt19937ar/Makefile config.status: creating 3rdparty/libconfig/Makefile config.status: creating 3rdparty/yaml-cpp/Makefile config.status: creating src/char/Makefile config.status: creating src/login/Makefile config.status: creating src/map/Makefile config.status: creating src/tool/Makefile raspberrypi:~/rAthena $ make clean make[1]: Entering directory '/home/hercuser/rAthena/src/common' CLEAN common make[1]: Leaving directory '/home/hercuser/rAthena/src/common' make[1]: Entering directory '/home/hercuser/rAthena/3rdparty/mt19937ar' CLEAN mt19937ar make[1]: Leaving directory '/home/hercuser/rAthena/3rdparty/mt19937ar' make[1]: Entering directory '/home/hercuser/rAthena/3rdparty/libconfig' CLEAN libconfig make[1]: Leaving directory '/home/hercuser/rAthena/3rdparty/libconfig' make[1]: Entering directory '/home/hercuser/rAthena/3rdparty/yaml-cpp' CLEAN yaml-cpp make[1]: Leaving directory '/home/hercuser/rAthena/3rdparty/yaml-cpp' make[1]: Entering directory '/home/hercuser/rAthena/src/login' CLEAN login make[1]: Leaving directory '/home/hercuser/rAthena/src/login' make[1]: Entering directory '/home/hercuser/rAthena/src/char' CLEAN char make[1]: Leaving directory '/home/hercuser/rAthena/src/char' make[1]: Entering directory '/home/hercuser/rAthena/src/map' CLEAN map make[1]: Leaving directory '/home/hercuser/rAthena/src/map' make[1]: Entering directory '/home/hercuser/rAthena/src/tool' CLEAN tool make[1]: Leaving directory '/home/hercuser/rAthena/src/tool' raspberrypi:~/rAthena $ make server make[1]: Entering directory '/home/hercuser/rAthena/3rdparty/mt19937ar' CC mt19937ar.c make[1]: Leaving directory '/home/hercuser/rAthena/3rdparty/mt19937ar' make[1]: Entering directory '/home/hercuser/rAthena/3rdparty/libconfig' MKDIR obj CC grammar.c CC libconfig.c CC scanctx.c CC scanner.c CC strbuf.c AR obj/libconfig.a make[1]: Leaving directory '/home/hercuser/rAthena/3rdparty/libconfig' make[1]: Entering directory '/home/hercuser/rAthena/3rdparty/yaml-cpp' MKDIR obj/src/contrib CXX src/singledocparser.cpp CXX src/exp.cpp CXX src/emitterutils.cpp CXX src/scantoken.cpp CXX src/emitter.cpp CXX src/nodeevents.cpp CXX src/contrib/graphbuilder.cpp CXX src/contrib/graphbuilderadapter.cpp CXX src/ostream_wrapper.cpp CXX src/exceptions.cpp CXX src/parse.cpp CXX src/stream.cpp CXX src/emitfromevents.cpp CXX src/parser.cpp CXX src/regex_yaml.cpp CXX src/null.cpp CXX src/nodebuilder.cpp CXX src/convert.cpp CXX src/scanner.cpp CXX src/scantag.cpp CXX src/directives.cpp CXX src/node.cpp CXX src/emit.cpp CXX src/node_data.cpp CXX src/emitterstate.cpp CXX src/tag.cpp CXX src/memory.cpp CXX src/scanscalar.cpp CXX src/binary.cpp CXX src/simplekey.cpp AR obj/yaml-cpp.a make[1]: Leaving directory '/home/hercuser/rAthena/3rdparty/yaml-cpp' make[1]: Entering directory '/home/hercuser/rAthena/src/common' MKDIR obj CXX core.cpp CC socket.c CC timer.c CC db.c CC nullpo.c CC malloc.c CC showmsg.c CC strlib.c CC utils.c CXX utilities.cpp CC grfio.c CC mapindex.c CC ers.c CC md5calc.c CXX core.cpp CC socket.c CC malloc.c CC random.c CC des.c CC conf.c CC thread.c CC mutex.c CC raconf.c CC mempool.c CC msg_conf.c CC cli.c CC sql.c CXX yamlwrapper.cpp AR obj/common.a make[1]: Leaving directory '/home/hercuser/rAthena/src/common' make[1]: Entering directory '/home/hercuser/rAthena/src/login' MKDIR obj CXX account.cpp CXX ipban.cpp CXX login.cpp CXX loginchrif.cpp CXX loginclif.cpp CXX logincnslif.cpp CXX loginlog.cpp LD login-server make[1]: Leaving directory '/home/hercuser/rAthena/src/login' make[1]: Entering directory '/home/hercuser/rAthena/src/char' MKDIR obj CXX char.cpp CXX char_clif.cpp CXX char_cnslif.cpp CXX char_logif.cpp CXX char_mapif.cpp CXX int_achievement.cpp CXX int_auction.cpp CXX int_clan.cpp CXX int_elemental.cpp CXX int_guild.cpp CXX int_homun.cpp CXX int_mail.cpp CXX int_mercenary.cpp CXX int_party.cpp CXX int_pet.cpp CXX int_quest.cpp CXX int_storage.cpp CXX inter.cpp LD char-server make[1]: Leaving directory '/home/hercuser/rAthena/src/char' make[1]: Entering directory '/home/hercuser/rAthena/src/map' MKDIR obj CXX achievement.cpp CXX atcommand.cpp CXX battle.cpp CXX battleground.cpp CXX buyingstore.cpp CXX cashshop.cpp CXX channel.cpp CXX chat.cpp CXX chrif.cpp CXX clan.cpp CXX clif.cpp CXX date.cpp CXX duel.cpp CXX elemental.cpp CXX guild.cpp CXX homunculus.cpp CXX instance.cpp CXX intif.cpp CXX itemdb.cpp CXX log.cpp CXX mail.cpp CXX map.cpp CXX mapreg.cpp CXX mercenary.cpp CXX mob.cpp CXX npc.cpp (custom rule) CXX npc_chat.cpp CXX party.cpp CXX path.cpppath.cpp:64:1: error: narrowing conversion of ‘(directions)-1’ from ‘int8 {aka signed char}’ to ‘char’ inside { } [-Wnarrowing] }; ^ how to fixing this error? X< Edited April 30, 2018 by Konatofu Quote Link to comment Share on other sites More sharing options...
Question
Konatofu
When I'm going to compile shows this error does anyone know what to do to compile without error ?
/* machine spec */
OS : Raspbian (Debian 8 Jessie)
gcc :
Compiling output message
how to fixing this error? X<
Edited by KonatofuLink to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.