Tomasz Kojm wrote:

I don't have access and am not familiar with OpenBSD, so I hope Flinn will
create a patch for that -lc_r problem ;)

As promissed, here it is
3.3 systems do not require -lc_r
3.1 systems do
patches and ports attached for 3.1, and 3.3
I have not tested the 3.3 port or patch....but it _SHOULD_ work anyway someone please verify


Clamav compiles under NetBSD but clamd is disabled by default - does NetBSD support POSIX threads ?

No NetBSD does not have native pthreads (as far as I know)


Best regards, Tomasz Kojm

Regards,
Flinn

Attachment: 33-clamav-20030522.tgz
Description: Binary data


Attachment: 31-clamav-20030522.tgz
Description: Binary data

$OpenBSD$
--- configure.orig      Mon May 26 19:47:35 2003
+++ configure   Mon May 26 19:47:54 2003
@@ -9033,7 +9033,7 @@ _ACEOF
     ;;
 openbsd*)
     if test "$have_pthreads" = "yes"; then
-       LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -pthread"
+       LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -pthread -lc_r"
        CLAMD_LIBS="-pthread -lc_r"
        TH_SAFE="-thread-safe"
        cat >>confdefs.h <<\_ACEOF
$OpenBSD$
--- configure.orig      Mon May 26 20:08:20 2003
+++ configure   Mon May 26 20:08:37 2003
@@ -9034,7 +9034,7 @@ _ACEOF
 openbsd*)
     if test "$have_pthreads" = "yes"; then
        LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -pthread"
-       CLAMD_LIBS="-pthread -lc_r"
+       CLAMD_LIBS="-pthread"
        TH_SAFE="-thread-safe"
        cat >>confdefs.h <<\_ACEOF
 #define CL_THREAD_SAFE 1

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to