Skip Menu |

This queue is for tickets about the Net-NIS CPAN distribution.

Report information
The Basics
Id: 5811
Status: new
Priority: 0/
Queue: Net-NIS

People
Owner: Nobody in particular
Requestors: tdyboc [...] insight.rr.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Compile Error AIX 4.3.3/5.1
This is perl, v5.8.2 built for aix with Net-NIS-0.34 I get the following error when running make on either AIX 4.3.3 or 5.1. I have also tried the previous 0.33 release and also with perl v5.6 and also tried gcc. Any thoughts as to what is causing this compile error using "C for AIX compiler, version 5"? /usr/vac/bin/cc -c -qnolm -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"0.34\" -DXS_VERSION=\"0.34\" "-I/gpfs/cst/ut il/prd/lib/perl5/5.8.2/aix/CORE" NIS.c "NIS.xs", line 222.46: 1506-226 (S) The ":" operator is not allowed between "unsigned char[1]" and "int". "NIS.c", line 588.16: 1506-068 (W) Operation between types "unsigned char*" and "int" is not allowed. make: 1254-004 The error code from the last command is 1.
I hate AIX. It has a long-standing typo in one of its .h files. The following patch has resolved the problem for other people: --- NIS.xs.orig Wed Mar 19 08:55:20 2003 +++ NIS.xs Mon Oct 6 13:36:41 2003 @@ -14,6 +14,8 @@ #include "perl.h" #include "XSUB.h" +extern char *yperr_string(int); + /* ** The *THX_ macros seem to be 5.6 and above. ** Unfortunately I don't have access to AIX, and don't know how to write a portable version of that patch...