Wasn't really sure what to name the topic... Anyway, I'm running CentOS 6.2 64-bit, I did ./configure with --enable-64bit. No problems there. However, when I run 'make' to compile, I get the following erorr:
make[1]: Entering directory `/home/ro/rAthena/src/plugins'
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../common -I/usr/include -L/usr/lib -shared -o ../../plugins/sample.so sample.c
/usr/bin/ld: /tmp/ccuMott8.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/tmp/ccuMott8.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [sample.so] Error 1
make[1]: Leaving directory `/home/ro/rAthena/src/plugins'
make: *** [plugins] Error 2
I've compiled before, but never on a 64-bit machine (not sure if that has anything to do with it or what, but I'm in the dark either way, it's working fine on my other machine (I'm in process of moving to a new hardware server)
Do I need to install something or run some other command? Any help'd be appreciated. I only have a few days left before my old server payment is due, and I'd really like to migrate over to the new host so I don't have to pay for both p.q
Question
Lige
Wasn't really sure what to name the topic... Anyway, I'm running CentOS 6.2 64-bit, I did ./configure with --enable-64bit. No problems there. However, when I run 'make' to compile, I get the following erorr:
I've compiled before, but never on a 64-bit machine (not sure if that has anything to do with it or what, but I'm in the dark either way, it's working fine on my other machine (I'm in process of moving to a new hardware server)
Do I need to install something or run some other command? Any help'd be appreciated. I only have a few days left before my old server payment is due, and I'd really like to migrate over to the new host so I don't have to pay for both p.q
Link to comment
Share on other sites
4 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.