[csw-maintainers] Fwd: [ccache] solaris compile error

James Lee james at opencsw.org
Tue May 25 12:22:14 CEST 2010


On 24/05/10, 21:18:07, rupert THURNER <rupert at opencsw.org> wrote regarding
[csw-maintainers] Fwd: [ccache] solaris compile error:

> ---------- Forwarded message ----------
> From: Joel Rosdahl <joel at rosdahl.net>
> Date: Mon, May 24, 2010 at 22:07
> Subject: Re: [ccache] solaris compile error
> To: "rupert.thurner" <rupert.thurner at gmail.com>
> Cc: ccache at lists.samba.org


> > gmake[3]: Entering directory `/home/rupert/mgar/pkg/ccache/trunk/work/
> > solaris9-sparc/build-isa-sparcv8/ccache-3.0pre1'
> > /opt/studio/SOS12/SUNWspro/bin/cc -xO3 -m32 -xarch=v8 -xnorunpath -O -
> > I/opt/csw/include -I. -c -o util.o util.c
> > "util.c", line 68: incomplete struct/union/enum timeval: tv
> > "util.c", line 71: warning: implicit function declaration:
> > gettimeofday

config.h.in defines _XOPEN_SOURCE which is preventing the use of struct
timeval tv and gettimeofday().  Try adding "#define __EXTENSIONS__".



James.


More information about the maintainers mailing list