I'm trying to port the pixman library to the gc/wii. I ran the configure script on the source using
Code: Select all
./configure --host=ppc
Code: Select all
powerpc-gekko-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPIXMAN_DISABLE_DEPRECATED -g -O2 -Wall -DGEKKO -mogc -mcpu=750 -meabi -mhard-float -g -O2 -Wall -fvisibility=hidden -MT libpixman_1_la-pixman-pict.lo -MD -MP -MF .deps/libpixman_1_la-pixman-pict.Tpo -c pixman-pict.c -o libpixman_1_la-pixman-pict.o
pixman-pict.c:2048: error: expected declaration specifiers or '...' before 'siginfo_t'
pixman-pict.c: In function 'pixman_have_vmx':
pixman-pict.c:2056: error: 'SA_SIGINFO' undeclared (first use in this function)
pixman-pict.c:2056: error: (Each undeclared identifier is reported only once
pixman-pict.c:2056: error: for each function it appears in.)
pixman-pict.c:2058: error: 'struct sigaction' has no member named 'sa_sigaction'
pixman-pict.c:2059: warning: implicit declaration of function 'sigaction'
make: *** [libpixman_1_la-pixman-pict.lo] Error 1
Code: Select all
#include <signal.h>
#include <setjmp.h>
static jmp_buf jump_env;
static void vmx_test(int sig, siginfo_t *si, void *unused) {
longjmp (jump_env, 1);
}
Does anyone know why these might be undefined? Or does anyone have any ideas of what to try (besides defining those 2 things myself)?
Thanks.