help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling 2.1.18 on HP-UX


From: Mark Burgess
Subject: Re: Compiling 2.1.18 on HP-UX
Date: Tue, 03 Jan 2006 19:07:49 +0100

Someone recently sent me a patch for HPUX compilation which I applied.
Can someone figure out what is missing and let me know?

M

On Tue, 2006-01-03 at 11:13 -0500, Ogden, Kenneth wrote:
> While attempting to compile 2.1.18 on HP-UX, I get the following error
> message.      
> 
>         source='proto.c' object='proto.o' libtool=no \
>         DEPDIR=.deps depmode=hp /bin/sh ../depcomp \
>         cc -DHAVE_CONFIG_H -I. -I. -I.
> -I/usr/local/BerkeleyDB.4.3/include -I/usr/local/ssl/include
> -D_REENTRANT   -I/opt/dce/include  -D_REENTRANT  -g
> -I/usr/local/BerkeleyDB.4.3/include   -D_REENTRANT  -g
> -I/usr/local/BerkeleyDB.4.3/include -c proto.c
> 
> cc: "proto.c", line 66: error 1574: Unknown size for "myaddr".
> cc: "proto.c", line 123: error 1530: Undefined struct or union.
> cc: "proto.c", line 123: error 1555: Address operator requires an
> lvalue.
> cc: "proto.c", line 124: error 1530: Undefined struct or union.
> cc: "proto.c", line 124: error 1594: The sizeof operator cannot be
> applied to types with unknown size.
> 
> 
> Section of proto.c mentioned:
> 
> int IdentifyForVerification(int sd,char *localip,int family)
> 
> { char sendbuff[CF_BUFSIZE],dnsname[CF_BUFSIZE];
>   struct sockaddr_in6 myaddr;
>   struct in_addr *iaddr;
>   struct hostent *hp;
> 
> 
> Thanks,
> 
> Ken
> 
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-cfengine





reply via email to

[Prev in Thread] Current Thread [Next in Thread]