Linux::AIO 1.4 and Fedora Core 3
Pedro Melo Cunha
melo at isp.novis.pt
Sat Jan 29 09:07:25 PST 2005
Hi,
Linux::AIO does not compile in Fedora Core 3. It seems to be the same
problem that was present in core 2 and core 1:
http://lists.danga.com/pipermail/perlbal/2004-October/000016.html
The C construct that gives the error seems "strange C" to me, it seems
to be missing a ; at the end. I'm assuming that this is some C-voodoo
that I don't know about. Fedora Core 3 is using gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Maybe it's a problem with the compiler? Any other ideias?
Checking if your kit is complete...
Looks good
Writing Makefile for Linux::AIO
cp AIO.pm blib/lib/Linux/AIO.pm
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.5/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 -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32
-march=i386 -mtune=pentium4 -DVERSION=\"1.4\" -DXS_VERSION=\"1.4\"
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" AIO.c
AIO.xs: In function `aio_proc':
AIO.xs:247: error: syntax error before "int"
AIO.xs:290: error: too many arguments to function `pread64'
AIO.xs:291: error: too many arguments to function `pwrite64'
make: *** [AIO.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Best regards,
--
Pedro Melo Cunha - <melo at isp.novis.pt>
Novis Telecom, S.A. - Dir. Rede - ISP <http://www.novis.pt/>
Edifício Novis - Estrada da Outurela, 118 - 2795-606 Carnaxide
tel: +351 21 0104340 - fax: +351 21 0104301
More information about the perlbal
mailing list