This is a port of log4cplus, a simple-to-use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modeled after the Java log4j API. This is a corrected version of PR ports/74033 which I sent in November 2004.
State Changed From-To: open->feedback Does not compile on FreBSD 5.3 (gcc 3.4): /bin/sh /usr/local/bin/libtool15 --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cplus -I../include -Wall -D_REENTRANT -O -pipe -c -o socketbuffer.lo `test -f 'socketbuffer.cxx' || echo './'`socketbuffer.cxx c++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cplus -I../include -Wall -D_REENTRANT -O -pipe -c socketbuffer.cxx -fPIC -DPIC -o .libs/socketbuffer.o socketbuffer.cxx: In member function `short unsigned int log4cplus::helpers::SocketBuffer::readShort()': socketbuffer.cxx:140: error: `ntohs' undeclared (first use this function) socketbuffer.cxx:140: error: (Each undeclared identifier is reported only once for each function it appears in.) socketbuffer.cxx: In member function `unsigned int log4cplus::helpers::SocketBuffer::readInt()': socketbuffer.cxx:162: error: `ntohl' undeclared (first use this function) socketbuffer.cxx: In member function `void log4cplus::helpers::SocketBuffer::appendShort(short unsigned int)': socketbuffer.cxx:253: error: `htons' undeclared (first use this function) socketbuffer.cxx: In member function `void log4cplus::helpers::SocketBuffer::appendInt(unsigned int)': socketbuffer.cxx:268: error: `htonl' undeclared (first use this function) socketbuffer.cxx: In member function `void log4cplus::helpers::SocketBuffer::appendSize_t(size_t)': socketbuffer.cxx:284: error: `htonl' undeclared (first use this function) *** Error code 1 Can you fix this?
Responsible Changed From-To: freebsd-ports-bugs->pav Handle.
State Changed From-To: feedback->closed Committed, thanks!