I'm using ActivePerl with Win98.  I'm trying to run an irc deamon which is
written in perl, but I'm getting a weird error message.  The author of the irc
deamon has not answered my inquiries.  Here's what happens:


:\IRC\pircd>perl pircd
Ripe and ready to the eye...
Your vendor has not defined Fcntl macro F_GETFL, used at pircd line 317.

Line 1 is where I start the irc deamon script.
Line 2 is the irc deamon running.
Line 3 occurs ONLY when I try to connect to the ircd with mIRC.


Searching for the error message, I found that it does not come from the ircd 
script itself, but rather from Fcntl.pm.  I'll paste the code that includes 
the error message here to save you folks time.


sub AUTOLOAD {
    (my $constname = $AUTOLOAD) =~ s/.*:://;
    my $val = constant($constname, 0);
    if ($! != 0) {
        if ($! =~ /Invalid/ || $!{EINVAL}) {
            $AutoLoader::AUTOLOAD = $AUTOLOAD;
            goto &AutoLoader::AUTOLOAD; F_GETFL
        }
        else {
            my ($pack,$file,$line) = caller;
            die "Your vendor has not defined Fcntl macro $constname, used at $file 
line $line.
";
        }
    }
    *$AUTOLOAD = sub { $val };
    goto &$AUTOLOAD;
}


Any ideas on how I can correct this?

Bompa
Dave Benware



-- 
New IRC network dedicated to democracy.
http://www.afreeirc.net/
irc.AFreeIRC.Net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to