Re: Prototype mismatch

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAC0_be10rSvapKwGiQQj1AYUi7oaGGkLjyOk2pG-x2Z2wUn7mg@mail.gmail.com>
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 <[email protected]>
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?
>        [email protected] 021-1680650, (03) 4821804
>                           Aotearoa (New Zealand)
>                              I voted for love
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.