[cairo] linux 2.4
tom at software6.net
Tue Jun 2 07:25:55 PDT 2009
Thank you. This did work. I just hardcoded what I needed. I had hoped
that I would go back and add the right autoconf magic and submit a
patch. But that has yet to happen. Again, thanks.
On Tue, May 26, 2009 at 10:08, Soeren Sandmann<sandmann at daimi.au.dk> wrote:
> Tom Vaughan <tom at software6.net> writes:
>> When compiling pixman 0.15.6 on Linux 2.14.19:
>> pixman-cpu.c:66:26: error: linux/auxvec.h: No such file or directory
>> pixman-cpu.c: In function 'pixman_have_vmx':
>> pixman-cpu.c:93: error: 'AT_HWCAP' undeclared (first use in this function)
>> pixman-cpu.c:93: error: (Each undeclared identifier is reported only once
>> pixman-cpu.c:93: error: for each function it appears in.)
>> pixman-cpu.c:97: error: 'AT_NULL' undeclared (first use in this function)
>> I've been able to compile previous versions. Has support for 2.4
>> kernels been dropped? If so, in what version?
> Support for PowerPC on Linux 2.4 was not deliberately dropped, but the
> more obscure the platform, the more likely it is that you'll have to
> keep it working yourself.
> In this case, the auxvec.h file apparently doesn't exist on 2.4 which
> means the check for Altivec instructions doesn't work
> there. Previously we would do a check for SIGILL, and the code for
> that is still around, so a simple fix might be to change this check:
> #elif defined (__linux__)
> to a check for (__linux__ && HAVE_AUXVEC_H) and adding a
> configure-time check for that file existing.
E-mail/Google Talk: tom (at) software6 (dot) net
Mobile: +1 (310) 704-0787
More information about the cairo