Compilation on FreeBSD

From: Roger Mason <rmason_at_esd.mun.ca>
Date: Tue, 3 Apr 2012 13:11:01 -0230


Hello,

I'm attempting to compile root (root_v5.32.01) on FreeBSD 9.0 (Release, AMD64) on a core i7 machine with root configured thus:

./configure freebsd7 --enable-soversion --prefix=/opt/local/

(there appears not to be provision for arch=freebsd9).

Compilation fails:

  /usr/bin/ld: /usr/local/lib/libgslcblas.a(sasum.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libgslcblas.a: could not read symbols: Bad value gmake: *** [lib/libMathMore.so] Error 1

I followed the instruction to recompile gsl with -fPIC, but the error persists.

Thanks for any help.

Roger

-- 
Roger Mason
Interim Head
Dept. of Earth Sciences
Memorial University of Newfoundland
St. John's, NL, Canada A1B 3X5

(709) 864-2334
This electronic communication is governed by the terms and conditions at http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2011.php
Received on Tue Apr 03 2012 - 17:41:09 CEST

This archive was generated by hypermail 2.2.0 : Wed Apr 04 2012 - 23:50:01 CEST