perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <phark...@gmail.com>
Subject Re: Prototype mismatch
Date Thu, 20 Nov 2014 15:17:55 GMT
Hi Worik,

This happens when you reload code that uses prototypes. In this case, those
constants are using prototypes. It's similar to this:
http://perl.apache.org/docs/1.0/guide/troubleshooting.html#Constant_subroutine_XXX_redefined

Not really a problem, but it will not happen if you stop and start your
server instead of reloading code in a running interpreter.

- Perrin

On Mon, Nov 17, 2014 at 6:26 PM, Worik Stanton <worik.stanton@gmail.com>
wrote:

> I get the following messages in my apache2/error.log when I restart.
> Why is that?  What steps should I take to diagnose the problem?
>
> The line in the script where this ocures says:
>
> use FileHandle;
>
>
> cheers
> Worik
>
>
> Prototype mismatch: sub Apache::AdMachine::Track::LOCK_UN: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::LOCK_NB: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::SEEK_END: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::LOCK_EX: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::LOCK_SH: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::_IOFBF: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::_IOLBF: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::_IONBF: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::FD_CLOEXEC: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::F_DUPFD: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::F_EXLCK: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::F_GETFD: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::F_GETFL: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::F_GETLK: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::F_GETLK64: none vs ()
> Prototype mismatch: sub Apache::AdMachine::Track::F_GETOWN: none vs ()
>
> --
> Why is the legal status of chardonnay different to that of cannabis?
>        worik.stanton@gmail.com 021-1680650, (03) 4821804
>                           Aotearoa (New Zealand)
>                              I voted for love
>
>

Mime
View raw message