[Reconnoiter-users] Problems compiling on FreeBSD

viq viq at viq.ath.cx
Tue Mar 29 05:35:05 EDT 2011


Could be PEBKAC, I will be thankful for hints on what I am doing wrong.
Box is i386 8.2 upgraded from 7. I did a fresh checkout, and ran:
aclocal && autoconf && CPPLAGS+="-I/usr/include" ./configure --prefix=/usr/local/reconnoiter --exec-prefix=/usr/local/reconnoiter && make

Configure completes, but make fails on openpty. Any hints?
-- 
viq


checking build system type... i386-unknown-freebsd8.2
checking host system type... i386-unknown-freebsd8.2
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 for inline... inline
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ar... /usr/bin/ar
checking for perl... /usr/bin/perl
checking for xsltproc... /usr/local/bin/xsltproc
checking for xmllint... /usr/local/bin/xmllint
checking for java... /usr/local/bin/java
checking for javac... /usr/local/bin/javac
checking for jar... /usr/local/bin/jar
checking for nroff... /usr/bin/nroff
checking enable build/install of the Java IEP and Jezebel bits... yes
checking determining reconnoiter version... 1602
checking size of char... 1
checking size of short int... 2
checking size of int... 4
checking size of long int... 4
checking size of long long int... 8
checking size of void *... 4
checking for umem_cache_create in -lumem... yes
checking for compress2 in -lz... yes
checking for sem_init in -lrt... yes
checking for sem_wait in -lposix4... no
checking for pthread_create in -lpthread... yes
checking for uuid_generate... no
configure: WARNING: uuid_generate not available
checking for uuid_generate in -luuid... yes
checking for uuid_unparse_lower... yes
checking for openpty in -lutil... yes
checking for tputs in -ltermcap... yes
checking for clear in -lcurses... yes
checking for pcre_compile in -lpcre... yes
checking for ERR_load_CRYPTO_strings in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
checking for PQconnectdb in -lpq... yes
checking libpq includes... checking mysql.h usability... no
checking mysql.h presence... no
checking for mysql.h... no
checking mysql/mysql.h usability... no
checking mysql/mysql.h presence... no
checking for mysql/mysql.h... no
configure: WARNING: No libmysqlclient, skipping mysql module
checking net-snmp/net-snmp-config.h usability... yes
checking net-snmp/net-snmp-config.h presence... yes
checking for net-snmp/net-snmp-config.h... yes
checking for snmp_sess_open in -lnetsnmp... yes
checking for libssh2_session_init_ex in -lssh2... yes
checking libxml2 cflags... -I/usr/local/include/libxml2 -I/usr/local/include
checking libxml2 libs... -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm
checking for xmlParseDocument... yes
checking libxslt cflags... -I/usr/local/include -I/usr/local/include/libxml2
checking libxslt libs... -L/usr/local/lib -lxslt -lxml2 -lz -liconv -lm
checking for xsltParseStylesheetDoc... yes
/usr/local
checking libapr cflags...  -g -O2  -I/usr/local/include/apr-1 
checking libapr libs...  -L/usr/local/lib -lapr-1  -lcrypt  -pthread
checking whether sem_init works... yes
checking for strftime... yes
checking for ssetugid... no
checking for strlcpy... yes
checking for strnstrn... no
checking for openpty... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for getopt... yes
checking for poll... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/types.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for unistd.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking for sys/stat.h... (cached) yes
checking sys/event.h usability... yes
checking sys/event.h presence... yes
checking for sys/event.h... yes
checking libkern/OSAtomic.h usability... no
checking libkern/OSAtomic.h presence... no
checking for libkern/OSAtomic.h... no
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking sys/ioctl_compat.h usability... yes
checking sys/ioctl_compat.h presence... no
configure: WARNING: sys/ioctl_compat.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/ioctl_compat.h: proceeding with the compiler's result
checking for sys/ioctl_compat.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for term.h... yes
checking for getpwnam_r... yes
checking for POSIX.1c getpwnam_r... yes
checking for getgrnam_r... yes
checking for POSIX.1c getgrnam_r... yes
checking for tputs() function final argument type... not char
checking for epoll support... no
checking for kqueue support... yes
checking for Solaris ports support... no
checking for posix_readdir_r... yes
checking for u_int type... yes
checking for intXX_t types... yes
checking for int64_t type... yes
checking for u_intXX_t types... yes
checking for u_int64_t types... yes
checking for socklen_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking Resolving libexec path...... /usr/local/reconnoiter/libexec/noit
checking Resolving sysconfdir path...... /usr/local/reconnoiter/etc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/eventer/Makefile
config.status: creating src/jlog/Makefile
config.status: creating src/jlog/perl/Makefile.PL
config.status: creating src/udns/Makefile
config.status: creating src/json-lib/Makefile
config.status: creating src/man/Makefile
config.status: creating src/modules/Makefile
config.status: creating src/modules-lua/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/noitedit/Makefile
config.status: creating src/lua/Makefile
config.status: creating src/java/Makefile
config.status: creating src/java/run-iep.sh
config.status: creating src/java/jezebel
config.status: creating src/scripts/noit-config
config.status: creating sql/Makefile
config.status: creating test/Makefile
config.status: creating src/noit_config.h
config.status: src/noit_config.h is unchanged
config.status: creating src/jlog/jlog_config.h
config.status: src/jlog/jlog_config.h is unchanged
(cd src && make)
- compiling udns_dn.c
- compiling udns_dntosp.c
- compiling udns_parse.c
- compiling udns_resolver.c
- compiling udns_init.c
- compiling udns_misc.c
- compiling udns_XtoX.c
- compiling udns_rr_a.c
- compiling udns_rr_ptr.c
- compiling udns_rr_mx.c
- compiling udns_rr_txt.c
- compiling udns_bl.c
- compiling udns_rr_srv.c
- compiling udns_rr_naptr.c
Generating udns_codes.c
- compiling udns_codes.c
- linking libudns.o
- compiling chared.c
- compiling common.c
- compiling el.c
- compiling emacs.c
- compiling fcns.c
- compiling fgetln.c
- compiling help.c
- compiling hist.c
- compiling history.c
- compiling key.c
- compiling map.c
- compiling parse.c
- compiling prompt.c
- compiling read.c
- compiling readline.c
- compiling refresh.c
- compiling search.c
- compiling sig.c
- compiling strlcpy.c
- compiling term.c
- compiling tokenizer.c
- compiling tty.c
- compiling vi.c
- archiving libnoitedit.a
- compiling eventer.c
- compiling eventer_impl.c
- compiling eventer_kqueue_impl.c
- compiling eventer_POSIX_fd_opset.c
- compiling eventer_SSL_fd_opset.c
- compiling OETS_asn1_helper.c
- compiling eventer_jobq.c
- archiving libeventer.a
- compiling noit_hash.c
- compiling noit_skiplist.c
- compiling noit_log.c
- compiling noit_sem.c
- compiling noit_str.c
- compiling noit_b64.c
- compiling noit_b32.c
- compiling noit_security.c
- compiling noit_watchdog.c
- compiling noit_mkdir.c
- compiling noit_getip.c
- compiling noit_lockfile.c
- archiving libnoit_utils.a
- compiling arraylist.c
- compiling debug.c
- compiling json_object.c
- compiling json_tokener.c
- compiling json_util.c
- compiling linkhash.c
- compiling printbuf.c
- archiving libnoitjson.a
 - manifying noitd.8
 - creating noitd.usage.h
 - manifying stratcond.8
 - creating stratcond.usage.h
- compiling noitd.c
- compiling noit_listener.c
cc1: warnings being treated as errors
noit_console.c: In function 'allocate_pty':
noit_console.c:309: warning: implicit declaration of function 'openpty'
*** Error code 1

Stop in /usr/home/wizdebski/sources/reconnoiter-clean/src.
*** Error code 1

Stop in /usr/home/wizdebski/sources/reconnoiter-clean.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.omniti.com/pipermail/reconnoiter-users/attachments/20110329/1d488400/attachment.bin>


More information about the Reconnoiter-users mailing list