[Rd] Implementing R on IBM p690 cluster Jump

Bill Northcott w.northcott at unsw.edu.au
Wed May 11 14:43:46 CEST 2005


On 11/05/2005, at 8:04 PM, Ralf Seppel wrote:
> we're trying to implement R on the IBM p690 cluster "Jump" at the
> research centre in Jülich, Germany (c.f.
> http://www.fz-juelich.de/nic/Supercomputer/computer-e.html)
> using the most recent version of R (2.1.0) and precisly following the
> installation instructions.
>
> .............
> checking for cos in -lm... yes
> checking for sin in -lm... yes
> .............
> checking for GNU gettext in libc... no
> checking for GNU gettext in libintl... no
> checking whether to use NLS... yes
> checking where the gettext function comes from... included intl  
> directory
> ...............
>          gcc -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,- 
> bexpall
> -Wl,-bI:../../../etc/R.exp -L/usr/local/lib -o R_X11.so  dataentry.lo
> devX11.lo rotated.lo rbitmap.lo -lSM -lICE -lX11  -ljpeg -lpng -lz
> ld: 0711-317 ERROR: Undefined symbol: .log10
> ld: 0711-317 ERROR: Undefined symbol: .floor
> ld: 0711-317 ERROR: Undefined symbol: .libintl_gettext
> ld: 0711-317 ERROR: Undefined symbol: .pow
> ld: 0711-317 ERROR: Undefined symbol: .sin
> ld: 0711-317 ERROR: Undefined symbol: .cos
> ld: 0711-317 ERROR: Undefined symbol: .tan
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> collect2: ld returned 8 exit status

There seem to be problems in the autoconf stuff.  cos and sin are  
being located in libm but the link line you show has no '-lm' which  
accounts for 6 of the 7 missing symbols.
Also gettext seems to have been located by the configure script, but  
there is no option on the link line to include it in the link. Also  
search configure.in for strings like powerpc-ibm-aix to see what  
stuff is being done
specifically for AIX.  It may be out of date in relation to your system.

If it was my problem, I would have look at those bits of the  
configure script and the sections of configure.in that generated  
them.  Then I would compare the AC_SUBST variables with the  
makefile.in that generated the link.  It seems there is some non- 
communication there.

Bill Northcott



More information about the R-devel mailing list