Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-17 Thread James Kosin
Török Edwin wrote: > On 2008-09-17 17:28, James Kosin wrote: >> S.Madge wrote: >> >>> That works! Are there any negative consequences by using this trick? >>> >>> >> Only down side is you will have to do it every time you rebuild samba; > > I don't see anybody talking about samba in this t

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-17 Thread Török Edwin
On 2008-09-17 17:28, James Kosin wrote: > S.Madge wrote: > >> That works! Are there any negative consequences by using this trick? >> >> > > Only down side is you will have to do it every time you rebuild samba; I don't see anybody talking about samba in this thread ;) --Edwin ___

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-17 Thread James Kosin
S.Madge wrote: > That works! Are there any negative consequences by using this trick? > Only down side is you will have to do it every time you rebuild samba; until you or someone else finds out why it isn't working. James signature.asc Description: OpenPGP digital signature _

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-17 Thread Török Edwin
On 2008-09-17 17:12, S.Madge wrote: > That works! Are there any negative consequences by using this trick? > Nope. The strcasestr implementation in libc is usually faster, but I don't think that is the case for openbsd 4.0. Still, I don't know why this happened, because configure detected that

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-17 Thread S.Madge
That works! Are there any negative consequences by using this trick? On Wed, 2008-09-17 at 10:58 +0300, Török Edwin wrote: > On 2008-09-17 10:50, S.Madge wrote: > > Is it an idea to try to enable the alternate implementation str.c instead > > of > > strcasestr? Or are there negative consequences

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-17 Thread Török Edwin
On 2008-09-17 10:50, S.Madge wrote: > Is it an idea to try to enable the alternate implementation str.c instead of > strcasestr? Or are there negative consequences in doing that? > > You can edit clamav-config.h, and change the #define HAVE_STRCASESTR to #undef HAVE_STRCASESTR. Best regards,

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-17 Thread S.Madge
Is it an idea to try to enable the alternate implementation str.c instead of strcasestr? Or are there negative consequences in doing that? Stan -- Works fine: # gcc -o foo foo.c && ./foo StrCASeSTR On Tue, 2008-09-16 at 13:08 +0300, Török Edwin wrote: > gcc -o foo foo.c && ./foo > _

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-16 Thread S.Madge
Works fine: # gcc -o foo foo.c && ./foo StrCASeSTR On Tue, 2008-09-16 at 13:08 +0300, Török Edwin wrote: > gcc -o foo foo.c && ./foo > -- Met vriendelijke groeten, Stanford Madge Nederlands Forensisch Instituut - Digitale Technologie en Biometrie T +31(0)70 888 6 519 F +31(0)70 888 6 559 E

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-16 Thread Török Edwin
On 2008-09-16 12:55, S.Madge wrote: > I changed the command a little (nm in openbsd does not support the > dynamic parameter and the libraries are in /usr/lib and some > in /usr/local/lib): > > # grep strcasestr /usr/include/* > /usr/include/string.h:char *strcasestr(const char *,

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-16 Thread S.Madge
I changed the command a little (nm in openbsd does not support the dynamic parameter and the libraries are in /usr/lib and some in /usr/local/lib): # grep strcasestr /usr/include/* /usr/include/string.h:char *strcasestr(const char *, const char *); # nm /usr/lib/libc* | grep str

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-16 Thread Török Edwin
On 2008-09-16 11:49, S.Madge wrote: > /* Define to 1 if you have the `strcasestr' function. */ > #define HAVE_STRCASESTR 1 > According to this you have strcasestr. What does the following output: $ grep strcasestr /usr/include/* $ nm -D /lib/libc* | grep strcasestr Best regards, --Edwin

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-16 Thread S.Madge
Here it is: # cat clamav-config.h /* clamav-config.h. Generated from clamav-config.h.in by configure. */ /* clamav-config.h.in. Generated from configure.in by autoheader. */ /* enable bind8 compatibility */ /* #undef BIND_8_COMPAT */ /* "build clamd" */ #define BUILD_CLAMD 1 /* name of the

Re: [Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-16 Thread Török Edwin
On 2008-09-16 11:21, S.Madge wrote: > Hi list, > > I am trying to compile clamav 0.94 on an i386 openbsd 4.0 system. The > make command breaks with the following error message: > -- > Making all in clamscan > /bin/sh ../libtool --tag=CC--mode=link gcc -g -O2-o clamscan

[Clamav-users] Cannot compile clamav 0.94 on i386 openbsd 4.0

2008-09-16 Thread S.Madge
Hi list, I am trying to compile clamav 0.94 on an i386 openbsd 4.0 system. The make command breaks with the following error message: -- Making all in clamscan /bin/sh ../libtool --tag=CC--mode=link gcc -g -O2-o clamscan output.o getopt.o cfgparser.o misc.o options.o