Jump to content
  • 0

error compiling


misterM

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  01/05/14
  • Last Seen:  

When I'm going to compile shows this error does anyone know what to do to compile without error ?

 

checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -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... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... yes
configure: error: bigendian is not supported... stopping
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = 37771f16-5899-4938-84e3-b4740a6cd025
uname -m = x86_64
uname -r = 4.12.14-coreos
uname -s = Linux
uname -v = #1 SMP Wed Sep 20 22:20:05 UTC 2017

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2490: checking for gcc
configure:2506: found /usr/bin/gcc
configure:2517: result: gcc
configure:2746: checking for C compiler version
configure:2755: gcc --version >&5
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2766: $? = 0
configure:2755: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) 
configure:2766: $? = 0
configure:2755: gcc -V >&5
gcc: '-V' option must have argument
configure:2766: $? = 1
configure:2755: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:2766: $? = 1
configure:2786: checking whether the C compiler works
configure:2808: gcc    conftest.c  >&5
configure:2812: $? = 0
configure:2860: result: yes
configure:2863: checking for C compiler default output file name
configure:2865: result: a.out
configure:2871: checking for suffix of executables
configure:2878: gcc -o conftest    conftest.c  >&5
configure:2882: $? = 0
configure:2904: result: 
configure:2926: checking whether we are cross compiling
configure:2934: gcc -o conftest    conftest.c  >&5
configure:2938: $? = 0
configure:2945: ./conftest
configure:2949: $? = 0
configure:2964: result: no
configure:2969: checking for suffix of object files
configure:2991: gcc -c   conftest.c >&5
configure:2995: $? = 0
configure:3016: result: o
configure:3020: checking whether we are using the GNU C compiler
configure:3039: gcc -c   conftest.c >&5
configure:3039: $? = 0
configure:3048: result: yes
configure:3057: checking whether gcc accepts -g
configure:3077: gcc -c -g  conftest.c >&5
configure:3077: $? = 0
configure:3118: result: yes
configure:3135: checking for gcc option to accept ISO C89
configure:3198: gcc  -c -g -O2  conftest.c >&5
configure:3198: $? = 0
configure:3211: result: none needed
configure:3237: checking how to run the C preprocessor
configure:3268: gcc -E  conftest.c
configure:3268: $? = 0
configure:3282: gcc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3282: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3307: result: gcc -E
configure:3327: gcc -E  conftest.c
configure:3327: $? = 0
configure:3341: gcc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3341: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3370: checking for grep that handles long lines and -e
configure:3428: result: /bin/grep
configure:3433: checking for egrep
configure:3495: result: /bin/grep -E
configure:3500: checking for ANSI C header files
configure:3520: gcc -c -g -O2  conftest.c >&5
configure:3520: $? = 0
configure:3593: gcc -o conftest -g -O2   conftest.c  >&5
configure:3593: $? = 0
configure:3593: ./conftest
configure:3593: $? = 0
configure:3604: result: yes
configure:3617: checking for sys/types.h
configure:3617: gcc -c -g -O2  conftest.c >&5
configure:3617: $? = 0
configure:3617: result: yes
configure:3617: checking for sys/stat.h
configure:3617: gcc -c -g -O2  conftest.c >&5
configure:3617: $? = 0
configure:3617: result: yes
configure:3617: checking for stdlib.h
configure:3617: gcc -c -g -O2  conftest.c >&5
configure:3617: $? = 0
configure:3617: result: yes
configure:3617: checking for string.h
configure:3617: gcc -c -g -O2  conftest.c >&5
configure:3617: $? = 0
configure:3617: result: yes
configure:3617: checking for memory.h
configure:3617: gcc -c -g -O2  conftest.c >&5
configure:3617: $? = 0
configure:3617: result: yes
configure:3617: checking for strings.h
configure:3617: gcc -c -g -O2  conftest.c >&5
configure:3617: $? = 0
configure:3617: result: yes
configure:3617: checking for inttypes.h
configure:3617: gcc -c -g -O2  conftest.c >&5
configure:3617: $? = 0
configure:3617: result: yes
configure:3617: checking for stdint.h
configure:3617: gcc -c -g -O2  conftest.c >&5
configure:3617: $? = 0
configure:3617: result: yes
configure:3617: checking for unistd.h
configure:3617: gcc -c -g -O2  conftest.c >&5
configure:3617: $? = 0
configure:3617: result: yes
configure:3630: checking minix/config.h usability
configure:3630: gcc -c -g -O2  conftest.c >&5
conftest.c:52:26: error: minix/config.h: No such file or directory
configure:3630: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:3630: result: no
configure:3630: checking minix/config.h presence
configure:3630: gcc -E  conftest.c
conftest.c:19:26: error: minix/config.h: No such file or directory
configure:3630: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <minix/config.h>
configure:3630: result: no
configure:3630: checking for minix/config.h
configure:3630: result: no
configure:3651: checking whether it is safe to define __EXTENSIONS__
configure:3669: gcc -c -g -O2  conftest.c >&5
configure:3669: $? = 0
configure:3676: result: yes
configure:4077: checking whether make sets $(MAKE)
configure:4099: result: yes
configure:4156: checking for gcc
configure:4183: result: gcc
configure:4412: checking for C compiler version
configure:4421: gcc --version >&5
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4432: $? = 0
configure:4421: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) 
configure:4432: $? = 0
configure:4421: gcc -V >&5
gcc: '-V' option must have argument
configure:4432: $? = 1
configure:4421: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:4432: $? = 1
configure:4436: checking whether we are using the GNU C compiler
configure:4464: result: yes
configure:4473: checking whether gcc accepts -g
configure:4534: result: yes
configure:4551: checking for gcc option to accept ISO C89
configure:4627: result: none needed
configure:4705: checking for g++
configure:4721: found /usr/bin/g++
configure:4732: result: g++
configure:4759: checking for C++ compiler version
configure:4768: g++ --version >&5
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4779: $? = 0
configure:4768: g++ -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) 
configure:4779: $? = 0
configure:4768: g++ -V >&5
g++: '-V' option must have argument
configure:4779: $? = 1
configure:4768: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:4779: $? = 1
configure:4783: checking whether we are using the GNU C++ compiler
configure:4802: g++ -c   -DMAXCONN=16384 conftest.cpp >&5
configure:4802: $? = 0
configure:4811: result: yes
configure:4820: checking whether g++ accepts -g
configure:4840: g++ -c -g  -DMAXCONN=16384 conftest.cpp >&5
configure:4840: $? = 0
configure:4881: result: yes
configure:4906: checking for ar
configure:4924: found /usr/bin/ar
configure:4936: result: /usr/bin/ar
configure:4957: checking whether byte ordering is bigendian
configure:4972: g++ -c -g -O2 -std=c++11  -DMAXCONN=16384 -I../common conftest.cpp >&5
cc1plus: error: unrecognized command line option "-std=c++11"
configure:4972: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
| 	       not a universal capable compiler
| 	     #endif
| 	     typedef int dummy;
| 
configure:5017: g++ -c -g -O2 -std=c++11  -DMAXCONN=16384 -I../common conftest.cpp >&5
cc1plus: error: unrecognized command line option "-std=c++11"
configure:5017: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| 	     #include <sys/param.h>
| 
| int
| main ()
| {
| #if ! (defined BYTE_ORDER && defined BIG_ENDIAN 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN 		     && LITTLE_ENDIAN)
| 	      bogus endian macros
| 	     #endif
| 
|   ;
|   return 0;
| }
configure:5061: g++ -c -g -O2 -std=c++11  -DMAXCONN=16384 -I../common conftest.cpp >&5
cc1plus: error: unrecognized command line option "-std=c++11"
configure:5061: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
make: *** No targets specified and no makefile found.  Stop.
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <limits.h>
| 
| int
| main ()
| {
| #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
| 	      bogus endian macros
| 	     #endif
| 
|   ;
|   return 0;
| }
configure:5152: g++ -o conftest -g -O2 -std=c++11  -DMAXCONN=16384 -I../common  conftest.cpp  >&5
cc1plus: error: unrecognized command line option "-std=c++11"
configure:5152: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| 
| 	     /* Are we little or big endian?  From Harbison&Steele.  */
| 	     union
| 	     {
| 	       long int l;
| 	       char c[sizeof (long int)];
| 	     } u;
| 	     u.l = 1;
| 	     return u.c[sizeof (long int) - 1] == 1;
| 
|   ;
|   return 0;
| }
configure:5163: result: yes
configure:5167: error: bigendian is not supported... stopping

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_bigendian=yes
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_objext=o
ac_cv_path_AR=/usr/bin/ar
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='/usr/bin/ar'
CC='gcc'
CFLAGS='-g -O2 -pipe -ffast-math -Wall'
CFLAGS_AR=''
CPP='gcc -E'
CPPFLAGS=' -DMAXCONN=16384 -I../common'
CXX='g++'
CXXCPP=''
CXXFLAGS='-g -O2 -std=c++11'
DEFS=''
DLLEXT=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
HAVE_MYSQL=''
HAVE_PCRE=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MYSQL_CFLAGS=''
MYSQL_CONFIG_HOME=''
MYSQL_LIBS=''
MYSQL_VERSION=''
OBJEXT='o'
OCHR='char-server'
OLOG='login-server'
OMAP='map-server'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PCRE_CFLAGS=''
PCRE_LIBS=''
PCRE_VERSION=''
SET_MAKE=''
SHELL='/bin/sh'
SOFLAGS=''
WITH_PLUGINS=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1

