SUMMARY: Perl Kstat: Module won't compile.

From: Scot Needy <scot.needy_at_corp.infi.net>
Date: Tue Apr 30 2002 - 23:26:00 EDT
This problem was fixed on all systems by downgrading to 
Perl  5.005_03. The problem seems to be focused around 
changes to the perl header file XSUB.h in 5.6 and up 

http://www.perldoc.com/perl5.6/pod/perlxstut.html



On Tue, 2002-04-30 at 14:52, scotrn wrote:
> Guess a subject would help 
> 
> On Tue, 2002-04-30 at 14:49, scotrn wrote:
> > 
> > Hi; 
> >  
> >  From my recent readings in SysAdmin i have been trying to compile the 
> > Perl Kstat module with no luck. Has anyone else gotten this to work ? 
> > 
> > Can't find any info on the net other than what SysAdmin published and 
> > CPAN. 
> > 
> > gcc version 2.8.1
> > perl, v5.6.0 built for sun4-solaris
> > SunOS 5.6 Generic_105181-21 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
> > 
> > Thanks 
> > Scot 
> > 
> 
> 
> Output of error 
> gcc -c -Iinclude -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/local/include -O      -DVERSION=\"0.02\" 
> -DXS_VERSION=\"0.02\" -fPIC
> -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE -D__SunOS_5_6 Kstat.c
> Kstat.c: In function `XS_Solaris__Kstat_new':
> Kstat.c:579: `na' undeclared (first use in this function)
> Kstat.c:579: (Each undeclared identifier is reported only once
> Kstat.c:579: for each function it appears in.)
> Kstat.xs: In function `XS_Solaris__Kstat__Stat_FETCH':
> Kstat.xs:762: `sv_undef' undeclared (first use in this function)
> Kstat.xs: In function `XS_Solaris__Kstat__Stat_EXISTS':
> Kstat.xs:797: `na' undeclared (first use in this function)
> Kstat.xs: In function `XS_Solaris__Kstat__Stat_DELETE':
> Kstat.xs:847: `sv_undef' undeclared (first use in this function)
> *** Error code 1
> make: Fatal error: Command failed for target `Kstat.o'
> Current working directory /Solaris-0.05/Kstat
> *** Error code 1
> make: Fatal error: Command failed for target `subdirs'
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu May 2 22:21:18 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:42 EST