João Salvatti wrote:
Hi all,

since openbsd is an excellent system for software developers and
aiming to increase its branch of package options i have created a port
from commoncpp library (http://www.gnu.org/software/commoncpp/), which
is an excellent C++ development library. It supports development
providing threads, sockets, xml parsing, serialization, config files
and lots of other features. For further informations check the
official web site. Thanks.


I improved the Makefile.

Hello,
when I try to build it on i386 or sparc64 I get the following:



===>  Building for commoncpp2-1.3.22
Making all in include
make  all-recursive
Making all in cc++
Making all in src
/usr/local/bin/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 -c 
thread.cpp
mkdir .libs
 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 -c thread.cpp  -fPIC -DPIC -o 
.libs/thread.o
 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 -c thread.cpp -o thread.o >/dev/null 2>&1
/usr/local/bin/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 -c 
mutex.cpp
 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 -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/ports/mystuff/commoncpp/w-commoncpp2-1.3.22/commoncpp2-1.3.22/src.
*** Error code 1

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

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

Reply via email to