[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20050125: problems building netcdf-perl on IRIX 6.5



Mary,

Your "make.log" file contained the following (cleaned-up for better 
viewing):

    /opt/MIPSpro/MIPSpro/usr/bin/cc -n32 -mips3 -c -I/usr/local/include \
        -D_BSD_SIGNALS -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 \
        -OPT:Olimit=0:space=ON -DLANGUAGE_C -DEMBEDMYMALLOC -O3 -mips3 \
        -DVERSION=\"1.2.3\"  -DXS_VERSION=\"1.2.3\"  \
        -I/usr/share/lib/perl5/irix-n32/5.00405/CORE  NetCDF.c
    [snip]
    cc-1164 cc: ERROR File = NetCDF.xs, Line = 824
      Argument of type "int" is incompatible with parameter of type "const void 
*".
                            (char*)data, SvPV_nolen(pv), (size_t)SvCUR(pv));
                                         ^

This indicates that the perl(1) module type "SvPV_nolen" isn't defined in
the header-file /usr/share/lib/perl5/irix-n32/5.00405/CORE/sv.h, which it
should be.

What's the output of the following command:

    grep SvPV_nolen /usr/share/lib/perl5/irix-n32/5.00405/CORE/sv.h

Regards,
Steve Emmerson