[R] Rcmd SHLIB in rw1031 (R for Win)

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu Oct 18 19:41:00 CEST 2001


Agustin Lobo <alobo at ija.csic.es> writes:

> E:\rw1031\bin>Rcmd SHLIB e:/Rseg/test.c
> dlltool -k --as as   --dllname R.dll --def R.exp --output-lib libR.a
> gcc   -IE:/RW1031/src/include -include E:/RW1031/src/include/globalvar.h
> -Wall
> -O2   -c e:/Rseg/test.c -o e:/Rseg/test.o
> e:/Rseg/test.c:78: warning: `/*' within comment
> e:/Rseg/test.c: In function `printListElement':
> e:/Rseg/test.c:15: warning: unused variable `prova2'
> e:/Rseg/test.c:15: warning: unused variable `prova'
> e:/Rseg/test.c:14: warning: unused variable `s3'
> e:/Rseg/test.c:14: warning: unused variable `s2'
> e:/Rseg/test.c:14: warning: unused variable `s1'
> e:/Rseg/test.c:14: warning: unused variable `g3'
> e:/Rseg/test.c:14: warning: unused variable `g2'
> e:/Rseg/test.c:14: warning: unused variable `g1'
> e:/Rseg/test.c:9: warning: unused variable `names'
> rm -f -f e:/Rseg/test.a
> ar cr e:/Rseg/test.a *.o
> e:\RW1031\RWINT\BIN\ar.exe: *.o: No such file or directory
> make: *** [e:/Rseg/test.a] Error 1
> 
> 
> 
> I've checked, and ar.exe is in e:\RW1031\RWINT\BIN
> ...and test.a in e:/Rseg/

My guess is that either does you shell not expand *.o or test.o never
actually got made. Notice that it is *.o it cannot find. Is there
actually anything inside test.a?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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