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

Agustin Lobo alobo at ija.csic.es
Fri Oct 19 10:33:23 CEST 2001


On Thu, 18 Oct 2001, Richards, Tom wrote:

> Dear Agus:
> 
> Will you please respond always to the list on this, as I am having many
> problems with gcc/mingw32 right now, too.  Do you have mingw-1.1?
> 
> Thanks.
> Tom

Yes, MinGW-1.1.tar.gz, following the link included
in www.stats.ox.ac.uk/pub/Rtools and unpacking
with tar zxvf MinGW-1.1.tar.gz

Agus


> -----Original Message-----
> From: Peter Dalgaard BSA [mailto:p.dalgaard at biostat.ku.dk]
> Sent: Thursday, October 18, 2001 1:41 PM
> To: Agustin Lobo
> Cc: r-help
> Subject: Re: [R] Rcmd SHLIB in rw1031 (R for Win)
> 
> 
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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