Seems as dirfd is referenced, even though configure finds that I don't have
dirfd on my system. This is on my usual compiling platform - a freshly
installed Solaris 10 SPARC box (full Solaris installation) with all pre-reqs
added (from Sunfreeware).

- Erlend

2011-08-22 10:24:06 6 INFO - cfe-build.sh: start
2011-08-22 10:24:07 7 INFO - tarballname=cfengine-3.2.0.tar.gz
2011-08-22 10:24:07 7 INFO - sleeping a bit, hit Ctrl-C to abort...
2011-08-22 10:24:13 12 INFO - unpacking cfengine source from
cfengine-3.2.0.tar.gz...
2011-08-22 10:24:15 14 INFO - running configure script...
2011-08-22 10:24:15 15 TRACE - cmd=./configure --with-openssl=/usr/sfw
--disable-shared
2011-08-22 10:25:54 114 TRACE - checking build system type...
sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether pthreads work with -pthreads... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_REENTRANT
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking for fgrep... /usr/sfw/bin/ggrep -F
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p
checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... yes
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking for getconf... /usr/bin/getconf
checking for PQconnectdb in -lpq... yes
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking for mysql_real_connect in -lmysqlclient... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking for BerkeleyDB location in default... /usr/local/BerkeleyDB.4.7
checking for Berkeley DB API... OK
checking for db_create in -ldb... yes
checking for RSA_generate_key in -lcrypto... yes
checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking for OpenSSL version... OK
checking for pcre_exec in -lpcre... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/loadavg.h usability... yes
checking sys/loadavg.h presence... yes
checking for sys/loadavg.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/malloc.h usability... no
checking sys/malloc.h presence... no
checking for sys/malloc.h... no
checking vfs.h usability... no
checking vfs.h presence... no
checking for vfs.h... no
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/filesys.h usability... no
checking sys/filesys.h presence... no
checking for sys/filesys.h... no
checking dustat.h usability... no
checking dustat.h presence... no
checking for dustat.h... no
checking sys/systeminfo.h usability... yes
checking sys/systeminfo.h presence... yes
checking for sys/systeminfo.h... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking zone.h usability... yes
checking zone.h presence... yes
checking for zone.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdbool.h that conforms to C99... no
checking for _Bool... yes
checking for mode_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for clockid_t... yes
checking for an ANSI C-conforming const... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for off_t... yes
checking for sqrt in -lm... yes
checking for clock_gettime in -lrt... yes
checking whether clock_gettime is declared... yes
checking for clock_gettime... yes
checking whether unsetenv is declared... yes
checking for unsetenv... yes
checking whether strnlen is declared... no
checking for strnlen... no
checking whether strndup is declared... no
checking for strndup... no
checking whether setlinebuf is declared... yes
checking for setlinebuf... yes
checking whether strlcat is declared... yes
checking for strlcat... yes
checking whether strlcpy is declared... yes
checking for strlcpy... yes
checking whether realpath is declared... yes
checking for realpath... yes
checking for getcwd... yes
checking for getnetgrent... yes
checking for waitpid... yes
checking for seteuid... yes
checking for setegid... yes
checking for setreuid... yes
checking for setregid... yes
checking for uname... yes
checking for gethostname... yes
checking for chflags... no
checking for strstr... yes
checking for strsep... no
checking for putenv... yes
checking for drand48... yes
checking for srand48... yes
checking for getaddrinfo... no
checking for bcopy... yes
checking for mkfifo... yes
checking for statfs... yes
checking for statvfs... yes
checking for door... no
checking for sysinfo... yes
checking for setsid... yes
checking for strdup... yes
checking for strrchr... yes
checking for strerror... yes
checking for snprintf... yes
checking for sysconf... yes
checking for getzoneid... yes
checking for getzonenamebyid... yes
checking for fpathconf... yes
checking whether dirfd is declared... no
checking for dirfd... no
checking for dirfd macro... no
checking for jail_get... no
checking for door_create... no
checking for setsockopt... no
checking for setsockopt in -lsocket... yes
checking for gethostent... no
checking for gethostent in -lnsl... yes
checking for getaddrinfo... (cached) no
checking for getaddrinfo in -lsocket... yes
checking for library containing socket... none required
checking for lchown... yes
checking for main in -lpthread... yes
checking for pthread_attr_setstacksize... yes
checking for pthread_sigmask... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for struct sockaddr.sa_len... no
checking for either struct rtentry or struct ortentry... rtentry
checking for 8-bit support in Flex... 8-bit support added
checking for GCC specific compile flags... yes
checking for hostname... /usr/bin/hostname
checking for Xen cpuid-based HVM detection... no

Summary of options...
-> PCRE: default path
-> MySQL connector: default path
-> PostgreSQL connector: default path
-> DB: Berkeley DB: /usr/local/BerkeleyDB.4.7

