help-cfengine
[Top][All Lists]
Advanced

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

Compiling 2.1.18 on HP-UX


From: Ogden, Kenneth
Subject: Compiling 2.1.18 on HP-UX
Date: Tue, 3 Jan 2006 11:13:49 -0500

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






reply via email to

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