Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2005 12:40:15 +0100
From:      Michael Hopkins <michael.hopkins@hopkins-research.com>
To:        "freebsd-amd64@freebsd.org" <freebsd-amd64@freebsd.org>
Subject:   gnustep-base linker error on amd64
Message-ID:  <BE93E72F.38F70%michael.hopkins@hopkins-research.com>

next in thread | raw e-mail | index | archive | help


Hi all

The gnustep-base build will not complete because of this error:
---------------------------------------
/usr/bin/ld: /usr/local/lib/libcallback.a(misc.o): relocation R_X86_64_32
can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libcallback.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
---------------------------------------

I believe it is something to do with shared libraries on amd64 but I'm not
sure what I can do about it.  Does adding -fPIC somewhere (i.e. in
/etc/make.conf or the makefile) produce a solution?

I don't want to experiment before someone who knows more has given me some
guidance here.

TIA

Michael


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

        _/    _/   _/_/_/             Hopkins Research Ltd
       _/    _/   _/    _/
      _/_/_/_/   _/_/_/          http://www.hopkins-research.com/
     _/    _/   _/   _/
    _/    _/   _/     _/               'touch the future'
                   
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE93E72F.38F70%michael.hopkins>