# ./configure --with-zlib=/usr/ checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking host platform...... openbsd-4.0 checking for pkg-config... /usr/local/bin/pkg-config checking for libxml-2.0 >= 2.4.0... yes checking LIBXML2_CFLAGS... -I/usr/local/include/libxml2 -I/usr/local/include checking LIBXML2_LIBS... -L/usr/local/lib -lxml2 -lz -liconv -lm checking for libcurl >= 7.0.0 ... yes checking LIBCURL_CFLAGS... -I/usr/local/include checking LIBCURL_LIBS... -L/usr/local/lib -lcurl -lssl -lcrypto -lz checking zlib prefix...... found in /usr/ checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for egrep... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/mount.h usability... no checking sys/mount.h presence... yes configure: WARNING: sys/mount.h: present but cannot be compiled configure: WARNING: sys/mount.h: check for missing prerequisite headers? configure: WARNING: sys/mount.h: see the Autoconf documentation configure: WARNING: sys/mount.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/mount.h: proceeding with the preprocessor's result configure: WARNING: sys/mount.h: in the future, the compiler will take precedence configure: WARNING: ## -------------------------------------------------- ## configure: WARNING: ## Report this to bfleisch (at) users.sourceforge.net ## configure: WARNING: ## -------------------------------------------------- ## checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statvfs.h usability... no checking sys/statvfs.h presence... no checking for sys/statvfs.h... no checking sys/systeminfo.h usability... no checking sys/systeminfo.h presence... no checking for sys/systeminfo.h... no checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether closedir returns void... no checking for getmntent in -lsun... no checking for getmntent in -lseq... no checking for getmntent in -lgen... no checking for getmntent... no checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for gethostname... yes checking for getmntent... (cached) no checking for getpagesize... yes checking for inet_ntoa... yes checking for memset... yes checking for regcomp... yes checking for socket... yes checking for strcasecmp... yes checking for strdup... yes checking for strpbrk... yes checking for sysinfo... no checking for uname... yes checking for statfs... yes checking for statvfs... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands # make make all-am if gcc -DHAVE_CONFIG_H -I. -I. -I. -DOPENBSD -DBSD -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr//include -DBINDIR=\"/usr/local/bin\" -DDEVICEID=\"/usr/local/etc/deviceid\" -DOPENBSD -DBSD -g -O2 -MT agent-bios.o -MD -MP -MF ".deps/agent-bios.Tpo" -c -o agent-bios.o `test -f 'bios.c' || echo './'`bios.c; then mv -f ".deps/agent-bios.Tpo" ".deps/agent-bios.Po"; else rm -f ".deps/agent-bios.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DOPENBSD -DBSD -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr//include -DBINDIR=\"/usr/local/bin\" -DDEVICEID=\"/usr/local/etc/deviceid\" -DOPENBSD -DBSD -g -O2 -MT agent-drives.o -MD -MP -MF ".deps/agent-drives.Tpo" -c -o agent-drives.o `test -f 'drives.c' || echo './'`drives.c; then mv -f ".deps/agent-drives.Tpo" ".deps/agent-drives.Po"; else rm -f ".deps/agent-drives.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DOPENBSD -DBSD -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr//include -DBINDIR=\"/usr/local/bin\" -DDEVICEID=\"/usr/local/etc/deviceid\" -DOPENBSD -DBSD -g -O2 -MT agent-memory.o -MD -MP -MF ".deps/agent-memory.Tpo" -c -o agent-memory.o `test -f 'memory.c' || echo './'`memory.c; then mv -f ".deps/agent-memory.Tpo" ".deps/agent-memory.Po"; else rm -f ".deps/agent-memory.Tpo"; exit 1; fi memory.c: In function `bsd_info_memory': memory.c:102: warning: passing arg 4 of `sysctl' from incompatible pointer type if gcc -DHAVE_CONFIG_H -I. -I. -I. -DOPENBSD -DBSD -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr//include -DBINDIR=\"/usr/local/bin\" -DDEVICEID=\"/usr/local/etc/deviceid\" -DOPENBSD -DBSD -g -O2 -MT agent-ocs.o -MD -MP -MF ".deps/agent-ocs.Tpo" -c -o agent-ocs.o `test -f 'ocs.c' || echo './'`ocs.c; then mv -f ".deps/agent-ocs.Tpo" ".deps/agent-ocs.Po"; else rm -f ".deps/agent-ocs.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DOPENBSD -DBSD -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr//include -DBINDIR=\"/usr/local/bin\" -DDEVICEID=\"/usr/local/etc/deviceid\" -DOPENBSD -DBSD -g -O2 -MT agent-os.o -MD -MP -MF ".deps/agent-os.Tpo" -c -o agent-os.o `test -f 'os.c' || echo './'`os.c; then mv -f ".deps/agent-os.Tpo" ".deps/agent-os.Po"; else rm -f ".deps/agent-os.Tpo"; exit 1; fi os.c: In function `bsd_info_os': os.c:136: warning: passing arg 4 of `sysctl' from incompatible pointer type os.c:168: warning: passing arg 4 of `sysctl' from incompatible pointer type os.c:180: warning: passing arg 4 of `sysctl' from incompatible pointer type if gcc -DHAVE_CONFIG_H -I. -I. -I. -DOPENBSD -DBSD -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr//include -DBINDIR=\"/usr/local/bin\" -DDEVICEID=\"/usr/local/etc/deviceid\" -DOPENBSD -DBSD -g -O2 -MT agent-storage.o -MD -MP -MF ".deps/agent-storage.Tpo" -c -o agent-storage.o `test -f 'storage.c' || echo './'`storage.c; then mv -f ".deps/agent-storage.Tpo" ".deps/agent-storage.Po"; else rm -f ".deps/agent-storage.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DOPENBSD -DBSD -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr//include -DBINDIR=\"/usr/local/bin\" -DDEVICEID=\"/usr/local/etc/deviceid\" -DOPENBSD -DBSD -g -O2 -MT agent-content.o -MD -MP -MF ".deps/agent-content.Tpo" -c -o agent-content.o `test -f 'content.c' || echo './'`content.c; then mv -f ".deps/agent-content.Tpo" ".deps/agent-content.Po"; else rm -f ".deps/agent-content.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DOPENBSD -DBSD -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr//include -DBINDIR=\"/usr/local/bin\" -DDEVICEID=\"/usr/local/etc/deviceid\" -DOPENBSD -DBSD -g -O2 -MT agent-main.o -MD -MP -MF ".deps/agent-main.Tpo" -c -o agent-main.o `test -f 'main.c' || echo './'`main.c; then mv -f ".deps/agent-main.Tpo" ".deps/agent-main.Po"; else rm -f ".deps/agent-main.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DOPENBSD -DBSD -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr//include -DBINDIR=\"/usr/local/bin\" -DDEVICEID=\"/usr/local/etc/deviceid\" -DOPENBSD -DBSD -g -O2 -MT agent-network.o -MD -MP -MF ".deps/agent-network.Tpo" -c -o agent-network.o `test -f 'network.c' || echo './'`network.c; then mv -f ".deps/agent-network.Tpo" ".deps/agent-network.Po"; else rm -f ".deps/agent-network.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DOPENBSD -DBSD -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr//include -DBINDIR=\"/usr/local/bin\" -DDEVICEID=\"/usr/local/etc/deviceid\" -DOPENBSD -DBSD -g -O2 -MT agent-software.o -MD -MP -MF ".deps/agent-software.Tpo" -c -o agent-software.o `test -f 'software.c' || echo './'`software.c; then mv -f ".deps/agent-software.Tpo" ".deps/agent-software.Po"; else rm -f ".deps/agent-software.Tpo"; exit 1; fi gcc -DOPENBSD -DBSD -g -O2 -lkvm -o agent agent-bios.o agent-drives.o agent-memory.o agent-ocs.o agent-os.o agent-storage.o agent-content.o agent-main.o agent-network.o agent-software.o -L/usr/local/lib -lxml2 -lz -liconv -lm -L/usr/local/lib -lcurl -lssl -lcrypto -lz -L/usr//lib -lz /usr/local/lib/libxml2.so.9.3: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/libcurl.so.3.4: warning: sprintf() is often misused, please use snprintf() /usr/local/lib/libxml2.so.9.3: warning: strcat() is almost always misused, please use strlcat() agent-ocs.o(.text+0x77a): In function `OCS_update_agent': /home/dk/ocs-unix-agent-0.7/ocs.c:300: warning: mktemp() possibly used unsafely; consider using mkstemp() # make install /usr/bin/install -c agent //usr/local/bin/ocs-agent-openbsd-4.0.1007 ln -s ocs-agent-openbsd-4.0.1007 //usr/local/bin/ocs-agent-openbsd-4.0 /usr/bin/install -c -d //usr/local/etc # ocs-agent-openbsd-4.0 -s 127.0.0.1:7000 Sending inventory document to 127.0.0.1:7000 ... #