configure: exit 1

 

Edited by misterM
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  01/05/14
  • Last Seen:  

@Lighta I was able to install the compiler, gcc 5 compiles normally, plus gcc 6 and 7 points many errors to rathena. look

gcc 6

Test in Debian

CXX	skill.cpp
/tmp/ccU68UrG.ltrans20.ltrans.o: In function `YAML::Emitter::SpaceOrIndentTo(bool, unsigned long)':
<artificial>:(.text+0x1ab): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x1d1): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x200): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
/tmp/ccU68UrG.ltrans20.ltrans.o: In function `YAML::Emitter::~Emitter()':
<artificial>:(.text+0x349): undefined reference to `YAML::ostream_wrapper::~ostream_wrapper()'
/tmp/ccU68UrG.ltrans20.ltrans.o: In function `YAML::Emitter::Emitter()':
<artificial>:(.text+0x636): undefined reference to `YAML::ostream_wrapper::ostream_wrapper()'
/tmp/ccU68UrG.ltrans20.ltrans.o: In function `YAML::Emitter::PrepareNode(YAML::EmitterNodeType::value)':
<artificial>:(.text+0xf51): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0xf6b): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x1081): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x10ac): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x124b): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
/tmp/ccU68UrG.ltrans20.ltrans.o:<artificial>:(.text+0x12f1): more undefined references to `YAML::ostream_wrapper::write(char const*, unsigned long)' follow
/tmp/ccU68UrG.ltrans0.ltrans.o: In function `YAML::Utils::WriteTag(YAML::ostream_wrapper&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
<artificial>:(.text+0x75): undefined reference to `YAML::ostream_wrapper::write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
<artificial>:(.text+0x390): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x3d1): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
/tmp/ccU68UrG.ltrans13.ltrans.o: In function `YAML::EmitFromEvents::OnSequenceEnd()':
<artificial>:(.text+0x371): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x39d): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x410): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
/tmp/ccU68UrG.ltrans13.ltrans.o:<artificial>:(.text+0x430): more undefined references to `YAML::ostream_wrapper::write(char const*, unsigned long)' follow
/tmp/ccU68UrG.ltrans13.ltrans.o: In function `YAML::EmitFromEvents::OnScalar(YAML::Mark const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
<artificial>:(.text+0x615): undefined reference to `YAML::ostream_wrapper::write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
<artificial>:(.text+0x6dd): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x702): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x742): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x762): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
<artificial>:(.text+0x782): undefined reference to `YAML::ostream_wrapper::write(char const*, unsigned long)'
/tmp/ccU68UrG.ltrans13.ltrans.o:<artificial>:(.text+0x7a2): more undefined references to `YAML::ostream_wrapper::write(char const*, unsigned long)' follow
collect2: error: ld returned 1 exit status
Makefile:59: recipe for target 'char-server' failed
make[1]: *** [char-server] Error 1
make[1]: Leaving directory '/server/test/emulator/src/char'
Makefile:48: recipe for target 'char' failed
make: *** [char] Error 2
make: *** Waiting for unfinished jobs....
	LD	map-server
scanner.h:208:17: warning: type of 'libconfig_yy_scan_string' does not match original declaration [-Wlto-type-mismatch]
scanner.c:1964:17: note: 'libconfig_yy_scan_string' was previously declared here
scanner.c:1964:17: note: code may be misoptimized unless -fno-strict-aliasing is used
scanner.h:202:6: warning: type of 'libconfig_yy_delete_buffer' does not match original declaration [-Wlto-type-mismatch]
scanner.c:1743:10: note: 'libconfig_yy_delete_buffer' was previously declared here
scanner.c:1743:10: note: code may be misoptimized unless -fno-strict-aliasing is used

 

Edited by misterM
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

hmm this is weird it look like he didn't link to yaml.

I'll try to a virtual_box on debian, on meantime could you retry via cmake ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...