[R] Building R under gnumake 3.75, Solaris 2.6

John Maindonald john.maindonald at anu.edu.au
Thu Mar 18 02:52:55 CET 1999

./configure works fine.  make generates the error

gcc -g -O2 -I../include -I../../src/include  -c saveload.c -o saveload.o
In file included from /usr/include/sys/turnstile.h:12,
                 from /usr/include/sys/t_lock.h:20,
                 from /usr/include/sys/vnode.h:37,
                 from /usr/include/sys/stream.h:21,
                 from /usr/include/netinet/in.h:38,
                 from /usr/include/rpc/auth_kerb.h:14,
                 from /usr/include/rpc/rpc.h:39,
                 from saveload.c:269:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:187: warning: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the previous definition
In file included from /usr/include/sys/stream.h:26,
                 from /usr/include/netinet/in.h:38,
                 from /usr/include/rpc/auth_kerb.h:14,
                 from /usr/include/rpc/rpc.h:39,
                 from saveload.c:269:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
make[2]: *** [saveload.o] Error 1
make[2]: Leaving directory `/home/johnm/packages/R-0.63.3/src/main'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/home/johnm/packages/R-0.63.3/src'
make: *** [R] Error 1

Clearly the error is generated by /usr/include/sys/model.h

Any insight on what we need to do would be welcome.

John Maindonald               email : john.maindonald at anu.edu.au        
Statistical Consulting Unit,  phone : (6249)3998        
c/o CMA, SMS,                 fax   : (6249)5549  
John Dedman Mathematical Sciences Building
Australian National University
Canberra ACT 0200
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