Jump to content
  • 0

Question

Posted

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

4 answers to this question

Recommended Posts

Posted

I did it in that order, but I ran 'make' instead of 'make sql'... I've never had to specify sql before, odd. Is that a 64bit thing? ;x

Either way, appears to be working now, thanks.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...