On Sat, 2002-03-09 at 07:29, Ed Allen Smith wrote:
>
> 
>         /usr/sbin/perl -I/usr/share/lib/perl5/5.6.0/IP30-R12000-irix 
>-I/usr/share/lib/perl5/5.6.0 /usr/share/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap 
>/usr/share/lib/perl5/5.6.0/ExtUtils/typemap Utmp.xs > Utmp.xsc && mv Utmp.xsc Utmp.c
>         cc -n32 -mips4 -TARG:platform=ip30 -c  -D_BSD_TYPES -D_BSD_TIME -woff 
>1009,1110,1184 -DLANGUAGE_C -I/server/people/staff/easmith/include -DDEBUGGING 
>-r12000 -O3 -OPT:fast_sqrt=OFF:Olimit=0 -TENV:X=1 -LNO:opt=1:ou_further=3 
>-OPT:fold_unsafe_relops=OFF:div_split=OFF:IEEE_arithmetic=1:roundoff=0 -LNO:vintr=OFF 
>-OPT:got_call_conversion=OFF      -DVERSION=\"1.5\"  -DXS_VERSION=\"1.5\"  
>-I/usr/share/lib/perl5/5.6.0/IP30-R12000-irix/CORE  Utmp.c
> cc-1020 cc: ERROR File = Utmp.xs, Line = 400
>   The identifier "UT_HOSTSIZE" is undefined.
> 
>        static char ut_host[UT_HOSTSIZE];
>                            ^
> 
> cc-1174 cc: WARNING File = Utmp.c, Line = 407
>   The variable "self" was declared but never referenced.
> 
>         SV *    self = ST(0);
>                 ^
> 
> cc-1552 cc: WARNING File = Utmp.xs, Line = 400
>   The variable "ut_host" is set but never used.
> 
>        static char ut_host[UT_HOSTSIZE];
>                    ^

Oof!, is there any chance that you could send me your utmp.h (or the
appropriate bits if it is large) so I can see what changes I need to
make - unfortunately I don't have an Irix system to test this on :(

/J\
-- 
Jonathan Stowe                      |
<http://www.gellyfish.com>          |      This space for rent
                                    |

Reply via email to