Issue information

Issue ID
#5037
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Aug 29, 2011 7:59
Last Post
Hercules Elf Bot
Aug 29, 2011 7:59
Confirmation
N/A

Hercules Elf Bot - Aug 29, 2011 7:59

Originally posted by [b]jTynne[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=5037

1. Downloaded latest trunk SVN on Linux Cent OS 5
2. Used chmod a+x configure && athena-start
3. Attempted ./configure and received the following error:

error: compiler is unable to compile shared objects for an unhandled reason, please report this with attached config.log... stopping

4. Below is the config.log :


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.59. Invocation command line was

$ ./configure

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

hostname = vz024.ubiquityservers.com
uname -m = x86_64
uname -r = 2.6.18-028stab092.1
uname -s = Linux
uname -v = #1 SMP Wed Jul 20 19:47:12 MSD 2011

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

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

PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin


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

configure:1583: checking whether make sets $(MAKE)
configure:1603: result: yes
configure:1658: checking for gcc
configure:1674: found /usr/bin/gcc
configure:1684: result: gcc
configure:1928: checking for C compiler version
configure:1931: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)
Copyright © 2006 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:1934: $? = 0
configure:1936: gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)
configure:1939: $? = 0
configure:1941: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:1944: $? = 1
configure:1967: checking for C compiler default output file name
configure:1970: gcc conftest.c >&5
configure:1973: $? = 0
configure:2019: result: a.out
configure:2024: checking whether the C compiler works
configure:2030: ./a.out
configure:2033: $? = 0
configure:2050: result: yes
configure:2057: checking whether we are cross compiling
configure:2059: result: no
configure:2062: checking for suffix of executables
configure:2064: gcc -o conftest conftest.c >&5
configure:2067: $? = 0
configure:2092: result:
configure:2098: checking for suffix of object files
configure:2119: gcc -c conftest.c >&5
configure:2122: $? = 0
configure:2144: result: o
configure:2148: checking whether we are using the GNU C compiler
configure:2172: gcc -c conftest.c >&5
configure:2178: $? = 0
configure:2182: test -z
|| test ! -s conftest.err
configure:2185: $? = 0
configure:2188: test -s conftest.o
configure:2191: $? = 0
configure:2204: result: yes
configure:2210: checking whether gcc accepts -g
configure:2231: gcc -c -g conftest.c >&5
configure:2237: $? = 0
configure:2241: test -z
|| test ! -s conftest.err
configure:2244: $? = 0
configure:2247: test -s conftest.o
configure:2250: $? = 0
configure:2261: result: yes
configure:2278: checking for gcc option to accept ANSI C
configure:2348: gcc -c -g -O2 conftest.c >&5
configure:2354: $? = 0
configure:2358: test -z
|| test ! -s conftest.err
configure:2361: $? = 0
configure:2364: test -s conftest.o
configure:2367: $? = 0
configure:2385: result: none needed
configure:2403: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2409: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2547: checking how to run the C preprocessor
configure:2582: gcc -E conftest.c
configure:2588: $? = 0
configure:2620: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:2626: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2665: result: gcc -E
configure:2689: gcc -E conftest.c
configure:2695: $? = 0
configure:2727: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:2733: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2789: checking whether byte ordering is bigendian
configure:2816: gcc -c -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -I../common conftest.c >&5
configure:2822: $? = 0
configure:2826: test -z
|| test ! -s conftest.err
configure:2829: $? = 0
configure:2832: test -s conftest.o
configure:2835: $? = 0
configure:2859: gcc -c -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -I../common conftest.c >&5
conftest.c: In function 'main':
conftest.c:16: error: 'not' undeclared (first use in this function)
conftest.c:16: error: (Each undeclared identifier is reported only once
conftest.c:16: error: for each function it appears in.)
conftest.c:16: error: expected ';' before 'big'
configure:2865: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:3000: result: no
configure:3018: checking whether pointers can be stored in ints (old code)
configure:3037: gcc -c -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -I../common conftest.c >&5
conftest.c:9: error: size of array 'test_array' is negative
configure:3043: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| static int test_array[((long int)sizeof(int)) == ((long int)sizeof(void*)) ? 1 : -1];
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3086: gcc -c -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -I../common conftest.c >&5
conftest.c:9: warning: 'test_array' defined but not used
configure:3092: $? = 0
configure:3096: test -z
|| test ! -s conftest.err
configure:3099: $? = 0
configure:3102: test -s conftest.o
configure:3105: $? = 0
configure:3117: result: yes (with -m32)
configure:3127: checking whether gcc supports -Wno-unused-parameter
configure:3135: gcc -c -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -I../common conftest.c >&5
configure:3141: $? = 0
configure:3145: test -z
|| test ! -s conftest.err
configure:3148: $? = 0
configure:3151: test -s conftest.o
configure:3154: $? = 0
configure:3156: result: yes
configure:3172: checking whether gcc supports -Wno-pointer-sign
configure:3180: gcc -c -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -I../common conftest.c >&5
configure:3186: $? = 0
configure:3190: test -z
|| test ! -s conftest.err
configure:3193: $? = 0
configure:3196: test -s conftest.o
configure:3199: $? = 0
configure:3202: result: yes
configure:3204: checking whether gcc can actually use -Wno-pointer-sign
configure:3213: gcc -c -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Werror -Wno-pointer-sign -I../common conftest.c >&5
configure:3219: $? = 0
configure:3223: test -z
|| test ! -s conftest.err
configure:3226: $? = 0
configure:3229: test -s conftest.o
configure:3232: $? = 0
configure:3235: result: yes
configure:3266: checking whether gcc supports -Wno-switch
configure:3274: gcc -c -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -I../common conftest.c >&5
configure:3280: $? = 0
configure:3284: test -z
|| test ! -s conftest.err
configure:3287: $? = 0
configure:3290: test -s conftest.o
configure:3293: $? = 0
configure:3295: result: yes
configure:3311: checking whether gcc supports -fPIC
configure:3319: gcc -c -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fPIC -I../common conftest.c >&5
configure:3325: $? = 0
configure:3329: test -z
|| test ! -s conftest.err
configure:3332: $? = 0
configure:3335: test -s conftest.o
configure:3338: $? = 0
configure:3341: result: yes
configure:3364: checking whether gcc needs -fPIC for shared objects
configure:3378: gcc -o conftest -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -shared -I../common -m32 conftest.c >&5
/usr/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3384: $? = 1
configure: failed program was:
|
| int foo(void)
| {
| return 0;
| }
|
configure:3421: gcc -o conftest -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -shared -fPIC -I../common -m32 conftest.c >&5
/usr/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3427: $? = 1
configure: failed program was:
|
| int foo(void)
| {
| return 0;
| }
|
configure:3452: result: no, but fails for another reason
configure:3454: error: compiler is unable to compile shared objects for an unhandled reason, please report this with attached config.log... stopping

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

ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_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_exeext=
ac_cv_objext=o
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes

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

CC='gcc'
CFLAGS='-g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -m32 -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -shared -fPIC'
CPP='gcc -E'
CPPFLAGS=' -I../common'
DEFS=''
DLLEXT=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
HAVE_MYSQL=''
HAVE_PCRE=''
LDFLAGS=' -m32'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MYSQL_CFLAGS=''
MYSQL_CONFIG_HOME=''
MYSQL_LIBS=''
MYSQL_VERSION=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PCRE_CFLAGS=''
PCRE_LIBS=''
SET_MAKE=''
SHELL='/bin/sh'
WITH_PLUGINS='yes'
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 1