On So 28 Mrz 2004 03:45:02p Fred Flintstone wrote:

> /root/clam/clamav-0.68/libclamav/.libs/libclamav.so: undefined
> reference to `strtok_r' collect2: ld returned 1 exit status

Hi,

I had similar problems, here is a patch which could give a hint:

--- ./libclamav/mbox.c  Wed Jan 28 11:15:24 2004
+++ ./libclamav/mbox.c  Sun Feb  1 09:57:08 2004
@@ -132,11 +132,11 @@
 #include "defaults.h"
 #include "str.h"

-#if    defined(NO_STRTOK_R) || !defined(CL_THREAD_SAFE)
+//#if  defined(NO_STRTOK_R) || !defined(CL_THREAD_SAFE)
 #undef strtok_r
 #undef __strtok_r
 #define strtok_r(a,b,c)        strtok(a,b)
-#endif
+//#endif

 /* required for AIX and Tru64 */
 #ifdef TRUE

Greetings, spiralvoice



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to