[collectd] [PATCH] fix compile ifndef HAVE_GCRYPT_H

Florian Forster octo at verplant.org
Fri Apr 17 10:30:53 CEST 2009


Hi Doug,

thanks for the patch, it's applied. I've tested again with
`--with-libgcrypt=no' so all the defines and variables are in the right
place..

I've seen another problem in one of the build logs (a *big* thanks for
this wonderful installation!):
<http://hudson.hyperic.com/job/collectd-master-amd64-linux-2.6/4/console>
network.c: In function `networt_send_buffer_encrypted':
network.c:2087: warning: passing arg 1 of `gcry_randomize' from incompatible pointer type
network.c:2095: warning: passing arg 1 of `gcry_randomize' from incompatible pointer type

Could you tell me the version of libgcrypt on that machine and the
prototype of the `gcry_randomize' function? On all my machines the
prototype is
  void gcry_randomize (void *buffer, size_t length,
       enum gcry_random_level level);
which should be fine.

I'm having the (Debian) versions `1.2.3-2' and `1.4.4-2', the (Fedora)
version `1.2.4-6' you quoted in your mail should be right between them.
I'd be surprised if the gcrypt people changes the prototype and then
changed it back..?

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090417/632d9444/attachment-0001.pgp 


More information about the collectd mailing list