Forum: CFEngine Help Subject: error building cfengine 3.1.5 under AIX w/ IBM xlc compiler Author: Jimbo Link to topic: https://cfengine.com/forum/read.php?3,24547,24547#msg-24547
Hi all, I'm trying to get a cfengine 3.1.5 RPM built under AIX 5.3 using the IBM xlc compiler version 9. I'm using the .spec file from ftp://www.oss4aix.org/SPECS/cfengine-3.1.5-1.spec and have the following env vars set: PATH=/usr/vac/bin:/usr/vacpp/bin:/usr/linux/bin:$PATH CC=/usr/vac/bin/xlc CXX=/usr/vacpp/bin/xlc++ M4=/usr/linux/bin/m4 I'm able to get past configure and compile a number of files, but eventually the build fails when trying to link the cfengine executables. Anybody have an idea how to work around this issue? See the errors below: CC libpromises_la-unix.lo CCLD libpromises.la CC cfknow.o CC manual.o CCLD cf-know ld: 0711-317 ERROR: Undefined symbol: GOALS ld: 0711-317 ERROR: Undefined symbol: GOALCATEGORIES ld: 0711-317 ERROR: Undefined symbol: .GetInferencesAttributes ld: 0711-317 ERROR: Undefined symbol: .AddInference ld: 0711-317 ERROR: Undefined symbol: .GetThingsAttributes ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make[2]: *** Error 8 make[2]: Leaving directory `/opt/freeware/src/packages/BUILD/cfengine-3.1.5/src' make[1]: *** Error 2 make[1]: Leaving directory `/opt/freeware/src/packages/BUILD/cfengine-3.1.5/src' make: *** Error 1 Bad exit status from /var/opt/freeware/tmp/rpm-tmp.18206 (%build) _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine