cpan Linux::AIO 1.3 broken (fwd)
Pedro Figueiredo
pfig at co.sapo.pt
Mon Oct 25 13:14:02 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
i still get the same errors after applying the patch:
[pfig at tux Perlbal-1.01]$ cd Linux-AIO-1.3
[pfig at tux Linux-AIO-1.3]$ perl Makefile.PL
WARNING: This module is architecture-dependent and currently only
tested on
little-endian 32-bit architectures. 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
[pfig at tux Linux-AIO-1.3]$ patch < ../AIO.xs.patch
patching file AIO.xs
[pfig at tux Linux-AIO-1.3]$ make
cp AIO.pm blib/lib/Linux/AIO.pm
/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.3/ExtUtils/typemap AIO.xs > AIO.xsc && mv AIO.xsc
AIO.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
- -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
- -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386
- -mcpu=i686 -DVERSION=\"1.3\" -DXS_VERSION=\"1.3\"
"-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE" AIO.c
AIO.xs: In function `aio_proc':
AIO.xs:247: error: syntax error before "int"
AIO.xs:296: error: too many arguments to function `pread64'
AIO.xs:297: error: too many arguments to function `pwrite64'
make: *** [AIO.o] Error 1
this is on fedora core 2 with kernel 2.6.5-1-smp
one thing that's bothering me is why the compiler is entering the
64-bit branch with pread64 and pwrite64, since i'm on a 32-bit machine
(quad xeon).
cheers,
pedro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
iD8DBQFBfV6LuoJcYOTLmGYRAvGNAKDXy973mBmuLkrOox57aT+XCeqseACgxvN2
8B9Q/Tx9K3gpEfhkzbMKHXI=
=bUeD
-----END PGP SIGNATURE-----
More information about the perlbal
mailing list