Compiling for Solaris 2.5

Francesc Guasch frankie at etsetb.upc.es
Tue Oct 1 07:59:48 EDT 2002


James Greenhalgh wrote:
> On Tue, 01 Oct 2002 09:57:38 +0200
> Francesc Guasch <frankie at etsetb.upc.es> wrote:
> 
> Add #include <inet/arpa.h> to the includes in getaddrinfo.c
> 
I don't have this file, but I started using find and grep and
I've added this to getaddrinfo.c:

   #include <rpc/types.h>
   #include <rpc/clnt.h>
   #include <rpc/clnt_soc.h>

But now it complains like this:
   gcc -c -I..   -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \
   getaddrinfo.c
   In file included from getaddrinfo.c:71:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/3.2/include/rpc/clnt.h:110:
   field `RE_why' has incomplete type

In this file I see:
   enum auth_stat RE_why;  /* why the auth error occurred */

I can't find RE_why all over the filesystem and I'm stuck.
I know I'm close, please help me. Thank you .

-- 
frankie





More information about the Info-cyrus mailing list