Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: amd64  (Read 9019 times)

0 Members and 1 Guest are viewing this topic.

jessie

  • Anope User
  • Offline Offline
  • Posts: 3
amd64
« on: March 14, 2006, 07:52:53 PM »

any ideal how to fix this
relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
this is from a patch that worked on linux 386 but not on 64
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #1 on: March 14, 2006, 11:24:12 PM »

Well tons of questions which such a short question

1. What version of Anope
2. Have you tried the svn (in fact almost recommend this)
3. What distribution
Logged
my God my tourniquet, return to me salvation

jessie

  • Anope User
  • Offline Offline
  • Posts: 3
(No subject)
« Reply #2 on: March 15, 2006, 10:54:31 AM »

posted here as general coding question
but where in the module does it tell to compile with -fpic or is
this in the make file? can send patch if you think you have time to look at
Logged

Dave Robson

  • Team
  • *
  • Offline Offline
  • Posts: 357
(No subject)
« Reply #3 on: March 15, 2006, 12:04:52 PM »

If your using 1.7.x it should compile with -fPIC already.

If your using 1.6.x - it wont work on 64bit anyway.

(edit: i so cant spell ;) )


[Edited on 15-3-2006 by Rob]
Logged

jessie

  • Anope User
  • Offline Offline
  • Posts: 3
(No subject)
« Reply #4 on: March 16, 2006, 07:50:32 PM »

found it added this to patch
MODULEFLAGS=-fPIC -DPIC -shared
Logged
Pages: [1]   Go Up