search for: r_chk_calloc

Displaying 14 results from an estimated 14 matches for "r_chk_calloc".

2005 Dec 14
1
R-beta on AIX5.2
...sr/include/stdlib.h. make[3]: *** [mlutils.o] Error 1 --- R-beta.orig/src/nmath/nmath.h 2005-10-06 19:25:25.000000000 +0900 +++ R-beta/src/nmath/nmath.h 2005-12-13 19:33:59.000000000 +0900 @@ -47,6 +47,7 @@ #define ML_NAN R_NaN void R_CheckUserInterrupt(void); +#undef calloc #define calloc R_chk_calloc #define free R_chk_free -- http://www.nakama.ne.jp, http://r.nakama.ne.jp e-mail : EIJI Nakama <nakama at ki.rim.or.jp>
2000 Mar 29
5
Porting R
...-Xlexpall -o ctest.so alnorm.o ansari.o fexact.o kendall.o ks.o prho.o swilk.o -L/usr/lib/gcc-lib/powerpc-apple-machten4/2.8.1 -lg2c -lm ansari.o: In function `errmsg': ansari.c:13: undefined reference to `Rf_error' ansari.o: In function `w_init': ansari.c:21: undefined reference to `R_chk_calloc' ... ansari.c:84: undefined reference to `Rf_choose' ansari.o: In function `pansari': ansari.c:110: undefined reference to `Rf_choose' fexact.o: In function `fexact': ... kendall.c:24: undefined reference to `Rf_sign' kendall.o: In function `ckendall': kendall.c:99: unde...
2003 Dec 05
3
.C() memory allocation
...It reads: The interface functions are type* Calloc(size_t n, type) ^^^^^^ type* Realloc(any *p, size_t n, type) ^^^^^^ But RS.h makes me think that n should just be an integer giving the number of elements and not necessarily be of type size_t: extern void *R_chk_calloc(size_t, size_t); extern void *R_chk_realloc(void *, size_t); #define Calloc(n, t) (t *) R_chk_calloc( (size_t) (n), sizeof(t) ) #define Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (size_t)((n) * sizeof(t)) ) -------------------------------------------------- Dan Davison Committee on Ev...
2008 Jul 10
0
RODBC Close Memory Leak Question
...unts of detected errors, rerun with: -v ==8682== searching for pointers to 6,739 not-freed blocks. ==8682== checked 13,332,140 bytes. ==8682== ==8682== 56 bytes in 1 blocks are possibly lost in loss record 15 of 55 ==8682== at 0x40045EB: calloc (vg_replace_malloc.c:279) ==8682== by 0x805AA60: R_chk_calloc (memory.c:2368) ==8682== by 0x57C89D6: RODBCDriverConnect (RODBC.c:244) ==8682== by 0x8160A68: do_dotcall (dotcode.c:863) ==8682== by 0x81857CE: Rf_eval (eval.c:489) ==8682== by 0x81895B7: do_set (eval.c:1420) ==8682== by 0x81855B0: Rf_eval (eval.c:463) ==8682== by 0x818631E: do_b...
2012 Jul 05
1
trouble installing Rmpi on a debian machine
...clared (first use in this function) Rmpi.c:83: error: 'comm' undeclared (first use in this function) Rmpi.c:83: error: 'MPI_Comm' undeclared (first use in this function) Rmpi.c:83: error: expected expression before ')' token Rmpi.c:83: error: expected ';' before 'R_chk_calloc' Rmpi.c:84: error: 'status' undeclared (first use in this function) Rmpi.c:84: error: 'MPI_Status' undeclared (first use in this function) Rmpi.c:84: error: expected expression before ')' token Rmpi.c:84: error: expected ';' before 'R_chk_calloc' Rmpi.c:8...
2015 Apr 21
2
shlib problems with Intel compiler
....so Gif2R.o GifTools.o runfunc.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' Gif2R.o: In function `imwritegif': /tmp/RtmpEfnBsm/R.INSTALL17c3a7327d4fb/caTools/src/Gif2R.cpp:19: undefined reference to `R_chk_calloc' /tmp/RtmpEfnBsm/R.INSTALL17c3a7327d4fb/caTools/src/Gif2R.cpp:23: undefined reference to `R_chk_free' ... (many more R_* undefined references) For e1071: * installing to library ?/scratch3/BMC/co2/lib/R-3.1/x86_64-unknown-linux-gnu? * installing *source* package ?e1071? ... ** package ?e1...
2006 Jun 08
1
Problems Building R-2.3.1 on Alpha server ES40 running Tru64 V5.1B PK#5
...t/libjpeg/lib -L/opt/libpng/lib -L/opt/ncurses/lib -L/opt/zlib/lib -lncurses -ljpeg -lpng -lz -rpath /opt/libpng /lib:/opt/libjpeg/lib:/opt/ncurses/lib:/opt/gnu/lib:/usr/shlib:/opt/zlib /lib:/opt/R/lib -o MASS.so MASS.o lqs.o ld: Warning: Unresolved: exp fabs pow sqrt isnan Rf_error R_alloc Rprintf R_chk_calloc R_chk_free vmmin R_registerRoutines R_useDynamicSymbols log GetRNGstate PutRNGstate unif_rand R_rsort Rf_rPsort R_CheckUserInterrupt dqrsl_ dqrdc2_ make[3]: Leaving directory `/cluster/members/member0/tmp/R.INSTALL.OVYGvZ/VR/MASS/src' chmod: cannot access `/usr/ruby-deploy/swkits/RUBY/SOFTWARE/...
1999 Jul 12
0
Error is dynamivally loaded code
Changing from 0.64.1 to 0.64.2 is causing some dynamically-loaded code to crash with the message: ld.so.1: /usr/local/lib/R/bin/R.binary: fatal: relocation error: file /homef/jonm/glib/ggg/libs/glmm.so: symbol R_chk_calloc: referenced symbol not found (I've added carriage returns) what am I doing wrong? Jonathan -- Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk MRC Biostatistics Unit Tel. 01223 330371 Institute of Public Health FAX 01223 330388 University Forvie Site Robinson Way...
2000 Mar 03
1
compiling R-1.0.0 on dec alpha (digital Unix 4.0)
I have tried compiling R on a dec alpha running digital unix 4.0 and got the following: f77 -shared -o ts.so PPsum.o burg.o eureka.o filter.o pacf.o starma.o stl.o carray.o mburg.o myw.o qr.o -lUfor -lfor -lFutil -lm -lots -lm ld: Warning: Unresolved: R_alloc R_NaReal R_IsNA R_IsNaNorNA R_chk_calloc R_chk_free Rf_error vmaxget vmaxset dqrdc2_ dqrcf_ mkdir ../../../../library/ts/libs gmake[4]: Leaving directory `/home/ming/R-1.0.0/src/library/ts/src' gmake[3]: Leaving directory `/home/ming/R-1.0.0/src/library/ts' gmake[3]: Entering directory `/home/ming/R-1.0.0/src/library/profile'...
2015 Apr 22
1
shlib problems with Intel compiler
...;> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o: In function `_start': >> (.text+0x20): undefined reference to `main' >> Gif2R.o: In function `imwritegif': >> /tmp/RtmpEfnBsm/R.INSTALL17c3a7327d4fb/caTools/src/Gif2R.cpp:19: undefined reference to `R_chk_calloc' >> /tmp/RtmpEfnBsm/R.INSTALL17c3a7327d4fb/caTools/src/Gif2R.cpp:23: undefined reference to `R_chk_free' >> ... (many more R_* undefined references) >> >> For e1071: >> >> * installing to library ?/scratch3/BMC/co2/lib/R-3.1/x86_64-unknown-linux-gnu? &g...
2015 Apr 22
0
shlib problems with Intel compiler
....o runfunc.o > /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o: In function `_start': > (.text+0x20): undefined reference to `main' > Gif2R.o: In function `imwritegif': > /tmp/RtmpEfnBsm/R.INSTALL17c3a7327d4fb/caTools/src/Gif2R.cpp:19: undefined reference to `R_chk_calloc' > /tmp/RtmpEfnBsm/R.INSTALL17c3a7327d4fb/caTools/src/Gif2R.cpp:23: undefined reference to `R_chk_free' > ... (many more R_* undefined references) > > For e1071: > > * installing to library ?/scratch3/BMC/co2/lib/R-3.1/x86_64-unknown-linux-gnu? > * installing *source*...
2015 Aug 14
2
Build R on Haiku
Hi R-devel, I'm trying to get R 3.2.1 working on Haiku (an open source OS inspired by BeOS, not Linux based) on i586. With a few small changes to library paths and ifdefs I am able to get a seemingly working R binary. The build process stops with the 'tools' package. The last lines from make are below. Does anyone have any tips? I'm rather new to debugging at this low level. Are
2004 Sep 13
6
Spare some CPU cycles for testing lme?
If anyone has a few extra CPU cycles to spare, I'd appreciate it if you could verify a problem that I have encountered. Run the code below and tell me if it crashes your R before completion. library(lme4) data(bdf) dump<-sapply( 1:50000, function(i) { fm <- lme(langPOST ~ IQ.ver.cen + avg.IQ.ver.cen, data = bdf, random = ~ IQ.ver.cen | schoolNR); cat("
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...ksmooth.o loessc.o bsplvd.o bvalue.o bvalus.o loessf.o ppr.o qsbart.o sbart.o sgram.o sinerp.o sslvrg.o stxwx.o -L/soft/readline/v4.2.1/lib -lreadline -ltermcap -lm -lUfor -lfor -lFutil -lots -lm_c32 -lmld -lexc ld: Warning: Unresolved: R_registerRoutines R_NaReal Rf_error Rf_warning R_alloc R_chk_calloc R_chk_free rwarn_ interv_ d1mach_ dsvdc_ dqrsl_ dqrdc_ ddot_ idamax_ dnrm2_ dblepr_ intpr_ R_finite Rprintf REprintf R_pow Rf_fsign dpbsl_ dpbfa_ mkdir -p -- ../../../../library/modreg/libs gmake[5]: Leaving directory `/soft/R/R-1.5.1/src/library/modreg/src' gmake[4]: Leaving directory `/soft/R...