Skip to content
Back to formatted view

Raw Message

Message-ID: <x21xy761gw.fsf@biostat.ku.dk>
Date: 2003-06-06T08:34:46Z
From: Peter Dalgaard
Subject: Problerm building R-1.7.0 on OpenBSD3.2/sparc64
In-Reply-To: <Pine.LNX.4.44.0306060913490.3249-100000@gannet.stats>

Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:

> Looks like that OS wants all symbols resolved: those are all variables
> exported by R.bin.
> 
> 1) See if there is a ld flag to allow unresolved symbols.
> 
> 2) (something of a kludge)  configure with --enable-R-shared and
> rebuild (from scratch), as this will link against the libR.so.
> Whether that works correctly will be OS-dependent, since you realy want 
> them resolved against R.bin when methods.so is loaded.

3) Dig out the place in the log where it links the main R binary and
   see what the link call looks like. Also check in Makeconf what the
   linker flags have been set to. Look especially at the -E or
   --export-dynamic flags and check them against compiler/linker docs.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907