Displaying 3 results from an estimated 3 matches for "_lgamma".
Did you mean:
lgamma
1998 Sep 10
2
R-beta: trouble compiling 0.62.3 on SunOS 4.1.4: lgamma conflicts
...main; make
g77 -o R.binary arithmetic.o [snip] version.o ../lib/libgraphics.a
../lib/libunix.a ../lib/libappl.a ../lib/libmath.a -lSM -lICE
-L/usr/lib/X11 -lX11 -ldl -ltermcap -lm
collect2: ld returned 2 exit status
ld: /lib/libm.a(lgamma.o): _gamma: multiply defined
ld: /lib/libm.a(lgamma.o): _lgamma: multiply defined
*** Error code 1
lgamma appears to be defined both in
./src/nmath/lgamma.c -> ./src/lib/libmath.a
and in /lib/libm.a.
We have a fairly poorly configured system, but 0.61.1 compiled fine;
that version appeared to have a corresponding ./src/math/lgamma.c that was
c...
1998 Aug 14
1
R-beta: ld problem/SunOS/gcc/g77
...y SPARC SunOS:
tajo% uname -a
SunOS tajo 4.1.3_U1 1 sun4m
with gcc/g77,
I ran into
gcc -o R.binary [deleted] ../lib/libmath.a -L/usr/openwin/lib -lX11 -ldl -ltermcap -lm -lf2c
collect2: ld returned 2 exit status
ld: /lib/libm.a(lgamma.o): _gamma: multiply defined
ld: /lib/libm.a(lgamma.o): _lgamma: multiply defined
*** Error code 1
make: Fatal error: Command failed for target `R.binary'
Current working directory /usr/local/RHOME/R-0.62.2/src/main
[rest deleted]
which I assume is due to some 'collision' of the various libraries supplied by R, gcc, g77, and Sun.
I'm not very...
2011 Nov 18
3
Permutations
Hi all,
why factorial(150) shows the error out of range in 'gammafn'?
I have to calculate the number of subset formed by 150 samples taking 10 at
a time. How is this possible?
best
[[alternative HTML version deleted]]