configure: creating ./config.status
config.status: creating Makefile
config.status: creating pub/Makefile
config.status: creating src/Makefile
config.status: creating src/cf3lex.l
config.status: creating docs/Makefile
config.status: creating examples/Makefile
config.status: creating examples/example_config/Makefile
config.status: creating masterfiles/Makefile
config.status: creating src/conf.h
config.status: executing depfiles commands
config.status: executing libtool commands
DONE: Configuration done. Run make/gmake to build cfengine.
2011-08-22 10:25:55 115 INFO - compiling cfengine: make clean...
2011-08-22 10:26:00 120 TRACE - Making clean in masterfiles
make[1]: Entering directory `/tmp/cfsrc/cfengine-3.2.0/masterfiles'
test -z "" || rm -f
rm -rf .libs _libs
test -z "*~" || rm -f *~
rm -f *.lo
make[1]: Leaving directory `/tmp/cfsrc/cfengine-3.2.0/masterfiles'
Making clean in examples
make[1]: Entering directory `/tmp/cfsrc/cfengine-3.2.0/examples'
Making clean in example_config
make[2]: Entering directory
`/tmp/cfsrc/cfengine-3.2.0/examples/example_config'
test -z "" || rm -f
rm -rf .libs _libs
test -z "*~" || rm -f *~
rm -f *.lo
make[2]: Leaving directory
`/tmp/cfsrc/cfengine-3.2.0/examples/example_config'
Making clean in .
make[2]: Entering directory `/tmp/cfsrc/cfengine-3.2.0/examples'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/tmp/cfsrc/cfengine-3.2.0/examples'
make[1]: Leaving directory `/tmp/cfsrc/cfengine-3.2.0/examples'
Making clean in docs
make[1]: Entering directory `/tmp/cfsrc/cfengine-3.2.0/docs'
test -z "cf-agent.8 cf-serverd.8 cf-execd.8 cf-monitord.8 cf-report.8
cf-know.8 cf-runagent.8 cf-promises.8 cf-key.8 " || rm -f cf-agent.8
cf-serverd.8 cf-execd.8 cf-monitord.8 cf-report.8 cf-know.8 cf-runagent.8
cf-promises.8 cf-key.8
rm -rf .libs _libs
test -z "*~ *.orig" || rm -f *~ *.orig
rm -f *.lo
make[1]: Leaving directory `/tmp/cfsrc/cfengine-3.2.0/docs'
Making clean in src
make[1]: Entering directory `/tmp/cfsrc/cfengine-3.2.0/src'
test -z "cf3lex.c cf3parse.c cf3parse.h" || rm -f cf3lex.c cf3parse.c
cf3parse.h
test -z "libpromises.la" || rm -f libpromises.la
rm -f "./so_locations"
rm -rf .libs _libs
 rm -f cf-know cf-promises cf-agent cf-monitord cf-serverd cf-execd
cf-runagent cf-key cf-report
rm -f *.o
test -z "*~ *.orig *.rej" || rm -f *~ *.orig *.rej
rm -f *.lo
make[1]: Leaving directory `/tmp/cfsrc/cfengine-3.2.0/src'
Making clean in pub
make[1]: Entering directory `/tmp/cfsrc/cfengine-3.2.0/pub'
test -z "" || rm -f
rm -rf .libs _libs
test -z "libcfpub.la" || rm -f libcfpub.la
rm -f "./so_locations"
rm -f *.o
test -z "*~" || rm -f *~
rm -f *.lo
make[1]: Leaving directory `/tmp/cfsrc/cfengine-3.2.0/pub'
Making clean in .
make[1]: Entering directory `/tmp/cfsrc/cfengine-3.2.0'
test -z "" || rm -f
rm -rf .libs _libs
test -z "*~" || rm -f *~
rm -f *.lo
make[1]: Leaving directory `/tmp/cfsrc/cfengine-3.2.0'
2011-08-22 10:26:01 120 INFO - compiling cfengine: make...
2011-08-22 10:31:55 475 TRACE - Making all in pub
make[1]: Entering directory `/tmp/cfsrc/cfengine-3.2.0/pub'
  CC     getopt.lo
  CC     getopt1.lo
  CC     snprintf.lo
  CC     strnlen.lo
  CC     strndup.lo
  CCLD   libcfpub.la
make[1]: Leaving directory `/tmp/cfsrc/cfengine-3.2.0/pub'
Making all in src
make[1]: Entering directory `/tmp/cfsrc/cfengine-3.2.0/src'
  YACC   cf3parse.c
