Forum: CFEngine Help
Subject: Re: CFengine 3.2.0 beta 2 released
Author: bbomgardner
Link to topic: https://cfengine.com/forum/read.php?3,22862,22870#msg-22870

I'm running into an error compiling this version on hp-ux.  Any ideas?


gmake  all-am
gmake[2]: Entering directory `/home/admin/cfengine_build/cfengine-3.2.0b2/src'
  CC     libpromises_la-cf3parse.lo
Warning 129: "cf.defs.h", line 78 # Redefinition of macro '_SYS_NMLN' differs 
from previous definition at ["/usr/include/limits.h", line 331].
    #define _SYS_NMLN       257
            ^^^^^^^^^
Error 42: "cf.defs.h", line 372 # ANSI C requires same function declarations to 
have compatible types. Previous function declaration was "char
    *strstr(const char *,const char *)" ["/usr/include/string.h", line 97].
    char *strstr (char *s1,char *s2);
          ^^^^^^
Error 42: "cf.defs.h", line 375 # ANSI C requires same function declarations to 
have compatible types. Previous function declaration was "char
    *strdup(const char *)" ["/usr/include/string.h", line 328].
    char *strdup (char *str);
          ^^^^^^
Error 42: "cf.defs.h", line 378 # ANSI C requires same function declarations to 
have compatible types. Previous function declaration was "char
    *strrchr(const char *,int)" ["/usr/include/string.h", line 96].
    char *strrchr (char *str,char ch);
          ^^^^^^^
Error 42: "cf.defs.h", line 387 # ANSI C requires same function declarations to 
have compatible types. Previous function declaration was "int
    putenv(const char *)" ["/usr/include/stdlib.h", line 339].
    int putenv  (char *s);
        ^^^^^^
gmake[2]: ***  Error 1
gmake[2]: Leaving directory `/home/admin/cfengine_build/cfengine-3.2.0b2/src'
gmake[1]: ***  Error 2
gmake[1]: Leaving directory `/home/admin/cfengine_build/cfengine-3.2.0b2/src'
gmake: ***  Error 1


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

Reply via email to