<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problems compiling clamav in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125034#M678024</link>
    <description>I am now recompiling. I think it works. I have remove the /usr/local pthread libs and include&lt;BR /&gt;&lt;BR /&gt;Lars</description>
    <pubDate>Sat, 16 Aug 2008 16:02:38 GMT</pubDate>
    <dc:creator>Lars Ebeling</dc:creator>
    <dc:date>2008-08-16T16:02:38Z</dc:date>
    <item>
      <title>Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125017#M678007</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;I am trying to install latest version of clamav. While running make I get this:&lt;BR /&gt;&lt;BR /&gt; gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I/usr/local/include -g -O2&lt;BR /&gt; -MT others.lo -MD -MP -MF .deps/others.Tpo -c others.c  -fPIC -DPIC -o .libs/ot&lt;BR /&gt;hers.o                                                                          &lt;BR /&gt;In file included from others.c:62:                                              &lt;BR /&gt;/usr/local/include/pthread.h:285: error: conflicting types for 'pthread_t'      &lt;BR /&gt;/usr/include/sys/signal.h:108: error: previous declaration of 'pthread_t' was he&lt;BR /&gt;re                                                                              &lt;BR /&gt;/usr/local/include/pthread.h:286: error: conflicting types for 'pthread_attr_t' &lt;BR /&gt;/usr/include/sys/sigevent.h:65: error: previous declaration of 'pthread_attr_t' &lt;BR /&gt;was here                                                                        &lt;BR /&gt;/usr/local/include/pthread.h:357: error: conflicting types for 'pthread_kill'   &lt;BR /&gt;/usr/include/sys/signal.h:222: error: previous declaration of 'pthread_kill' was&lt;BR /&gt; here                                                                           &lt;BR /&gt;/usr/local/include/pthread.h:357: error: conflicting types for 'pthread_kill'   &lt;BR /&gt;/usr/include/sys/signal.h:222: error: previous declaration of 'pthread_kill' was&lt;BR /&gt; here                                                                           &lt;BR /&gt;make[3]: *** [others.lo] Error 1                                                &lt;BR /&gt;make[3]: Leaving directory `/extra/clamav-0.93.3/libclamav'                     &lt;BR /&gt;make[2]: *** [all-recursive] Error 1                                            &lt;BR /&gt;make[2]: Leaving directory `/extra/clamav-0.93.3/libclamav'                     &lt;BR /&gt;make[1]: *** [all-recursive] Error 1                                            &lt;BR /&gt;make[1]: Leaving directory `/extra/clamav-0.93.3'                               &lt;BR /&gt;make: *** [all] Error 2                                                         &lt;BR /&gt;#                                                                               &lt;BR /&gt;&lt;BR /&gt;I have some different sets of pthread libraries and includes&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Lars Ebeling</description>
      <pubDate>Fri, 15 Aug 2008 15:39:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125017#M678007</guid>
      <dc:creator>Lars Ebeling</dc:creator>
      <dc:date>2008-08-15T15:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125018#M678008</link>
      <description>What OS version?  There may be a header file patch that fixes the inconsistencies between &lt;PTHREAD.H&gt;, &lt;SYS&gt; and &lt;SYS&gt;, or was it a gcc issue?&lt;BR /&gt;&lt;BR /&gt;But you should also check to make sure that /usr/local/include/pthread.h matches the official &lt;PTHREAD.H&gt; for those types.&lt;/PTHREAD.H&gt;&lt;/SYS&gt;&lt;/SYS&gt;&lt;/PTHREAD.H&gt;</description>
      <pubDate>Fri, 15 Aug 2008 17:41:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125018#M678008</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-15T17:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125019#M678009</link>
      <description>Sorry, of course i should have mentioned that I am running 11.11&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Ihave pthread.h in /usr/include /usr/local/include and /usr/include/sys and all different&lt;BR /&gt;&lt;BR /&gt;Lars</description>
      <pubDate>Fri, 15 Aug 2008 18:15:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125019#M678009</guid>
      <dc:creator>Lars Ebeling</dc:creator>
      <dc:date>2008-08-15T18:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125020#M678010</link>
      <description>A header file problem when using GCC often&lt;BR /&gt;points to a problem with the GCC&lt;BR /&gt;installation, which can be caused by an OS or&lt;BR /&gt;(HP) C compiler upgrade|patch which affects&lt;BR /&gt;the system header files, but does not get the&lt;BR /&gt;GCC header files updated accordingly.&lt;BR /&gt;Re-installing GCC will normally solve&lt;BR /&gt;problems of that type.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I have some different sets of pthread&lt;BR /&gt;&amp;gt; libraries and includes&lt;BR /&gt;&lt;BR /&gt;From where did they all come?&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Aug 2008 18:56:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125020#M678010</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-08-15T18:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125021#M678011</link>
      <description>&amp;gt;I have pthread.h in /usr/include /usr/local/include and /usr/include/sys and all different&lt;BR /&gt;&lt;BR /&gt;Of course. :-)&lt;BR /&gt;You need to compare the types of &lt;SYS&gt; with the gnu one.&lt;BR /&gt;Look for the declarations of pthread_t, pthread_attr_t and pthread_kill.&lt;BR /&gt;Then compare with &lt;SYS&gt; and &lt;SYS&gt;.&lt;BR /&gt;&lt;BR /&gt;There may be multiple definitions with #if, so look for more than one.&lt;/SYS&gt;&lt;/SYS&gt;&lt;/SYS&gt;</description>
      <pubDate>Fri, 15 Aug 2008 18:56:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125021#M678011</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-15T18:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125022#M678012</link>
      <description>Sorry, I know nothing about C. The only things usually do is configure, make and make install. And i used to work.&lt;BR /&gt;&lt;BR /&gt;But lately I have had problems with these pthread things.&lt;BR /&gt;&lt;BR /&gt;I have tried to upgrade spamassassin and now clamav.&lt;BR /&gt;&lt;BR /&gt;Lars</description>
      <pubDate>Sat, 16 Aug 2008 09:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125022#M678012</guid>
      <dc:creator>Lars Ebeling</dc:creator>
      <dc:date>2008-08-16T09:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125023#M678013</link>
      <description>&amp;gt;I know nothing about C.&lt;BR /&gt;&lt;BR /&gt;Just look at (paste) the lines in the error messages.</description>
      <pubDate>Sat, 16 Aug 2008 10:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125023#M678013</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-16T10:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125024#M678014</link>
      <description>Yes, I understand that some things are declared more than once. But what to do about it i don't understand.&lt;BR /&gt;&lt;BR /&gt;Lars</description>
      <pubDate>Sat, 16 Aug 2008 11:11:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125024#M678014</guid>
      <dc:creator>Lars Ebeling</dc:creator>
      <dc:date>2008-08-16T11:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125025#M678015</link>
      <description>What does this mean? Extract from manpages about GNU pthread.h&lt;BR /&gt;&lt;BR /&gt;  ConflictswithVendorImplementation                                    &lt;BR /&gt;       There can be a conflict between the Pth "pthread.h" header and a possibly existing vendor "/usr/include/pthread.h" header which was   implicitly included by some standard vendor headers(like "/usr/include/unistd.h"). When this occurs try to ``"#define"''  header-dependent values which prevent the inclusion of the vendor header.                                                             &lt;BR /&gt;    Lars</description>
      <pubDate>Sat, 16 Aug 2008 14:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125025#M678015</guid>
      <dc:creator>Lars Ebeling</dc:creator>
      <dc:date>2008-08-16T14:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125026#M678016</link>
      <description>&amp;gt;I understand that some things are declared more than once. But what to do about it i don't understand.&lt;BR /&gt;&lt;BR /&gt;Well, until you show me, I can only guess.&lt;BR /&gt;&lt;BR /&gt;Did you try reinstalling gcc as Steven suggested?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;What does this mean?&lt;BR /&gt;&amp;gt;`"#define"'' header-dependent values which prevent the inclusion of the vendor header.&lt;BR /&gt;&lt;BR /&gt;This sound like the include guard.&lt;BR /&gt;What's the first #ifndef in the top of pthread.h in /usr/include/ /usr/local/include/ and /usr/include/sys/?</description>
      <pubDate>Sat, 16 Aug 2008 14:33:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125026#M678016</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-16T14:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125027#M678017</link>
      <description>I haven't reinstalled gcc. This is done at home as hobby. I don't have any good backups. My tapedeck i bad. I have an old D380 where I among others run my mailserver.&lt;BR /&gt;&lt;BR /&gt;# /usr/include/pthread.h                              &lt;BR /&gt;#ifndef _PTHREAD_INCLUDED /* allows multiple inclusion */&lt;BR /&gt;&lt;BR /&gt;/usr/include/sys/pthread.h&lt;BR /&gt;&lt;BR /&gt;#ifndef _SYS_PTHREAD_INCLUDED  &lt;BR /&gt;&lt;BR /&gt;/usr/local/include/pthread.h&lt;BR /&gt;&lt;BR /&gt;#ifndef _PTH_PTHREAD_H_ &lt;BR /&gt;&lt;BR /&gt;Lars</description>
      <pubDate>Sat, 16 Aug 2008 14:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125027#M678017</guid>
      <dc:creator>Lars Ebeling</dc:creator>
      <dc:date>2008-08-16T14:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125028#M678018</link>
      <description>So to skip the include of the official pthread header you should compile with -D_PTHREAD_INCLUDED.&lt;BR /&gt;I'm not sure if this will work since there is no message pointing to &lt;SYS&gt;.&lt;BR /&gt;&lt;BR /&gt;So as I asked before, what's on:&lt;BR /&gt;/usr/local/include/pthread.h:285: error: conflicting types for 'pthread_t'&lt;BR /&gt;/usr/include/sys/signal.h:108: error: previous declaration of 'pthread_t'&lt;/SYS&gt;</description>
      <pubDate>Sat, 16 Aug 2008 14:57:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125028#M678018</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-16T14:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125029#M678019</link>
      <description>Sorry I didn't understand your question.&lt;BR /&gt;&lt;BR /&gt;/usr/local/include/pthread.h:285&lt;BR /&gt;typedef struct  pthread_st              *pthread_t; &lt;BR /&gt;&lt;BR /&gt;/usr/include/sys/signal.h:108&lt;BR /&gt;&lt;BR /&gt;typedef int     pthread_t;&lt;BR /&gt;&lt;BR /&gt;Lars</description>
      <pubDate>Sat, 16 Aug 2008 15:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125029#M678019</guid>
      <dc:creator>Lars Ebeling</dc:creator>
      <dc:date>2008-08-16T15:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125030#M678020</link>
      <description>Your gnu header is garbage.  A pthread_t is not a pointer.&lt;BR /&gt;&lt;BR /&gt;You could try renaming it to pthread.h.save and try recompiling.</description>
      <pubDate>Sat, 16 Aug 2008 15:16:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125030#M678020</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-16T15:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125031#M678021</link>
      <description>I'll try that. How about the libraries?&lt;BR /&gt;&lt;BR /&gt;Lars</description>
      <pubDate>Sat, 16 Aug 2008 15:21:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125031#M678021</guid>
      <dc:creator>Lars Ebeling</dc:creator>
      <dc:date>2008-08-16T15:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125032#M678022</link>
      <description>&amp;gt;How about the libraries?&lt;BR /&gt;&lt;BR /&gt;There is only one set of libs, the official HP-UX ones and they agree with the official headers.</description>
      <pubDate>Sat, 16 Aug 2008 15:27:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125032#M678022</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-16T15:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125033#M678023</link>
      <description>I downloaded GNU pthread and had a look. There is a file pthread.h.in which has the same definition as my /usr/local/include/pthread.h&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am now recompiling&lt;BR /&gt;&lt;BR /&gt;Lars</description>
      <pubDate>Sat, 16 Aug 2008 15:46:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125033#M678023</guid>
      <dc:creator>Lars Ebeling</dc:creator>
      <dc:date>2008-08-16T15:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling clamav</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125034#M678024</link>
      <description>I am now recompiling. I think it works. I have remove the /usr/local pthread libs and include&lt;BR /&gt;&lt;BR /&gt;Lars</description>
      <pubDate>Sat, 16 Aug 2008 16:02:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-compiling-clamav/m-p/5125034#M678024</guid>
      <dc:creator>Lars Ebeling</dc:creator>
      <dc:date>2008-08-16T16:02:38Z</dc:date>
    </item>
  </channel>
</rss>

