[R] Problerm building R-1.7.0 on OpenBSD3.2/sparc64

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri Jun 6 10:34:46 CEST 2003


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




More information about the R-help mailing list