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

20000630: IRIX 6.5 system with perl 5.6.0: "na" undefined



Matthew,

>Date: Fri, 30 Jun 2000 11:35:13 -0500 (CDT)
>From: Matthew Maschmann <address@hidden>
>Organization: ?
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20000630: IRIX 6.5 system with perl 5.6.0: "na" undefined
>Keywords: 200006281903.e5SJ3NT24283

In the above message, you wrote:

> Good morning.  I tried your suggestion of replacing all of the na values
> with Perl_na.  I have attached my make.log file.  It looks like almost the
> same error as before, only now Perl_na replaces na.  
> 
> Thanks,
> Matt
> 
> 
>       cc -n32 -c -I/usr/local/ldm/netcdf-3.4/include -D_BSD_TYPES -D_BSD_TIME 
> -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/local/include 
> -DLANGUAGE_C -O3      -DVERSION=\"1.2\"  -DXS_VERSION=\"1.2\"  
> -I/usr/local/lib/perl5/5.6.0/IP32-irix/CORE  NetCDF.c
> cc-1047 cc: WARNING File = /usr/include/assert.h, Line = 44
>   Macro "assert" (declared at line 2049 of
>           "/usr/local/lib/perl5/5.6.0/IP32-irix/CORE/perl.h") has an
>           incompatible redefinition.
> 
>   #define assert(EX)  ((EX)?((void)0):__assert( # EX , __FILE__, __LINE__))
>           ^
> 
> cc-1164 cc: WARNING File = NetCDF.xs, Line = 824
>   Argument of type "char *" is incompatible with parameter of type "STRLEN *".
> 
>                   (void) memcpy((char*)data, SvPV(pv, Perl_na), 
> (size_t)SvCUR(pv));
>                                              ^
> 
> cc-1185 cc: WARNING File = NetCDF.xs, Line = 889
>   An enumerated type is mixed with another type.
> 
>       vec->type = 0;
>                 ^
> 
> cc-1185 cc: WARNING File = NetCDF.xs, Line = 1051
>   An enumerated type is mixed with another type.
> 
>       vec->type = 0;
>                 ^
> 
> cc-1116 cc: WARNING File = NetCDF.xs, Line = 1444
>   Non-void function "rec_initnc" (declared at line 1380) should return a 
> value.
> 
>   }
>   ^
> 
> cc-1020 cc: ERROR File = NetCDF.c, Line = 1782
>   The identifier "Perl_na" is undefined.
> 
>       char *  name = (char *)SvPV(ST(0),Perl_na);

OK.  I'll have to investigate the problem here, which means we'll have
to upgrade our perl to version 5.6 (to match yours).  I'll keep you
apprised.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>