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

Joel Rosdahl joel at rosdahl.net
Sun May 30 19:31:27 CEST 2010


Hi,

You have to use GCC to run the test suite since ccache doesn't work with
other compilers. I've fixed the pwd problem and some other
Solaris-related problems issues in test.sh and they will be part of the
next release.

-- Joel

On 2010-05-26 19:54, rupert THURNER wrote:
> great, that worked. do we have a trick to make the test script work as
> well? it contains "pwd" (which gives "trunk") to call the freshly
> compiled ccache (which is deep in th ework directory), so the result
> is:
> 
> 
> gmake[3]: Entering directory
> `/home/rupert/mgar/pkg/ccache/trunk/work/solaris9-sparc/build-isa-sparcv8/ccache-3.0pre1'
> CC='/opt/studio/SOS12/SUNWspro/bin/cc' ./test.sh
> starting testsuite base
> ./test.sh: /home/rupert/mgar/pkg/ccache/trunk/ccache: not found
> SUITE: "base", TEST: "" - Expected "cache hit (preprocessed)" to be 0, got
> ./test.sh: /home/rupert/mgar/pkg/ccache/trunk/ccache: not found
> TEST FAILED
> 
> 
> 
> On Tue, May 25, 2010 at 12:22, James Lee <james at opencsw.org> wrote:
>> 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.
>> _______________________________________________
>> maintainers mailing list
>> maintainers at lists.opencsw.org
>> https://lists.opencsw.org/mailman/listinfo/maintainers
>> .:: This mailing list's archive is public. ::.
>>



More information about the maintainers mailing list