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

Renato Botelho wrote:
> On Dec 18, 2007 2:36 PM, Gianluigi Tiesi <[EMAIL PROTECTED]> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> I'm not expert using perl
>> and this module uses a strange way
>> to wrap the c api
>> As I see the error code handling
>> is wrong by design, you may fix it
>> by removing the offending defines from ClamAV.pm
> 
> The last problem i have now is to build klamav. It stops to build with
> an "undefined reference to `cli_gentempdesc'". Was this function
> moved, could i change it to another one?
> 
> Thanks

at the top of the file, if c:

extern int cli_gentempfd(const char *dir, char **name, int *fd);

if cpp:
extern "C" int cli_gentempfd(const char *dir, char **name, int *fd);

where is the reference to cli_gentempdesc
char *name;
cli_gentempfd(tmpdir, &name, &fd);

yes it still use internals stuff but this is a workaround
not a solution you should complain to package author :)

Regards


- --
Gianluigi Tiesi <[EMAIL PROTECTED]>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHaAw13UE5cRfnO04RAo6bAJ4pEaTd7dLlKIj9ue0oVyePQac3/ACgy9R3
JIp8OpusjgRZS2TwlYv9iQg=
=q4vx
-----END PGP SIGNATURE-----
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to