make - ClamAV
Доброго дня all,
Во-первых извините за длинное письмо.
Пытаюсь поставить clamav 0.80, на машину под FreeBSD 4.9. При сборке
из портов выдает следующее:
config.status: executing depfiles commands
Installed version of libclamav found.
This might cause build problems.
make all-recursive
Making all in libclamav
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib
-I./mspack -I/usr/local/include -D_THREAD_SAFE -O -pipe -c -o matcher-ac.lo
matcher-ac.c
........
-L/usr/local/lib -lz -lbz2 -lgmp -pthread -Wl,-soname -Wl,libclamav.so.1 -o
.libs/libclamav.so.1
(cd .libs && rm -f libclamav.so && ln -s libclamav.so.1 libclamav.so)
(cd .libs && rm -f libclamav.so && ln -s libclamav.so.1 libclamav.so)
ar cru .libs/libclamav.a matcher-ac.o matcher-bm.o matcher.o md5.o others.o
readdb.o cvd.o dsig.o str.o scanners.o filetypes.o unrarlib.o zzip-dir.o zzip-err.o
zzip-file.o zzip-info.o zzip-io.o zzip-stat.o zzip-zip.o strc.o blob.o mbox.o
message.o snprintf.o strrcpy.o table.o text.o ole2_extract.o vba_extract.o msexpand.o
pe.o cabd.o lzxd.o mszipd.o qtmd.o system.o upx.o htmlnorm.o chmunpack.o rebuildpe.o
petite.o fsg.o line.o untar.o special.o
ranlib .libs/libclamav.a
creating libclamav.la
(cd .libs && rm -f libclamav.la && ln -s ../libclamav.la libclamav.la)
Making all in clamscan
cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav
-I/usr/local/include -D_THREAD_SAFE -O -pipe -c -o output.o `test -f '../shared/output.c'
|| echo './'`../shared/output.c
cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav
-I/usr/local/include -D_THREAD_SAFE -O -pipe -c -o getopt.o `test -f '../shared/getopt.c'
|| echo './'`../shared/getopt.c
cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav
-I/usr/local/include -D_THREAD_SAFE -O -pipe -c -o memory.o `test -f '../shared/memory.c'
|| echo './'`../shared/memory.c
cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav
-I/usr/local/include -D_THREAD_SAFE -O -pipe -c -o cfgparser.o `test -f '../shared/cfgparser.c'
|| echo './'`../shared/cfgparser.c
cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav
-I/usr/local/include -D_THREAD_SAFE -O -pipe -c -o misc.o `test -f '../shared/misc.c'
|| echo './'`../shared/misc.c
cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav
-I/usr/local/include -D_THREAD_SAFE -O -pipe -c clamscan.c
cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav
-I/usr/local/include -D_THREAD_SAFE -O -pipe -c options.c
cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav
-I/usr/local/include -D_THREAD_SAFE -O -pipe -c others.c
cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav
-I/usr/local/include -D_THREAD_SAFE -O -pipe -c manager.c
cc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav
-I/usr/local/include -D_THREAD_SAFE -O -pipe -c treewalk.c
/bin/sh ../libtool --mode=link cc -O -pipe -L/usr/local/lib -pthread -o clamscan
output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o
manager.o treewalk.o ../libclamav/libclamav.la
mkdir .libs
cc -O -pipe -o .libs/clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o
options.o others.o manager.o treewalk.o -L/usr/local/lib ../libclamav/.libs/libclamav.so
-lz -lbz2 -lgmp -Wl,--rpath -Wl,/usr/local/lib
output.o: In function `logg_close':
output.o(.text+0x53): undefined reference to `pthread_mutex_lock'
output.o(.text+0x87): undefined reference to `pthread_mutex_unlock'
output.o: In function `logg':
output.o(.text+0xcb): undefined reference to `pthread_mutex_lock'
output.o(.text+0x11f): undefined reference to `pthread_mutex_unlock'
output.o(.text+0x1a3): undefined reference to `pthread_mutex_unlock'
output.o(.text+0x2fd): undefined reference to `pthread_mutex_unlock'
output.o(.text+0x3af): undefined reference to `pthread_mutex_unlock'
../libclamav/.libs/libclamav.so: undefined reference to `pthread_cleanup_pop'
/libclamav/.libs/libclamav.so: undefined reference to `pthread_cleanup_push'
*** Error code 1
Stop in /usr/ports/security/clamav/work/clamav-0.80/clamscan.
*** Error code 1
Stop in /usr/ports/security/clamav/work/clamav-0.80.
*** Error code 1
Stop in /usr/ports/security/clamav/work/clamav-0.80.
*** Error code 1
Stop in /usr/ports/security/clamav.
Может кто нибуть встречался с подобного рода проблемой, посоветуйте
чо нибуть. Не хочу компилировать "в лоб", хотя так и зделали мои
предшествиники.
Благодарен.
З повагою Войтюк Володимир
Wed, 02 Mar 2005 16:14:42 +0200, Voytyuk Volodymyr <dj***@i*****.ua>
писав:
а может послушать ? и сначала убить старую версию?