search for: libmath

Displaying 20 results from an estimated 53 matches for "libmath".

Did you mean: librmath
1998 Sep 10
2
R-beta: trouble compiling 0.62.3 on SunOS 4.1.4: lgamma conflicts
...with and without g77, eventually get to the same place), I get a conflict with the function lgamma being defined both in R and 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/lib...
2000 Jul 25
1
R: Use of libmath.a
>For example, > >> cc -I/usr/local/lib/R/include -lmath test.c ??? I guess it should be > cc test.c -I/usr/local/lib/R/include -lmath The order specified for object files (libraries are) on the compiler command line is IMPORTANT to the linker as it searches for symbols from left to right. Hope that helps. Regards, federico
2005 Jan 04
2
[LLVMdev] Math instructions
...hough. My current plan is to add llvm intrinsics for these instructions but I've noticed that llvm already handles C math library functions to some extent. It feels a bit strange to add code for example to constant fold these intrinsics when there is already code to constant fold a calls to libmath functions -- but the libmath functions have certain semantics regarding how errno is set which I don't really want to deal with. Other compilers have options to enable the direct use of fp instructions for math operations (gcc has -fno-math-errno, -funsafe-math-optimizations and -fno-trapp...
2005 Jan 04
0
[LLVMdev] Math instructions
...an is to add llvm intrinsics for > these instructions but I've noticed that llvm already handles C math > library functions to some extent. It feels a bit strange to add code for > example to constant fold these intrinsics when there is already code to > constant fold a calls to libmath functions -- but the libmath functions > have certain semantics regarding how errno is set which I don't really > want to deal with. The way to deal with this is to add LLVM intrinsics, but only for functions that set errno. For example, you could add llvm.sqrt, which is just undefi...
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 /...
1999 May 17
1
minor installation problems
...optimize.o options.o par.o paste.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../unix/libunix.a ../appl/libappl.a ../nmath/libmath.a -lSM -lICE -L/usr/X11R6/lib -lX11 -lreadline -lz -ldl -lncurses -lm the binary would exit with the error /usr/local/lib/R-0.64.1/bin/R.binary: error in loading shared libraries : undefined symbol: __register_frame_info when run. This symbol is defined in libstdc++. A manual link...
1999 May 17
1
minor installation problems
...optimize.o options.o par.o paste.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../unix/libunix.a ../appl/libappl.a ../nmath/libmath.a -lSM -lICE -L/usr/X11R6/lib -lX11 -lreadline -lz -ldl -lncurses -lm the binary would exit with the error /usr/local/lib/R-0.64.1/bin/R.binary: error in loading shared libraries : undefined symbol: __register_frame_info when run. This symbol is defined in libstdc++. A manual link...
2001 Mar 26
2
Need some help for building R!
...R-devel/src/extra/xdr' F:/GCC-29~1.2/BIN/MAKE.EXE -C ./math MAKE.EXE[1]: Entering directory `F:/R-devel/src/gnuwin32/math' MAKE.EXE[1]: `../em.a' is up to date. MAKE.EXE[1]: Leaving directory `F:/R-devel/src/gnuwin32/math' ------- Building R.dll from R.a malloc.o libmain.a libappl.a libmath.a ga.a gl.a xdr.a em.a dllversion.o -------- echo LIBRARY R > R.def echo EXPORTS >> R.def nm R.a malloc.o libmain.a libappl.a libmath.a ga.a gl.a xdr.a em.a dllversion.o > Defs sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >> R.def rm -f Defs gcc --shared -...
2001 Mar 26
2
Need some help for building R!
...R-devel/src/extra/xdr' F:/GCC-29~1.2/BIN/MAKE.EXE -C ./math MAKE.EXE[1]: Entering directory `F:/R-devel/src/gnuwin32/math' MAKE.EXE[1]: `../em.a' is up to date. MAKE.EXE[1]: Leaving directory `F:/R-devel/src/gnuwin32/math' ------- Building R.dll from R.a malloc.o libmain.a libappl.a libmath.a ga.a gl.a xdr.a em.a dllversion.o -------- echo LIBRARY R > R.def echo EXPORTS >> R.def nm R.a malloc.o libmain.a libappl.a libmath.a ga.a gl.a xdr.a em.a dllversion.o > Defs sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >> R.def rm -f Defs gcc --shared -...
1998 Oct 16
1
Compiling on a Red Hat 5.1 system
...s; make make[3]: Entering directory `/home/fredrigl/R-0.62.3/src/graphics' make[3]: `../lib/libgraphics.a' is up to date. make[3]: Leaving directory `/home/fredrigl/R-0.62.3/src/graphics' cd nmath; make make[3]: Entering directory `/home/fredrigl/R-0.62.3/src/nmath' make[3]: `../lib/libmath.a' is up to date. make[3]: Leaving directory `/home/fredrigl/R-0.62.3/src/nmath' cd appl; make make[3]: Entering directory `/home/fredrigl/R-0.62.3/src/appl' make[3]: `../lib/libappl.a' is up to date. make[3]: Leaving directory `/home/fredrigl/R-0.62.3/src/appl' cd unix; make ma...
1998 Oct 07
2
R-beta: R0.62.3 installation on RedHat 5.0
...: f77: Command not found 'R INSTALL library' does not accept fort77, but R installation checks f77/g77/fort77. Is there an easy way to edit some file and replace f77/g77 with fort77? At home I have the same R and Linux versions, but when installing R a fatal error occurs after /lib/libmath.a -ISM -lICE -L/usr/X11R6/lib -lX11 -ldl -lm /usr/bin/fort77: Illegal option: -export-dynamics make[3]: *** [R.binary] Error 255 make[3]: Leaving directory '/usr/local/R-0.62.3/src/main' make[2]: *** [build] Error 2 make[2]: Leaving directory '/us...
1998 Mar 27
1
R-beta: Problems during compilation of R for Solaris 2.6
...math.o print.o printarray.o printvector.o printutils.o random.o relop.o >> saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o >> subset.o summary.o unique.o util.o version.o ../lib/libgraphics.a >> ../lib/libunix.a ../lib/libappl.a ../lib/libmath.a -lSM -lICE -L/usr/openwin/lib >> -R/usr/openwin/lib -lX11 -lsocket -lnsl -ldl -lreadline -ltermcap -lm >> >> Undefined first referenced >> symbol in file >> xrealloc /usr/local/lib/libread...
2000 Mar 20
1
Need Help Getting through Make on HP-UX 10.20
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 funct...
2005 Jan 06
1
[LLVMdev] Math instructions
..., so it's easier to recognize the function calls. Of course the previous comment also applies to this... - for now I've just implemented all of them as llvm.xxx intrinsics, but I'm a bit unsure how to lower these if the target does not support them and the program does not link with libmath... Maybe I worry too much ;) m.
1998 Jun 18
1
Compiling under Digital Unix
...ze.o options.o par.o paste.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../lib/libgraphics.a ../lib/libunix.a ../lib/libappl.a ../lib/libmath.a -lSM -lICE -L/s/X11R6.3-1/lib -lX11 -ldnet_stub -ltermcap -lm ld: ../lib/libunix.a(system.o): main: multiply defined fort: Severe: Failed while trying to link. Is anyone familiar enough with Digital Unix to decide why it is defining main in unix/system.o. I checked and the symbol is indeed...
1997 Apr 10
1
R-beta: Compiling R-0.16.1 on Solaris 2.5.1
...par.o paste.o plot.o plot3d.o print.o printarray.o printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../lib/libgraphics.a ../lib/libunix.a ../lib/libappl.a ../lib/libmath.a -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lnsl -lsocket -ldl -ltermcap -lm *** Error code 1 make: Fatal error: Command failed for target `R.binary' Current working directory /usr/local/R-0.16.1/src/main *** Error code 1 make: Fatal error: Command failed for target `build' Current work...
1998 Oct 28
1
Request for help with compiling R on a DEC Alpha
...ze.o options.o par.o paste.o plot.o plot3d.o plotmath.o print.o printarray .o printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o sort.o so urce.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o versio n.o ../lib/libgraphics.a ../lib/libunix.a ../lib/libappl.a lib/libmath.a - lm ld: Unresolved: XLoadQueryFont XOpenDisplay XInternAtom XCreateFontCursor XCreateGC XCreateWindow XDefaultRootWindow XSetWMProtocols XAllocColor XAllocNamedColor XChangeProperty XCheckTypedEvent XClearWindow XCloseDisplay XDefaultDepth XDefaultScreen XDefineCursor XDestroyWindow XDrawArc...
1999 Aug 16
1
configure / linking problem when using hdf5
...Gnu's zlib, but not available in the zlib that comes with X11R6.3 (which we have installed). Now unfortunately, the final link statement for R (0.65) [for me, with hdf5 enabled] is gcc -o ../../bin/R.X11 arithmetic.o ....[omitted] version.o \ ../unix/libunix.a ../appl/libappl.a ../nmath/libmath.a -lSM -lICE -L/usr/local/X11R6.3/lib -R/usr/local/X11R6.3/lib -lX11 -lsocket -lnsl -R/opt/SUNWspro/lib -L/opt/SUNWspro/lib -L/opt/SUNWspro/SC4.2/lib -L/usr/ccs/lib -L/usr/lib /opt/SUNWspro/SC4.2/lib/libM77.a -lF77 -lsunmath -lm -lcx -lreadline -lhdf5 -lz -ldl -ltermcap -lm Undefined first re...
1998 Sep 11
2
R-beta: compiling problems under DU4.0D
...ze.o options.o par.o paste.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../lib/libgraphics.a ../lib/libunix.a ../lib/libappl.a ../lib/libmath.a -lSM -lICE -L/local/X11R5/lib -lX11 -ldnet_stub -ltermcap -lm ld: ../lib/libunix.a(system.o): main: multiply defined fort: Severe: Failed while trying to link. Does anybody have any clues how to solve this problem? Halvard Moe -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2000 Dec 07
1
Compiling R for MacOS X / shared libraries
...ar.o paste.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o random.o RNG.o regex.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o xxxpr.o ../unix/libunix.a ../appl/libappl.a ../nmath/libmath.a -L/usr/local/lib -lncurses /usr/bin/ld: Undefined symbols: _i_len _d_sign make[3]: *** [../../bin/R.bin] Error 1 Here I didn't manage to make changes the would let me go on (e.g. I looked for configure-switches for shared libraries, which could be somehow responsible for the problems, but...