And here goes build log ...

Alek
-- 
One of the deep mysteries to me is our logo, the symbol of lust and knowledge
bitten into, all crossed with the colors of the rainbow in the wrong order.
You couldn't dream of a more appropriate logo: lust, knowledge, hope, and
anarchy.
 -- Jean Louis Gassée, Apple
===>  Cleaning for commoncpp2-1.3.22
===>  Checking files for commoncpp2-1.3.22
`/usr/ports/distfiles/commoncpp2-1.3.22.tar.gz' is up to date.
>> Checksum OK for commoncpp2-1.3.22.tar.gz. (sha1)
===>  Extracting for commoncpp2-1.3.22
===>  Patching for commoncpp2-1.3.22
===>  Configuring for commoncpp2-1.3.22
configure: loading site script /usr/ports/infrastructure/db/config.site
checking build system type... i386-unknown-openbsd3.9
checking host system type... i386-unknown-openbsd3.9
checking target system type... i386-unknown-openbsd3.9
checking for gcc... cc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... c++ -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... cc -E
checking for strerror in -lcposix... (cached) no
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for MSC environment... no
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit 
[LM]SB shared object
checking for dlfcn.h... (cached) yes
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... (cached) yes
checking whether g77 accepts -g... (cached) yes
checking the maximum length of command line arguments... (cached) 131072
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking if cc static flag  works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... openbsd3.9 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... no
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... openbsd3.9 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... openbsd3.9 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g bin
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for ranlib... (cached) ranlib
checking for genorated automake files... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Win32 gnu environment... no
checking whether system meets Posix.1... yes
checking features.h usability... no
checking features.h presence... no
checking for features.h... no
checking for fcntl.h... (cached) yes
checking for sys/fcntl.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking bits/wordsize.h usability... no
checking bits/wordsize.h presence... no
checking for bits/wordsize.h... no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking sys/isa_defs.h usability... no
checking sys/isa_defs.h presence... no
checking for sys/isa_defs.h... no
checking for sigaction... (cached) yes
checking for setitimer... (cached) yes
checking for sigwait... no
checking bsd/signal.h usability... no
checking bsd/signal.h presence... no
checking for bsd/signal.h... no
checking return type of signal handlers... (cached) void
checking whether sigwait has 2 arguments... yes
checking for strcasecmp... (cached) yes
checking for strings.h... (cached) yes
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking for getopt... (cached) yes
checking for getopt.h... (cached) yes
checking for getopt_long in -lgnugetopt... no
checking for getopt_long... (cached) yes
checking for dlfcn.h... (cached) yes
checking for shl_load in -ldld... no
checking for dlopen in -ldl... no
checking for dlopen in -lc... yes
checking for pthread.h... (cached) yes
checking sys/atomic_op.h usability... no
checking sys/atomic_op.h presence... no
checking for sys/atomic_op.h... no
checking sys/atomic.h usability... no
checking sys/atomic.h presence... no
checking for sys/atomic.h... no
checking bits/atomicity.h usability... yes
checking bits/atomicity.h presence... yes
checking for bits/atomicity.h... yes
checking for _Atomic_word... yes
checking for __gnu_cxx::_Atomic_word... no
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking whether cc accepts -kthread... no
checking whether cc accepts -pthread... yes
checking for pthread_self in -lpthread... yes
checking for pthread_mach_thread_np in -lpthread... no
checking for nanosleep in -lpthread... yes
checking for mlockall in -lrt... no
checking for mlock... (cached) yes
checking for mlockall... (cached) yes
checking if more special flags are required for pthreads... no
checking pthread_np.h usability... no
checking pthread_np.h presence... yes
configure: WARNING: pthread_np.h: present but cannot be compiled
configure: WARNING: pthread_np.h:     check for missing prerequisite headers?
configure: WARNING: pthread_np.h: see the Autoconf documentation
configure: WARNING: pthread_np.h:     section "Present But Cannot Be Compiled"
configure: WARNING: pthread_np.h: proceeding with the preprocessor's result
configure: WARNING: pthread_np.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for pthread_np.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking sys/sched.h usability... yes
checking sys/sched.h presence... yes
checking for sys/sched.h... yes
checking for sched_getscheduler... no
checking for recursive mutex type support... none
checking for pthread_mutexattr_settype in -lpthread... yes
checking for pthread_rwlock_init in -lpthread... yes
checking for pread in -lc... yes
checking for pthread_suspend in -lpthread... no
checking for pthread_attr_setstacksize in -lpthread... yes
checking for pthread_yield_np in -lpthread... no
checking for pthread_yield in -lpthread... yes
checking for pthread_cancel in -lpthread... yes
checking for pthread_setcanceltype in -lpthread... yes
checking for pthread_delay_np in -lpthread... no
checking for setenv... (cached) yes
checking for localtime_r in -lpthread... yes
checking for readdir_r in -lpthread... yes
checking for strerror_r in -lpthread... yes
checking for getpwuid_r in -lpthread... no
checking for getpwuid_r in -lc... no
checking for getpwnam_r in -lc... no
checking for getgrnam_r in -lpthread... yes
checking for poll.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking for poll... (cached) yes
checking for net/if.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking select.h usability... no
checking select.h presence... no
checking for select.h... no
checking for sys/select.h... (cached) yes
checking for netinet/in_systm.h... (cached) yes
checking for netinet/ip.h... (cached) yes
checking netinet/inet.h usability... no
checking netinet/inet.h presence... no
checking for netinet/inet.h... no
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for sys/sockio.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for socket in -lsocket... no
checking for getaddrinfo in -lc... yes
checking netinet6/in6.h usability... no
checking netinet6/in6.h presence... no
checking for netinet6/in6.h... no
checking linux/in6.h usability... no
checking linux/in6.h presence... no
checking for linux/in6.h... no
checking for inet_pton in -lc... yes
checking for gethostbyname2 in -lc... yes
checking sys/libcsys.h usability... no
checking sys/libcsys.h presence... no
checking for sys/libcsys.h... no
checking for inet_aton in -lc... yes
checking for socklen_t defined... yes
checking for errno.h... (cached) yes
checking for limits.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for net/if.h... (cached) yes
checking for linux/netfilter_ipv4.h... no
checking for linux/netfilter_ipv6.h... no
checking for netinet/ip_compat.h... no
checking for ip_compat.h... no
checking for netinet/ip_fil_compat.h... no
checking for ip_fil_compat.h... no
checking for net/pfvar.h... (cached) yes
configure: WARNING: -------------------------------------------------------
configure: WARNING: Could not autodetect NAT engine - pf, ipf or netfilter.
configure: WARNING: NAT engine c++ class interface support was disabled.   
configure: WARNING: This is not necessarilly a problem. If you do not plan 
configure: WARNING: to use or don't know what this is, than it is safe to  
configure: WARNING: assume that you don't need it.                          
configure: WARNING: -------------------------------------------------------
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for xml2-config... /usr/local/bin/xml2-config
checking for valid libxml2... yes
checking for sys/file.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for syslog.h... (cached) yes
checking syslog.hposix_evlog.h usability... no
checking syslog.hposix_evlog.h presence... no
checking for syslog.hposix_evlog.h... no
checking ss.h usability... no
checking ss.h presence... no
checking for ss.h... no
checking ioctl.h usability... no
checking ioctl.h presence... no
checking for ioctl.h... no
checking for realpath... (cached) yes
checking for lstat... (cached) yes
checking for snprintf... (cached) yes
checking for memmove... (cached) yes
checking for strdup... (cached) yes
checking for lockf... (cached) yes
checking for waitpid... (cached) yes
checking for wait4... (cached) yes
checking for gettimeofday... (cached) yes
checking for posix_memalign... no
checking for setegid... (cached) yes
checking for setpgrp... (cached) yes
checking for getpagesize... (cached) yes
checking how to run the C preprocessor... cc -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... c++ -E
checking whether c++ has built-in bool type... yes
checking whether c++ supports -fhandle-exceptions... no
checking whether c++ supports exception handling... yes
checking exception usability... yes
checking exception presence... yes
checking for exception... yes
checking whether c++ supports mutable... yes
checking whether c++ supports namespace... yes
checking wheather old style iostreams... no
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking whether c++ has new(size_t,void*)... yes
checking for debugging... no
checking for profiling... no
checking for doxygen... no
configure: creating ./config.status
config.status: creating src/ccgnu2-config
config.status: creating src/libccext2.pc
config.status: creating src/libccgnu2.pc
config.status: creating src/Makefile
config.status: creating w32/Makefile
config.status: creating m4/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/Makefile
config.status: creating demo/Makefile
config.status: creating include/Makefile
config.status: creating include/cc++/Makefile
config.status: creating Makefile
config.status: creating template/Makefile
config.status: creating commoncpp2.spec
config.status: creating tests/Makefile
config.status: creating commoncpp2.list
config.status: creating include/config.h
config.status: executing default-1 commands
===>  Building for commoncpp2-1.3.22
Making all in include
make  all-recursive
Making all in cc++
Making all in src
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include    
-I../src -DCCXX_EXPORT_LIBRARY          -D_GNU_SOURCE -I/usr/local/include 
-I/usr/local/include/libxml2 -I/usr/local/include -I../include  -O2 -pipe -g 
-Wformat -Wbounded -c thread.cpp
mkdir .libs
rm: : Invalid argument
 c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY 
-D_GNU_SOURCE -I/usr/local/include -I/usr/local/include/libxml2 
-I/usr/local/include -I../include -O2 -pipe -g -Wformat -Wbounded -c thread.cpp 
 -fPIC -DPIC -o .libs/thread.o
rm: : Invalid argument
 c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY 
-D_GNU_SOURCE -I/usr/local/include -I/usr/local/include/libxml2 
-I/usr/local/include -I../include -O2 -pipe -g -Wformat -Wbounded -c thread.cpp 
-o thread.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include    
-I../src -DCCXX_EXPORT_LIBRARY          -D_GNU_SOURCE -I/usr/local/include 
-I/usr/local/include/libxml2 -I/usr/local/include -I../include  -O2 -pipe -g 
-Wformat -Wbounded -c mutex.cpp
rm: : Invalid argument
 c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY 
-D_GNU_SOURCE -I/usr/local/include -I/usr/local/include/libxml2 
-I/usr/local/include -I../include -O2 -pipe -g -Wformat -Wbounded -c mutex.cpp  
-fPIC -DPIC -o .libs/mutex.o
mutex.cpp: In member function `void ost::Mutex::enterMutex()':
mutex.cpp:259: error: `cerr' undeclared (first use this function)
mutex.cpp:259: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
mutex.cpp:259: error: `endl' undeclared (first use this function)
*** Error code 1

Stop in /usr/obj/ports/commoncpp2-1.3.22/commoncpp2-1.3.22/src.
*** Error code 1

Stop in /usr/obj/ports/commoncpp2-1.3.22/commoncpp2-1.3.22 (line 224 of 
Makefile).
*** Error code 1

Stop in /var/tmp/commoncpp (line 1924 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

Reply via email to