Skip Menu |

This queue is for tickets about the Apache-Mmap CPAN distribution.

Report information
The Basics
Id: 8796
Status: new
Priority: 0/
Queue: Apache-Mmap

People
Owner: Nobody in particular
Requestors: sescolar [...] arcos.inf.uc3m.es
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



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
[guest - Thu Dec 9 07:13:52 2004]: Show quoted text
> 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'??
This module is rather old and was written before 5.6. See perldoc ExtUtils::MakeMaker for the documentation on POLLUTE: POLLUTE Release 5.005 grandfathered old global symbol names by providing pre- processor macros for extension source compatibility. As of release 5.6, these preprocessor definitions are not available by default. The POLLUTE flag specifies that the old names should still be defined: perl Makefile.PL POLLUTE=1 You may also want to look into Sys::Mmap which is actively being maintained and should work under Apache just fine. http://search.cpan.org/~swalters/Sys-Mmap-0.13/