Search found 2 matches

by BenStephenson
Sun Aug 07, 2011 7:31 pm
Forum: ZoneMinder 1.24.x
Topic: Bareword "PROT_READ" not allowed while "strict subs" in use
Replies: 2
Views: 1928

Re: Bareword "PROT_READ" not allowed while "strict subs" in

Many thanks jmbia. Changing the line below in Mapped.pm has fixed the above issue with Fedora 15.

Change to this:
my $mmap_addr = mmap( $mmap, $size, *PROT_READ|*PROT_WRITE,*MAP_SHARED, \*MMAP );

Used to be this:
my $mmap_addr = mmap( $mmap, $size, PROT_READ|PROT_WRITE, MAP_SHARED, \*MMAP );
by BenStephenson
Sat Aug 06, 2011 3:47 pm
Forum: ZoneMinder 1.24.x
Topic: Bareword "PROT_READ" not allowed while "strict subs" in use
Replies: 2
Views: 1928

Bareword "PROT_READ" not allowed while "strict subs" in use

OS: Fedora 15 Linux 2.6.38.8-35.fc15.x86_64 Zoneminder version: zoneminder-1.24.3-4.20110324svn3310.fc15.x86_64 Perl version: perl-5.12.4-159.fc15.x86_64 Installation method: yum Hello all. I hope someone might be kind enough to shed a little light on the problem below. I can see a number of similar ...