-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeff Donsbach wrote:

> Yes, but not the same as how ClamAV uses it. In this case, h_error is
> a local variable, so of course the symbol resolves correctly. In real
> code such as ClamAV, h_error is defined in system header files as an
> external variable or a function.
> 
> That test is perfectly ok for testing how many arguments
> gethostbyname_r() takes, however.

Yes, I see you are correct.  freshclam/manager.c depends on the external value,
which is not being defined in HP-UX unless, following your sugestion
CFLAGS='-D_XOPEN_SOURCE' is used.

OK Andrew, you'll have to repeat the build with:

CFLAGS="-D_XOPEN_SOURCE" ./configure
make

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

iEYEARECAAYFAkPqj7QACgkQL3NNweKTRgwY9QCdEIPd9k6bdQSaD3IoBjlQ97PY
BrEAn292QfrfXVbSOC0gqE3YXtgf8rsf
=9KaT
-----END PGP SIGNATURE-----

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

Reply via email to