Xymon Mailing List Archive search

problem compiling HP-UX 11.11 using gcc

list Henrik Størner
Mon, 26 Jun 2006 16:54:33 +0200
Message-Id: <user-5d4a82f765c6@xymon.invalid>

On Mon, Jun 26, 2006 at 07:10:57AM -0700, Mike Arnold wrote:
Looks like your HP-UX compiler cannot find the definition of the
RPC service entry structure "rpcent". This is usually defined in either
the <netdb.h> or <rpc/netdb.h> file.
[mike at hpux11i-hppa ~]$ grep -A5 "struct rpcent" /usr/include/netdb.h
struct rpcent {
        char    *r_name;        /* name of server for this rpc program */
        char    **r_aliases;    /* alias list */
        int     r_number;       /* rpc program number */
};
[snip]

[mike at hpux11i-hppa ~]$ ls -l /usr/include/netdb.h /usr/include/rpc/rpcent.h
/usr/include/rpc/rpcent.h not found
-r--r--r--   1 bin        bin          20638 Oct 20  2004 /usr/include/netdb.h
This looks perfectly OK. So why won't the Hobbit compile pick it up ?
No idea, really.
I can arrange for access to the machine, if you would like.
Contact me off-list at user-ce4a2c883f75@xymon.invalid - ssh access is the easiest for
me.


Regards,
Henrik