Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2004 00:16:01 GMT
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        petri.totterman@hmv.fi, pav@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, pav@FreeBSD.org
Subject:   Re: ports/74642: New port: devel/log4cplus C++ logging API, similar to log4j - CORRECTED ports/74033
Message-ID:  <200412050016.iB50G1qe012404@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: New port: devel/log4cplus C++ logging API, similar to log4j - CORRECTED ports/74033

State-Changed-From-To: open->feedback
State-Changed-By: pav
State-Changed-When: Sun Dec 5 00:15:28 GMT 2004
State-Changed-Why: 
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
Responsible-Changed-By: pav
Responsible-Changed-When: Sun Dec 5 00:15:28 GMT 2004
Responsible-Changed-Why: 
Handle.

http://www.freebsd.org/cgi/query-pr.cgi?pr=74642



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412050016.iB50G1qe012404>