Skip to content

R on HPUX

4 messages · Bernard Urban, Kurt Hornik, Brian Ripley

#
I have problems compiling R on HP-UX 10.20
(using native cc and f2c).

The problem arises when building R_X11.sl:

        cc -b  -o ../../../bin/R_X11.sl dataentry.o devX11.o rotated.o rbitmap.o -lSM -lICE -lX11  -L/usr/local/lib  -lm 
cc: warning 422: Unknown option "b" ignored.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (dataentry.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
   Rf_VectorToPairList (code)
   Rf_endcontext (code)
   R_NaReal (data)

[...]

I have configured by ./configure --with-f2c.
Any hint ?
#
You are not telling us which version of R this is.  I assume it is
1.3.0, and I think the problem is fixed in 1.3.1.

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
2 days later
#
Kurt Hornik <Kurt.Hornik at ci.tuwien.ac.at> writes:
I have tried 1.3.1 and the old 1.1.1, same problem.
Obviously, the configure process forgets to add the R internal
libraries to the linking command.
#
On 10 Sep 2001, Bernard Urban wrote:

            
There are no `R internal libraries': these are resolved from the R.bin
binary when the shared library is loaded.  Warnings are found on Tru64
in this case, but amongst Unix systems only AIX seems to need an import
library for R.bin.

People have definitely built versions around 1.1.1 and later on HP-UX `out
of the box', so this must it seems be a difference between your system and
those tested.  Are there any HP-UX users out there who can help?