Hi Jan,
It exists on mine:
% uname -a
AIX orange 2 5 000919934C00
% ls -l /usr/include/rpcsvc/nfs_prot.h
-r--r--r-- 1 bin bin 7014 Sep 15 2002 /usr/include/=20=
rpcsvc/nfs_prot.h
However, you're right it does compile fine without it, as do all =20
other platforms, so I just remove the include all together. Thanks.
On Apr 19, 2007, at 7:28 AM, Jan Kneschke wrote:
> Hi Doug,
>
> /usr/vac/bin/xlc ...
> "sigar/src/sigar_util.c", line 485.10: 1506-296 (S) #include file
> <rpcsvc/nfs_prot.h> not found.
>
> I'm on AIX 5.2 ppc32 and have neither a rpcsvc/nfs_prot.h nor a nfs/=20=
> nfs.h.
>
> A simple #ifndef _AIX fixes the problem for me:
>
> #ifdef SIGAR_HPUX
> #include <nfs/nfs.h>
> #else
> +#ifndef _AIX
> #include <rpcsvc/nfs_prot.h>
> +#endif
> #endif
>
> Sigar compiles nicely with that patch
>
> cheers,
> Jan
> --
> Jan Kneschke, Enterprise Tools Dev, MySQL GmbH, D-81373 M=FCnchen
> Radlkoferstr. 2, GF: Hans von Bell, Kaj Arn=F6 - HRB M=FCnchen 162140
>
>
|