Subject: | Bug in Apache::Mmap |
Hi!
i'm trying to install Apache::Mmap (0.05) about an Apache 1.3.26, perl
5.6.1 and operative system Linux, debian, kernel 2.4.26
when i do 'make' i get an error like this:
cc -c -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC -I/usr/lib/perl/5.6.1/CORE Mmap.c
Mmap.xs: In function `XS_Apache__Mmap_STORE':
Mmap.xs:238: `na' undeclared (first use in this function)
Mmap.xs:238: (Each undeclared identifier is reported only once
Mmap.xs:238: for each function it appears in.)
make: *** [Mmap.o] Error 1
I have seen the documentation, and I've found two bugs, one of them is the error that I get when I compile. I haven't seen solution for this
bug, (I don't know if it exists)
Do you know why fail or any other solution for this error? Maybe declare the variable 'na' with an 'extern'??
I have put the line 'extern size_t na' and it seems to work but I don't know if this is right or could to generate any other problem.
Please, I hope your response.
A lot of thanks and regards,
--
M. Soledad Escolar Díaz
UNIVERSIDAD CARLOS III DE MADRID
Avda. de la Universidad, 30
28911 Leganés (Madrid), SPAIN
e-mail: sescolar@arcos.inf.uc3m.es
Phone:(+34) 916249104