Forum: CFEngine Help Subject: Unable to 'make' CFE 3 on AIX (compiler errors) Author: maxmackie Link to topic: https://cfengine.com/forum/read.php?3,22734,22734#msg-22734
I successfully run the configuration script and proceed to make CFE: # make Making all in pub CC getopt.lo CC getopt1.lo CC snprintf.lo CC getloadavg.lo CC strlcat.lo CC strlcpy.lo CCLD libcfpub.la Target "all" is up to date. Making all in src YACC cf3parse.c conflicts: 4 shift/reduce updating cf3parse.h make all-am CC libpromises_la-cf3parse.lo LEX cf3lex.c CC libpromises_la-cf3lex.lo In file included from cf.defs.h:210, from cf3.defs.h:36, from cf3lex.l:32: /usr/include/unistd.h:201: error: conflicting types for 'lseek64' /usr/include/unistd.h:199: error: previous declaration of 'lseek64' was here In file included from /usr/include/unistd.h:822, from cf.defs.h:210, from cf3.defs.h:36, from cf3lex.l:32: /usr/include/sys/lockf.h:64: error: conflicting types for 'lockf64' /usr/include/sys/lockf.h:62: error: previous declaration of 'lockf64' was here In file included from cf.defs.h:210, from cf3.defs.h:36, from cf3lex.l:32: /usr/include/unistd.h:895: error: conflicting types for 'ftruncate64' /usr/include/unistd.h:893: error: previous declaration of 'ftruncate64' was here /usr/include/unistd.h:952: error: conflicting types for 'truncate64' /usr/include/unistd.h:950: error: previous declaration of 'truncate64' was here /usr/include/unistd.h:971: error: conflicting types for 'pread64' /usr/include/unistd.h:968: error: previous declaration of 'pread64' was here /usr/include/unistd.h:972: error: conflicting types for 'pwrite64' /usr/include/unistd.h:969: error: previous declaration of 'pwrite64' was here /usr/include/unistd.h:1057: error: conflicting types for 'fclear64' /usr/include/unistd.h:1054: error: previous declaration of 'fclear64' was here /usr/include/unistd.h:1058: error: conflicting types for 'fsync_range64' /usr/include/unistd.h:1055: error: previous declaration of 'fsync_range64' was here make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 1. Stop. I saw that this issue was coming up a fair bit with a beta release of CFE 3, also on AIX. However, I'm currently running AIX 7.1 Thanks in advanced for your help. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine