Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: users

Re: Forward del messaggio di Nikolaj Wicker riguardo a clamav-milter

 

 

ClamAV users RSS feed   Index | Next | Previous | View Threaded


n.wicker at mac

Aug 17, 2003, 6:09 AM

Post #1 of 3 (379 views)
Permalink
Re: Forward del messaggio di Nikolaj Wicker riguardo a clamav-milter

dear nigel,

i tried the settings you mentioned (-Dstrerror_r=strerror (DEFS) and
-lresolv (LIBS)). you can see the results below.

it seems that the solaris strerror-function (string.h) uses only one
argument, the error-number.

any ideas?

kind regards

nikolaj wicker

========================
man strerror says:
....
#include <string.h>

char *strerror(int errnum);

DESCRIPTION
The strerror() function maps the error number in errnum to
an error message string, and returns a pointer to that
string. It uses the same set of error messages as
perror(3C). The returned string should not be overwritten.

RETURN VALUES
The strerror() function returns the string "Unknown error"
if errnum is out of range.
.....

make clean
make
source='clamav-milter.c' object='clamav-milter.o' libtool=no \
depfile='.deps/clamav-milter.Po' tmpdepfile='.deps/clamav-milter.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-Dstrerror_r=strerror -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"clamav\" -DVERSION=\"0.60\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DBUFFSIZE=131072 -DFBUFFSIZE=16384 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_INT_TYPES_H=1 -DHAVE_DLFCN_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_SYS_INTTYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_MMAN_H=1
-DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_MALLOC_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4
-DHAVE_ZLIB_H=1 -DHAVE_BZLIB_H=1 -DCLAMD_USE_SYSLOG=1
-DCLAMAVUSER=\"clamav\" -DCLAMAVGROUP=\"clamav\"
-DDB1NAME=\"viruses.db\" -DDB2NAME=\"viruses.db2\"
-DDATADIR=\"/usr/local/share/clamav\" -DCONFDIR=\"/etc\" -DC_URANDOM=1
-DCL_THREAD_SAFE=1 -DC_SOLARIS=1 -DWORDS_BIGENDIAN=1
-DWORDS_BIGENDIAN=1 -I. -I. -I../clamd -I../libclamav -g -O2 -c
`test -f 'clamav-milter.c' || echo './'`clamav-milter.c
clamav-milter.c: In function `clamfi_envfrom':
clamav-milter.c:635: error: too many arguments to function `strerror'
clamav-milter.c:778: error: too many arguments to function `strerror'
*** Error code 1
make: Fatal error: Command failed for target `clamav-milter.o'
========================


njh at bandsman

Aug 17, 2003, 7:44 AM

Post #2 of 3 (376 views)
Permalink
Re: Forward del messaggio di Nikolaj Wicker riguardo a clamav-milter [In reply to]

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

On Sunday 17 Aug 2003 1:56 pm, Nikolaj Wicker wrote:
> dear nigel,
>
> i tried the settings you mentioned (-Dstrerror_r=strerror (DEFS) and
> -lresolv (LIBS)). you can see the results below.

Unfortunately I can't convince clamav to attempt to compile clamav-milter on my
Solaris machine, so there isn't much I can do because I'm no "configure" guru.

Where did you get the sendmail-devel package from which includes milter support?
(Solaris 2.8 out of the box doesn't support it).

- -Nigel

- --
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh [at] despammed http://www.bandsman.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/P5BrhTUd3VwpF6IRAhh/AKCP7z7Ln6DvNqiqWWuAuHdBZ3JcnQCgl+HZ
ht9Fjp9E4v3i3cRi9BhG02k=
=nQjP
-----END PGP SIGNATURE-----


peter at yahoo

Aug 17, 2003, 2:34 PM

Post #3 of 3 (375 views)
Permalink
Re: Re: Forward del messaggio di Nikolaj Wicker riguardo a clamav-milter [In reply to]

Haven't followed the thread but I assume he's talking about some Linux
RPM package, many on these lists take for granted you run Linux.

Milter should be in the distribution tarball from sendmail.org. Sun
doesn't compile in TLS support either, not even in the more security
oriented Solaris 9, so I'm not surprised they don't enable milter
either. Try compiling it from source.

http://sendmail.org/compiling.html
http://www.milter.org/

/Peter Bonivart

--Unix lovers do it in the Sun

Nigel Horne wrote:
>
> Where did you get the sendmail-devel package from which includes milter support?
> (Solaris 2.8 out of the box doesn't support it).
>
> - -Nigel
>
> - --
> Nigel Horne. Arranger, Composer, Typesetter.
> NJH Music, Barnsley, UK. ICQ#20252325
> njh [at] despammed http://www.bandsman.co.uk

ClamAV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.