Re: Unable to install CCache on SunOS 5.10
Martin Pool <[email protected]> Thu, 23 Apr 2015 10:10:52 -0700
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <CAA9uavAQXuvK5a6Umze+uyj0AgeCbmRUwP=mpZf1cHM6macvGQ@mail.gmail.com> |
You're not doing anything wrong but there seems to be a portability shortcoming. Is there someone in your workplace who knows C and has access to this machine and can send a patch? On Wed, Apr 22, 2015 at 3:17 AM, Jeya Ganesh <[email protected]> wrote: > Hi Team, > > I am unable to install ccache on my SunOS mahine. My machine has SunOS 5.10 > - Generic_142900-15 sun4u sparc SUNW,SPARC-Enterprise. I tried the > following commands and getting the error as mentioned below. > > *> [sxxj1@dvcz7937:~/CCache/ccache-3.2.1]make* > make: Fatal error in reader: Makefile, line 69: Macro assignment on > dependency line > > >* gmake* > gcc -DHAVE_CONFIG_H -DSYSCONFDIR=/nfs/home02/sxxj1/CCache/ccache-3.2.1/etc > -I. -I. -g -O2 -Wall -W -c -o ccache.o ccache.c > In file included from system.h:28, > from ccache.h:4, > from ccache.c:22: > > /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:85: > parse error before `timestruc_t' > > /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:85: > warning: no semicolon at end of struct or union > > /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:86: > warning: data definition has no type or storage class > > /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:87: > parse error before `st_ctim' > > /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:87: > warning: data definition has no type or storage class > > /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/stat.h:92: > parse error before `}' > In file included from > > /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/sys/signal.h:110, > from > > /serve/public/unsupported/utils/lib/gcc-lib/sparc-sun-solaris2.3/2.7.2/include/signal.h:15, > from system.h:41, > from ccache.h: > . > . > .ccache.c:2566: warning: implicit declaration of function `putenv' > gmake: *** [ccache.o] Error 1 > > *>which make* > /usr/ccs/bin/make > *>which gmake* > /serve/public/unsupported/utils/bin/gmake > > > Please let me know where I am doing mistake and assist me in solving this > issue. > > Thanks. > S. Jeya Ganesh > _______________________________________________ > ccache mailing list > [email protected] > https://lists.samba.org/mailman/listinfo/ccache > -- Martin