Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: INTEL P4 64bit/FC5 Compilation problem  (Read 1882 times)

0 Members and 1 Guest are viewing this topic.

arbours

  • Guest
INTEL P4 64bit/FC5 Compilation problem
« on: August 18, 2006, 06:16:00 AM »

Okay so im trying to install anope on that INTEL 64bit P4 that I havent had any problem before here ./Config output

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking if gcc has a working -pipe... yes
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for touch... /bin/touch
checking for install... /usr/bin/install
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking for res_query in -lresolv... no
checking for revoke in -lbsd... yes
checking whether va_list assignments need array notation... yes
checking for mysql_config... /usr/bin/mysql_config
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 for sys/types.h... (cached) yes
checking for dlopen... yes
checking if we need the -export-dynamic flag... yes
checking for compiler option to produce PIC... -fPIC -DPIC -shared
checking if your system prepends an underscore on symbols... no
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for int16_t... yes
checking for u_int16_t... yes
checking for int32_t... yes
checking for u_int32_t... yes
checking for strings.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for strerror... yes
checking for sys_errlist... yes
checking for snprintf... yes
checking for stricmp... no
checking for strcasecmp... yes
checking for strdup... yes
checking for strspn... yes
checking for strsignal... yes
checking for gettimeofday... yes
checking for setgrent... yes
checking for umask... yes
checking for fork... yes
checking for gethostbyname... yes
checking for gethostbyname_r... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/bin/anoperc
config.status: creating include/sysconf.h


Modules: Yes
  MySql: Yes





Then I make and I get the following :

...
gcc -shared ../mod_version.o bs_act.o -o bs_act.so
/usr/bin/ld: ../mod_version.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
../mod_version.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [bs_act.s] Error 1
make[2]: Leaving directory `/home/smokeyircd/anope-1.7.15/src/core'
make[1]: *** [core] Error 2
make[1]: Leaving directory `/home/smokeyircd/anope-1.7.15/src'
make: *** [core] Error 2


This machine is running updated FC5 with GCC :
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 --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.1 20060525 (Red Hat 4.1.1-1)


Anyone can help/lead me to a solution ?
Logged
Pages: [1]   Go Up