Displaying 2 results from an estimated 2 matches for "_gamma".
Did you mean:
gamma
1998 Sep 10
2
R-beta: trouble compiling 0.62.3 on SunOS 4.1.4: lgamma conflicts
...d in
the system's libm.a file:
make
[snip]
cd 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 t...
1998 Aug 14
1
R-beta: ld problem/SunOS/gcc/g77
In trying to compile R-0.62.2 on my 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...