Forum: CFEngine Help
Subject: Re: Community 3.2.3 HP-UX 11.11 libpromises link problems
Author: mvpel
Link to topic: https://cfengine.com/forum/read.php?3,24735,24848#msg-24848

Wow, that was easy! I downloaded version 3.2.4, and the configure and build 
went through without any trouble, just a few GCC warnings:

gcc (GCC) 4.6.0
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

getopt.c: In function '_getopt_internal':
getopt.c:487:32: warning: incompatible implicit declaration of built-in 
function 'strlen' 
getopt.c:511:16: warning: incompatible implicit declaration of built-in 
function 'strlen' 
getopt.c:541:17: warning: incompatible implicit declaration of built-in 
function 'strlen' 
getopt.c:554:17: warning: incompatible implicit declaration of built-in 
function 'strlen' 
getopt.c:558:16: warning: incompatible implicit declaration of built-in 
function 'strlen' 

getloadavg.c:494:1: warning: no previous prototype for 'getloadavg' 
[-Wmissing-prototypes]

client_protocol.c: In function 'IdentifyAgent':
client_protocol.c:86:31: warning: passing argument 3 of 'getsockname' from 
incompatible pointer type 
/opt/hp-gcc-4.6.0/lib/gcc/hppa1.1-hp-hpux11.11/4.6.0/include-fixed/sys/socket.h:454:15:
 note: expected 'socklen_t *' but argument is of type 'int *'

server.c: In function 'StartServer':
server.c:416:38: warning: passing argument 3 of 'accept' from incompatible 
pointer type 
/opt/hp-gcc-4.6.0/lib/gcc/hppa1.1-hp-hpux11.11/4.6.0/include-fixed/sys/socket.h:450:15:
 note: expected 'socklen_t *' but argument is of type 'int *'

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to