You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jason Liu <jl...@corp.phone.com> on 2000/11/01 15:22:49 UTC

prototype mismatch in Socket.pm

Hi,

I got the following prototype mismatch error when starting up Apache.  Has
anyone seen this before?

Prototype mismatch: sub Socket::INADDR_ANY vs () at
/usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 328.
Prototype mismatch: sub Socket::INADDR_BROADCAST vs () at
/usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 329.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
/usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 330.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
/usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 331.
[Wed Nov  1 13:05:26 2000] [notice] Apache/1.3.14 (Unix) mod_perl/1.24_01
configured -- resuming normal operations


Jason


Re: prototype mismatch in Socket.pm

Posted by "G.W. Haywood" <ge...@www.jubileegroup.co.uk>.
Hi there,

On Wed, 1 Nov 2000, Jason Liu wrote:

> I got the following prototype mismatch error when starting up Apache.  Has
> anyone seen this before?
 
No, but I wonder if you built your Perl as well as your mod_perl?

73,
Ged.


Re: prototype mismatch in Socket.pm

Posted by Bill McCabe <df...@mediaone.net>.
At 6:22 AM -0800 11/1/00, Jason Liu wrote:
>Hi,
>
>I got the following prototype mismatch error when starting up Apache.  Has
>anyone seen this before?
>
>Prototype mismatch: sub Socket::INADDR_ANY vs () at
>/usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 328.
>Prototype mismatch: sub Socket::INADDR_BROADCAST vs () at
>/usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 329.
>Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
>/usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 330.
>Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
>/usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 331.
>[Wed Nov  1 13:05:26 2000] [notice] Apache/1.3.14 (Unix) mod_perl/1.24_01
>configured -- resuming normal operations
>
>
>Jason

I get this on my system as well (RH linux 6.1/perl 5.6.0/Apache
1.3.12/mod_perl 1.24). Perl, Apache, and mod_perl are all non-RPM versions,
built by me. I haven't spent much time trying to track down the cause of
it, since it seems to mostly work. I guess I assumed it had to do with perl
5.6.0, which I was planning to downgrade in order to eliminate some odd
behaviors with Mason.

Bill