conflicts: 4 shift/reduce
updating cf3parse.h
make  all-am
make[2]: Entering directory `/tmp/cfsrc/cfengine-3.2.0/src'
  CC     libpromises_la-cf3parse.lo
  LEX    cf3lex.c
  CC     libpromises_la-cf3lex.lo
In file included from cf.defs.h:36,
                 from cf3.defs.h:36,
                 from cf3lex.l:32:
conf.h:608:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/stdio.h:22,
                 from cf3lex.c:11:
/usr/include/sys/feature_tests.h:188:1: warning: this is the location of the
previous definition
  CC     libpromises_la-patches.lo
  CC     libpromises_la-attributes.lo
  CC     libpromises_la-install.lo
  CC     libpromises_la-generic_agent.lo
  CC     libpromises_la-dbm_api.lo
  CC     libpromises_la-dbm_berkeley.lo
  CC     libpromises_la-dbm_quick.lo
  CC     libpromises_la-dbm_tokyocab.lo
  CC     libpromises_la-dbm_sqlite3.lo
  CC     libpromises_la-dir.lo
  CC     libpromises_la-dtypes.lo
  CC     libpromises_la-classes.lo
  CC     libpromises_la-env_context.lo
  CC     libpromises_la-string_expressions.lo
  CC     libpromises_la-logic_expressions.lo
  CC     libpromises_la-files_interfaces.lo
  CC     libpromises_la-files_properties.lo
  CC     libpromises_la-files_select.lo
  CC     libpromises_la-files_operators.lo
  CC     libpromises_la-files_repository.lo
  CC     libpromises_la-files_copy.lo
  CC     libpromises_la-files_editline.lo
  CC     libpromises_la-files_edit.lo
  CC     libpromises_la-files_links.lo
  CC     libpromises_la-files_hashes.lo
  CC     libpromises_la-files_names.lo
  CC     libpromises_la-chflags.lo
  CC     libpromises_la-modes.lo
  CC     libpromises_la-exec_tools.lo
  CC     libpromises_la-nfs.lo
  CC     libpromises_la-item-lib.lo
  CC     libpromises_la-alphalist.lo
  CC     libpromises_la-cf_sql.lo
  CC     libpromises_la-client_protocol.lo
  CC     libpromises_la-client_code.lo
  CC     libpromises_la-communication.lo
  CC     libpromises_la-net.lo
  CC     libpromises_la-sockaddr.lo
  CC     libpromises_la-recursion.lo
  CC     libpromises_la-processes_select.lo
  CC     libpromises_la-fncall.lo
  CC     libpromises_la-cf3globals.lo
  CC     libpromises_la-reporting.lo
reporting.c:794: warning: no previous prototype for 'ShowAllReservedWords'
  CC     libpromises_la-evalfunction.lo
  CC     libpromises_la-sysinfo.lo
  CC     libpromises_la-conversion.lo
  CC     libpromises_la-scope.lo
  CC     libpromises_la-assoc.lo
  CC     libpromises_la-comparray.lo
  CC     libpromises_la-vars.lo
  CC     libpromises_la-args.lo
  CC     libpromises_la-hashes.lo
  CC     libpromises_la-crypto.lo
  CC     libpromises_la-sort.lo
  CC     libpromises_la-keyring.lo
  CC     libpromises_la-full-write.lo
  CC     libpromises_la-expand.lo
  CC     libpromises_la-matching.lo
  CC     libpromises_la-selfdiagnostic.lo
  CC     libpromises_la-instrumentation.lo
  CC     libpromises_la-granules.lo
  CC     libpromises_la-timeout.lo
  CC     libpromises_la-promises.lo
  CC     libpromises_la-ontology.lo
  CC     libpromises_la-constraints.lo
  CC     libpromises_la-iteration.lo
  CC     libpromises_la-rlist.lo
  CC     libpromises_la-syntax.lo
  CC     libpromises_la-logging.lo
  CC     libpromises_la-signals.lo
  CC     libpromises_la-transaction.lo
  CC     libpromises_la-cfstream.lo
  CC     libpromises_la-pipes.lo
  CC     libpromises_la-html.lo
  CC     libpromises_la-interfaces.lo
  CC     libpromises_la-storage_tools.lo
  CC     libpromises_la-verify_reports.lo
  CC     libpromises_la-verify_processes.lo
  CC     libpromises_la-enterprise_stubs.lo
  CC     libpromises_la-bootstrap.lo
  CC     libpromises_la-mod_defaults.lo
  CC     libpromises_la-mod_common.lo
  CC     libpromises_la-mod_access.lo
  CC     libpromises_la-mod_exec.lo
  CC     libpromises_la-mod_methods.lo
  CC     libpromises_la-mod_interfaces.lo
  CC     libpromises_la-mod_packages.lo
  CC     libpromises_la-mod_files.lo
  CC     libpromises_la-mod_report.lo
  CC     libpromises_la-mod_storage.lo
  CC     libpromises_la-mod_knowledge.lo
  CC     libpromises_la-mod_measurement.lo
  CC     libpromises_la-mod_databases.lo
  CC     libpromises_la-mod_services.lo
  CC     libpromises_la-mod_process.lo
  CC     libpromises_la-mod_environ.lo
  CC     libpromises_la-mod_outputs.lo
  CC     libpromises_la-unix.lo
  CCLD   libpromises.la
  CC     cfknow.o
  CC     manual.o
  CCLD   cf-know
Undefined first referenced
 symbol      in file
dirfd
./.libs/libpromises.a(libpromises_la-dir.o)
ld: fatal: Symbol referencing errors. No output written to cf-know
collect2: ld returned 1 exit status
make[2]: *** [cf-know] Error 1
make[2]: Leaving directory `/tmp/cfsrc/cfengine-3.2.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/cfsrc/cfengine-3.2.0/src'
make: *** [all-recursive] Error 1
2011-08-22 10:31:55 475 FATAL - make failed
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to