[R] nmath standalone

Huntsinger, Reid reid_huntsinger at merck.com
Thu May 23 17:15:31 CEST 2002


It looks like you need a -lRmath in the cc command line to specify the
library to link. Also make sure /usr/local is listed in /etc/ld.so.conf; if
not add it and run ldconfig as root to update.

Reid Huntsinger

-----Original Message-----
From: Paola Lecca [mailto:plecca at kirk.science.unitn.it]
Sent: Thursday, May 23, 2002 8:31 AM
To: r-help at stat.math.ethz.ch
Subject: [R] nmath standalone


Dear all,

I'm trying to use the as a standalone package the nmath sources.

In R-1.4.1/src/nmath/standalone, in linux operating system I made 'make
shared' to obtain libRmath.so. then I copied the dir standalone, where
there is libRmath.so in /usr/local.

I tried to compile test.c with cc test.c but I obtain this error message

/tmp/ccsTxu7U.o: In function `main':
/tmp/ccsTxu7U.o(.text+0x20): undefined reference to `qnorm5'
collect2: ld returned 1 exit status

What is it wrong ?

As always thanks in advance,
Paola.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._

------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.

==============================================================================

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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