Rene Brun
Paul M. Eugenio wrote:
>
> Dear Root Users,
>
> I'm trying to build Root (Version 2.21/03) on a sun (uname -a =SunOS jlabs2 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-4) with egcs (gcc --version =egcs-2.91.57). I immediately run into errors in the make:
>
> ---------------------------------------------------------------------------
> jlabs2> gmake
> /work/halld/egcs_v1_1b_SunOS+5/bin/gcc -g -O -fPIC -DG__REGEXP1 -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -c CINT_g__cfunc.c
> In file included from /usr/include/fcntl.h:19,
> from CINT_g__cfunc.c:40:
> /usr/include/sys/fcntl.h:156: parse error before `off64_t'
> /usr/include/sys/fcntl.h:156: warning: no semicolon at end of struct or union
> /usr/include/sys/fcntl.h:157: warning: data definition has no type or storage class
> /usr/include/sys/fcntl.h:161: parse error before `}'
> /usr/include/sys/fcntl.h:161: warning: data definition has no type or storage class
> In file included from G__ci.h:169,
> from common.h:42,
> from CINT_g__cfunc.c:52:
> /usr/include/libgen.h:94: parse error before `off64_t'
> gmake: *** [CINT_g__cfunc.o] Error 1
> ---------------------------------------------------------------------------
>
> The Makefile that I'm using is Makesolarisegcs.mk which is provided
> in $ROOTSYS/src/.
>
> Has anyone run into a problem like this, and/or is there a workable fix. Special thanks to anyone who can help.
>
> --
> Paul M. Eugenio
> Dept. of Physics
> Carnegie Mellon University
> (412) 268 6949
> eugenio@ernest.phys.cmu.edu