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

Mailing List Archive: ClamAV: users

Forward del messaggio di Nikolaj Wicker riguardo a clamav-milter

 

 

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


l.gibelli at oltrelinux

Aug 15, 2003, 9:52 AM

Post #1 of 2 (390 views)
Permalink
Forward del messaggio di Nikolaj Wicker riguardo a clamav-milter

Dear Nikolaj,

the mailing-list moved to clamav-users [at] lists Please use the
new address. I'm forwarding your email to the list...

----- Forwarded message from Nikolaj Wicker <n.wicker [at] cnk-networks> -----

From: Nikolaj Wicker <n.wicker [at] cnk-networks>
To: users [at] clamav
Subject: clamav-milter

hallo list,
i am trying to compile clamav 0.60 and clamav-20030806 on a sun solaris
SPARC box. the make-process went fine with one exeption. trying to
compile clamav-milter produces some errors which prevent
code-generation.

configure options were:

./configure --prefix=/usr/local --sysconfdir=/etc --enable-milter

make uses:
gcc -g -O2 -Dstrerror_r=strerror -o clamav-milter clamav-milter.o
../clamd/cfgfile.o ../clamd/others.o
-L/export/home/nwicker/Solaris-Softwar
e/ClamAV/clamav-20030806/libclamav -L/usr/lib/libmilter -lmilter
-lpthread -lsocket -lnsl -lresolv

the errors produced were:

Undefined first referenced
symbol in file
strerror_r clamav-milter.o
getopt_long clamav-milter.o
ld: fatal: Symbol referencing errors. No output written to clamav-milter
collect2: ld returned 1 exit status

use of -Dstrerror_r=strerror option didn' t work and i've got no idea
how to fix the getopt_long problem.

any help appreciated.

Nikolaj Wicker


--
Nikolaj Wicker fon
+49-(0)7248/9150-0
cnk networks gmbh fax
+49-(0)7248/9150-50
becker-goering-strasse 26/1 info [at] cnk-networks
Germany, 76307 karlsbad


----- End forwarded message -----

--
Luca Gibelli (l.gibelli [at] oltrelinux || luca [at] gibelli)
PGP Fingerprint: EC7C D6D2 D754 89F8 BDE8 8924 6341 3B07 C2F3 9102
Key Available at: http://gibelli.oltrelinux.com/gibelli.asc


BOFH excuse 211:
User was distributing pornography on server; system seized by FBI.


njh at bandsman

Aug 17, 2003, 2:34 AM

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

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

On Friday 15 Aug 2003 5:27 pm, Luca Gibelli wrote:

> use of -Dstrerror_r=strerror option didn' t work and i've got no idea
> how to fix the getopt_long problem.

When you say it "didn't work", what did you do? Did you change the makefile and type make,
did you run reconfigure, did you "rm *.o" before rerunning make? What error message(s) did you get?

The phrase "use of -Dstrerror_r=strerror option didn't work" gives me nothing to go on since
I can't work out from that what commands you ran.

I can no longer convince clamav's configure system to build clamav-milter on Solaris so you're on your own with this on.

If you're lucky and can get the configure script to build clamav-milter on Solaris (pray do tell how you did it - until someone
sorts it out I can't support clamav-milter on Solaris), what you should do in the clamav-milter directory is:

add -Dstrerror_r=strerror to the makefile compilation flags DEFS= line
add -lresolv to the LIBS= line
typed "make clean"
typed "make"

- -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/P0uihTUd3VwpF6IRAvstAJ0cu2CHIenNKiTIDPyyO61LFvPoMgCeJKPV
XZ6+iM0CXg3HTpGo9nqpsmM=
=uTLE
-----END PGP SIGNATURE-----

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.