Forum: CFEngine Help
Subject: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,23163,23317#msg-23317


Could you try to remove

GCC_CFLAG="-g -Wreturn-type -Wmissing-prototypes"
case "$CFLAGS" in "-O"*|*" -O"*)
GCC_CFLAG="$GCC_CFLAG -Wuninitialized"
;;
esac

lines from configure and try to configure and run again?

Here...

.
.
.
 CCLD   cf-know
cc: warning 983: The -lc library specified on the command line is also added 
automatically by the compiler driver.  
ld: Unsatisfied symbol "dirfd" in file ./.libs/libpromises.a
1 errors.
gmake[2]: ***  Error 1
gmake[2]: Leaving directory `/home/root/cfengine-3.2.0/src'
gmake[1]: ***  Error 2
gmake[1]: Leaving directory `/home/root/cfengine-3.2.0/src'
gmake: ***  Error 1

This was with -Agcc.

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

Reply via email to