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

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jun 6 10:21:35 CEST 2003


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.

On Fri, 6 Jun 2003, Ulf Dagman (EAB) wrote:

> Hi all,
> 
> I try to build R-1.7.0 + patches. when problem arise.
> I start with appling the patches and second configure and make.
> 
> Any ideas whats wrong (wrong compiler wrong make version or missing an essential library...)

Wrong flags, probably.

> 
> /Ulf D
> 
> heres the log:
> **** cut************
> making method_meta_data.d from method_meta_data.c
> making slot.d from slot.c
> making class_support.d from class_support.c
> making tests.d from tests.c
> `Makedeps' is up to date.
> gcc -I../../../../include  -I/usr/local/include   -fPIC  -g -O2 -c do_substitute
> _direct.c -o do_substitute_direct.o
> gcc -I../../../../include  -I/usr/local/include   -fPIC  -g -O2 -c methods_list_
> dispatch.c -o methods_list_dispatch.o
> gcc -I../../../../include  -I/usr/local/include   -fPIC  -g -O2 -c method_meta_d
> ata.c -o method_meta_data.o
> gcc -I../../../../include  -I/usr/local/include   -fPIC  -g -O2 -c slot.c -o slo
> t.o
> gcc -I../../../../include  -I/usr/local/include   -fPIC  -g -O2 -c class_support
> .c -o class_support.o
> gcc -I../../../../include  -I/usr/local/include   -fPIC  -g -O2 -c tests.c -o te
> sts.o
> gcc -shared -L/usr/local/lib -o methods.so do_substitute_direct.o methods_list_d
> ispatch.o method_meta_data.o slot.o class_support.o tests.o   mkdir -p -- ../../../../library/methods/libs
> dumping R code in package 'methods'
> /home/test/proj/downl/R-1.7.0/bin/R.bin: /home/test/proj/downl/R-1.7.0/library/m
> ethods/libs/methods.so: can't resolve reference 'R_GlobalEnv'
> /home/test/proj/downl/R-1.7.0/bin/R.bin: /home/test/proj/downl/R-1.7.0/library/m
> ethods/libs/methods.so: can't resolve reference 'R_NamesSymbol'
> /home/test/proj/downl/R-1.7.0/bin/R.bin: /home/test/proj/downl/R-1.7.0/library/m
> ethods/libs/methods.so: can't resolve reference 'R_MissingArg'
> /home/test/proj/downl/R-1.7.0/bin/R.bin: /home/test/proj/downl/R-1.7.0/library/m
> ethods/libs/methods.so: can't resolve reference 'R_NilValue'
> /home/test/proj/downl/R-1.7.0/bin/R.bin: /home/test/proj/downl/R-1.7.0/library/m
> ethods/libs/methods.so: can't resolve reference 'R_DotsSymbol'
> /home/test/proj/downl/R-1.7.0/bin/R.bin: /home/test/proj/downl/R-1.7.0/library/m
> ethods/libs/methods.so: can't resolve reference 'R_UnboundValue'
> Error in .Call("R_initialize_methods_metadata", table, PACKAGE = "methods") :
>        .Call function name not in load table
> Execution halted
> *** Error code 1
> 
> Stop in /home/test/proj/downl/R-1.7.0/src/library/methods (line 70 of Makefile).
> *** Error code 1
> 
> Stop in /home/test/proj/downl/R-1.7.0/src/library/methods (line 18 of Makefile).
> *** Error code 1
> 
> Stop in /home/test/proj/downl/R-1.7.0/src/library (line 39 of Makefile).
> *** Error code 1
> 
> Stop in /home/test/proj/downl/R-1.7.0/src (line 29 of Makefile).
> *** Error code 1
> 
> Stop in /home/test/proj/downl/R-1.7.0 (line 62 of Makefile).
> bash-2.05b$ 
> ********end logg *******
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list