
n.wicker at cnk-networks
Aug 15, 2003, 9:48 AM
Post #1 of 2
(1327 views)
Permalink
|
|
Problems compiling 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
|