R-beta: Re: Compile error; R-0.60.1, Solaris 2.6, gcc 2.7.2.1

Jens Lund jlund at dina.kvl.dk
Wed Dec 17 11:16:49 CET 1997


Hi again

On Sat, 13 Dec 1997, Jens Lund wrote:
> I have just downloaded the R-0.60.1 sources and have problems compiling R
> on a Sun Ultra 1 running Solaris 2.6 and gcc 2.7.2.1.
[snip]
Output from make:
> gcc -g -I../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:243:
> /pack/gcc-2.7.1/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/sys/param.h:185:
                                               ^^^
Note!

> 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:243:
> /usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
> make[2]: *** [saveload.o] Error 1
> make[2]: Leaving directory `/home/user_14/jlund/src/R-0.60.1/src/main'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/home/user_14/jlund/src/R-0.60.1/src'
> make: *** [install] Error 2
> poisson:~/src/R-0.60.1/> 

I have now realized, that it seems like our gcc compiler is not correctly
configured for solaris 2.6. I will talk to my sysadmin about it. In the
mean time, I successfully compiled this version of R on a solaris 2.5.1
machine :-)

> I am not on the list, so please answer me directly too.

Jens

---
Jens Lund
Ph.D. student in statistics
The Royal Veterinary & Agricultural University, Denmark
Please see http://www.dina.kvl.dk/~jlund for further information

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