WARNING: This module is architecture-dependent and will not likely work on lesser-used architectures (see Changes). If the module (esp. aio_read and aio_write) doesn't work, please report this and I'll fix it for you. I promise ;) Checking if your kit is complete... Looks good Writing Makefile for Linux::AIO cp AIO.pm blib/lib/Linux/AIO.pm /Users/cpanrun/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/typemap AIO.xs > AIO.xsc && mv AIO.xsc AIO.c gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -O3 -DVERSION=\"1.9\" -DXS_VERSION=\"1.9\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" AIO.c AIO.xs:13:20: error: endian.h: No such file or directory AIO.xs: In function 'start_thread': AIO.xs:77: error: 'CLONE_VM' undeclared (first use in this function) AIO.xs:77: error: (Each undeclared identifier is reported only once AIO.xs:77: error: for each function it appears in.) AIO.xs:77: error: 'CLONE_FS' undeclared (first use in this function) AIO.xs:77: error: 'CLONE_FILES' undeclared (first use in this function) AIO.xs:246:26: error: linux/unistd.h: No such file or directory AIO.xs:247:25: error: linux/types.h: No such file or directory AIO.xs:248:23: error: sys/prctl.h: No such file or directory AIO.xs: In function 'aio_proc': AIO.xs:285: error: '__kernel_size_t' undeclared (first use in this function) AIO.xs:285: error: parse error before 'unsigned' AIO.xs:291: error: parse error before 'long' AIO.xs:296: error: parse error before 'long' AIO.xs:308: error: '__kernel_ssize_t' undeclared (first use in this function) AIO.xs:308: error: 'pread64' undeclared (first use in this function) AIO.xs:308: error: parse error before 'unsigned' AIO.xs:323:3: error: #error "neither stat64 nor stat defined" AIO.xs:328: error: 'PR_SET_PDEATHSIG' undeclared (first use in this function) AIO.xs:13:20: error: endian.h: No such file or directory AIO.xs:24:1: warning: "STACKSIZE" redefined In file included from /Developer/SDKs/MacOSX10.4u.sdk/usr/include/machine/param.h:30, from /Developer/SDKs/MacOSX10.4u.sdk/usr/include/sys/param.h:104, from /Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE/perl.h:448, from AIO.xs:4: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/ppc/param.h:53:1: warning: this is the location of the previous definition AIO.xs: In function 'start_thread': AIO.xs:77: error: 'CLONE_VM' undeclared (first use in this function) AIO.xs:77: error: (Each undeclared identifier is reported only once AIO.xs:77: error: for each function it appears in.) AIO.xs:77: error: 'CLONE_FS' undeclared (first use in this function) AIO.xs:77: error: 'CLONE_FILES' undeclared (first use in this function) AIO.xs:246:26: error: linux/unistd.h: No such file or directory AIO.xs:247:25: error: linux/types.h: No such file or directory AIO.xs:248:23: error: sys/prctl.h: No such file or directory AIO.xs: In function 'aio_proc': AIO.xs:285: error: '__kernel_size_t' undeclared (first use in this function) AIO.xs:285: error: parse error before 'unsigned' AIO.xs:291: error: parse error before 'long' AIO.xs:296: error: parse error before 'long' AIO.xs:308: error: '__kernel_ssize_t' undeclared (first use in this function) AIO.xs:308: error: 'pread64' undeclared (first use in this function) AIO.xs:308: error: parse error before 'unsigned' AIO.xs:323:3: error: #error "neither stat64 nor stat defined" AIO.xs:328: error: 'PR_SET_PDEATHSIG' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccGzVDBe.out (No such file or directory) make: *** [AIO.o] Error 1