<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 87: broken compile on HP-UX HP-UX  B.11.11 </title><link>https://sourceforge.net/p/log4cpp/bugs/87/</link><description>Recent changes to 87: broken compile on HP-UX HP-UX  B.11.11 </description><atom:link href="https://sourceforge.net/p/log4cpp/bugs/87/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 06 May 2005 07:53:07 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/log4cpp/bugs/87/feed.rss" rel="self" type="application/rss+xml"/><item><title>broken compile on HP-UX HP-UX  B.11.11 </title><link>https://sourceforge.net/p/log4cpp/bugs/87/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Error occurred during compilation:&lt;/p&gt;
&lt;p&gt;g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include&lt;br /&gt;
-g -O2 -Wall -pedantic -c RemoteSyslogAppender.cpp &lt;br /&gt;
-fPIC -DPIC -o RemoteSyslogAppender.o&lt;br /&gt;
In file included from /usr/include/netdb.h:69,&lt;br /&gt;
from RemoteSyslogAppender.cpp:23:&lt;br /&gt;
/usr/include/sys/socket.h:484: syntax error before `('&lt;br /&gt;
token&lt;br /&gt;
/usr/include/sys/socket.h:486: syntax error before `('&lt;br /&gt;
token&lt;/p&gt;
&lt;p&gt;Fixe: &lt;/p&gt;
&lt;p&gt;in source  of RemoteSyslogAppender.cpp:&lt;/p&gt;
&lt;p&gt;adding two typedef lines: &lt;br /&gt;
typedef long  sbsize_t;&lt;br /&gt;
typedef unsigned long bsize_t;&lt;/p&gt;
&lt;p&gt;/*&lt;br /&gt;
* RemoteSyslogAppender.cpp&lt;br /&gt;
*&lt;br /&gt;
* Copyright 2001, LifeLine Networks BV&lt;br /&gt;
(www.lifeline.nl). All rights reserved.&lt;br /&gt;
* Copyright 2001, Walter Stroebel. All rights reserved.&lt;br /&gt;
*&lt;br /&gt;
* See the COPYING file for the terms of usage and&lt;br /&gt;
distribution.&lt;br /&gt;
*/&lt;/p&gt;
&lt;p&gt;#include "PortabilityImpl.hh"&lt;/p&gt;
&lt;p&gt;#ifdef LOG4CPP_HAVE_UNISTD_H&lt;br /&gt;
#    include &amp;lt;unistd.h&amp;gt;&lt;br /&gt;
#endif&lt;br /&gt;
#include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
#include &amp;lt;cstdio&amp;gt;&lt;br /&gt;
#include &amp;lt;cstring&amp;gt;&lt;br /&gt;
#include &amp;lt;sys/types.h&amp;gt;&lt;br /&gt;
#include &amp;lt;sys/stat.h&amp;gt;&lt;br /&gt;
#include &amp;lt;fcntl.h&amp;gt;&lt;br /&gt;
#include &amp;lt;log4cpp/RemoteSyslogAppender.hh&amp;gt;&lt;br /&gt;
#ifdef WIN32&lt;br /&gt;
#include &amp;lt;winsock2.h&amp;gt;&lt;br /&gt;
#else&lt;br /&gt;
typedef long  sbsize_t;&lt;br /&gt;
typedef unsigned long bsize_t;&lt;br /&gt;
#include &amp;lt;netdb.h&amp;gt;&lt;br /&gt;
#include &amp;lt;sys/socket.h&amp;gt;&lt;br /&gt;
#include &amp;lt;netinet/in.h&amp;gt;&lt;br /&gt;
#include &amp;lt;arpa/inet.h&amp;gt;&lt;br /&gt;
#endif&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 06 May 2005 07:53:07 -0000</pubDate><guid>https://sourceforge.net3e137a5f6cf7302066045a3f96464917227dfc62</guid></item></channel></rss>