RE: [Clamav-users] Re: Problem Upgrading to version 0.88 on HP-UX10.20

2006-02-03 Thread Kaplan, Andrew H.
When compiling version 0.88 of ClamAV, will version 2.95.2 work, or do I need to
upgrade to a newer version of gcc?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaplan, Andrew H.
Sent: Thursday, February 02, 2006 9:03 PM
To: ClamAV users ML
Subject: RE: [Clamav-users] Re: Problem Upgrading to version 0.88 on HP-UX10.20

Hi there --
 
The version of gcc running on the system is 2.95.2 19991024 (release)



From: [EMAIL PROTECTED] on behalf of René Berber
Sent: Thu 2/2/2006 8:06 PM
To: clamav-users@lists.clamav.net
Subject: [Clamav-users] Re: Problem Upgrading to version 0.88 on HP-UX 10.20



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kaplan, Andrew H. wrote:

 I located the netdb.h file in the /usr/include directory as opposed to the
 /usr/local directory. When I checked out its contents, the line that contained
 the text HOST_NOT_FOUND appeared to be commented out. Here is the syntax of
that
 line:
 
 #define HOST_NOT_FOUND   1 /* Authoritative Answer Host not found */

This is a correct definition.  It's not surrounded by #if ... #fi, is it?

 If the file needs to be located in  /usr/local, can a symbolic link be created
 in /usr/local that points to /usr/include?

No, that was my mistake, I wrote the wrong path.

Now back to the original problem, why are those warnings appearing?  Looking at
the code the warning means that h_errno cannot take the value HOST_NOT_FOUND,
h_errno is also defined in netdb.h just above the define.

I can't see how the compiler determined that this part of the code is supposed
to be unreachable (it really is reachable).

That's two strange thing with the compilation, where is the -Werror? and why the
compiler mistakenly thinks that some part of the code is unreachable?

Perhaps I can think of something later.

What version is your gcc?  (i.e. gcc --version)
- --
René Berber
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkPirKAACgkQL3NNweKTRgz7oACg3wkezPfHa1zSMnWpI8E51pNw
fLAAn22NXbnGpBo8SQAS5tdNYdYMGAcn
=/70i
-END PGP SIGNATURE-

___
http://lurker.clamav.net/list/clamav-users.html


___
http://lurker.clamav.net/list/clamav-users.html


[Clamav-users] Re: Problem Upgrading to version 0.88 on HP-UX10.20

2006-02-03 Thread René Berber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kaplan, Andrew H. wrote:

 When compiling version 0.88 of ClamAV, will version 2.95.2 work, or do I need 
 to
 upgrade to a newer version of gcc?

It should work, the manual says you can use versions 2.9.x and 3.x; but if I
where having your problem, I'll give it a try (the easy way: download a
precompiled version of just the c/c++ part of gcc, what's that site in Canada
with all the packages for HP-UX?  I haven't used HP-UX in a while...)

- --
René Berber
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkPjl6wACgkQL3NNweKTRgyQrQCggXcb/UeW2s0/b8t76lzwJNcf
0GgAoLBqO6685/RJdNmK+0zuQeVGHg7Q
=qlcI
-END PGP SIGNATURE-

___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Re: Problem Upgrading to version 0.88 on HP-UX10.20

2006-02-03 Thread Richard Feldmann
René Berber spake thusly on Fri, Feb 03, 2006 at 11:49:32AM -0600:
 It should work, the manual says you can use versions 2.9.x and 3.x; but if I
 where having your problem, I'll give it a try (the easy way: download a
 precompiled version of just the c/c++ part of gcc, what's that site in Canada
 with all the packages for HP-UX?  I haven't used HP-UX in a while...)
--- end quoted text ---

Here's a HP-UX porting center in the UK:

http://hpux.connect.org.uk/

-- 
Did this email or post help you? If so, please rate
me at affero: http://rate.affero.net/RhunDraco


pgphV11QlReJa.pgp
Description: PGP signature
___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Re: Problem Upgrading to version 0.88 on HP-UX10.20

2006-02-03 Thread Jeff Donsbach
Andrew,
Let's step back a minute have you ever been able to compile
ANY version of ClamAV on your 10.20 machine? Or, is this your first
attempt?

It does not look like ClamAV is one of the packages that
hpux.connect.org.uk has ported.

Jeff D
___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] Re: Problem Upgrading to version 0.88 on HP-UX10.20

2006-02-03 Thread Kaplan, Andrew H.
Hi there --

My predecessor was able to install version 0.75 onto the system in question. He
compiled and installed from source. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Donsbach
Sent: Friday, February 03, 2006 6:39 PM
To: ClamAV users ML
Subject: Re: [Clamav-users] Re: Problem Upgrading to version 0.88 on HP-UX10.20

Andrew,
Let's step back a minute have you ever been able to compile
ANY version of ClamAV on your 10.20 machine? Or, is this your first
attempt?

It does not look like ClamAV is one of the packages that
hpux.connect.org.uk has ported.

Jeff D
___
http://lurker.clamav.net/list/clamav-users.html
___
http://lurker.clamav.net/list/clamav-users.html