Menu

Possibly unrelated problem

Help
Anonymous
2000-12-30
2000-12-30
  • Anonymous

    Anonymous - 2000-12-30

    I have a problem that is probably unrelated to this program.  I am using Redhat 7 (with all the updates).

    When I try to install the IPC-SysV-1.03 module, the compile bombs.  After I uncompress and extract the files, and after I enter 'perl Configure.PL' then 'make' I get the following messages:

    gcc -c  -fno-strict-aliasing -O2 -march=i386 -mcpu=i686     -DVERSION=\"1.03\"
    -DXS_VERSION=\"1.03\" -fPIC -I/usr/lib/perl5/5.6.0/i386-linux/CORE  SysV.c
    SysV.xs: In function `XS_IPC__SysV_ftok':
    SysV.xs:192: `sv_undef' undeclared (first use in this function)
    SysV.xs:192: (Each undeclared identifier is reported only once
    SysV.xs:192: for each function it appears in.)
    make: *** [SysV.o] Error 1

    I can still stream music using webplay, but I don't get any control functions.  Any help would be appreciated.

    Thanks!

     
    • david reuteler

      david reuteler - 2000-12-30

      ahh, here's one for the faq.

      SysV.xs, line 192
      ST(0) = k == (key_t) -1 ? &sv_undef : sv_2mortal(newSViv(k));

      change sv_undef to PL_sv_undef
      ST(0) = k == (key_t) -1 ? &PL_sv_undef : sv_2mortal(newSViv(k));

      that's from memory, all disclaimers apply.  it passed tests, tho.

       
    • Anonymous

      Anonymous - 2000-12-30

      This worked like a charm.  Thanks David!!

      By the way, webplay really kicks ass!  I use it all the time when I'm at work.

       

Log in to post a comment.

MongoDB Logo MongoDB