[R] Need Help Getting through Make on HP-UX 10.20
Kurt Hornik
Kurt.Hornik at ci.tuwien.ac.at
Wed Mar 22 16:10:40 CET 2000
>>>>> J writes:
> Hi,
> I have a problem with getting through the make process. It fails
> during the ld process. Can someone explain the errors that I get ?
> `Makedeps' is up to date.
> `libappl.a' is up to date.
> `libmath.a' is up to date.
> `libunix.a' is up to date.
> `../../bin/R.X11' is up to date.
> building package `base'
> ../../../library/base/R/base is unchanged
> building package `ctest'
> ../../../library/ctest/R/ctest is unchanged
> f90 -c alnorm.f -o alnorm.o
> alnorm.f
> external function ALNORM
> 53 Lines Compiled
> ld -b -o ctest.sl alnorm.o ansari.o fexact.o kendall.o ks.o prho.o swilk.o /opt/fortran90/lib/libF90.a -lcl /opt/fortran90/lib/libisamstub.a
> ld: DP relative code in file alnorm.o - shared library must be position
> independent. Use +z or +Z to recompile.
> *** Error exit code 1
Yes, I can. The configure script fails to find out how to compile
Fortran code that should be included in shared libraries. Apparently,
* trying to use xmkmf for CPICFLAGS fails
* this is not GNU f77 (g77), and indeed it is f90
* and hence also the platform overrides fail.
Assuming you need flags FOO for doing the job, you can do
FPICFLAGS=FOO /path/to/configure; make
to solve the problem.
And of course, please let me know what the solution is.
Question: why f90 and not f77?
-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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list