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

OS: OpenBSD 3.6-stable through 3.7-beta
Compiler: gcc 2.95 (-stable), gcc 3.3.5 (-release and -beta)
ClamAV: 0.83 and -devel (refreshed today)

Options:
./configure --sysconfdir=/etc/clamav --localstatedir=/var
- --infodir=/usr/share/info --mandir=/usr/share/man
- --enable-dependency-tracking --disable-cr --disable-clamuko
- --disable-clamav --with-user=amavisd --with-group=amavisd
- --with-dbdir=/var/db/clamav --with-libcurl
LDFLAGS='-L/usr/local/lib' CPPFLAGS='-I/usr/local/include'

I have tried both from the "official" ports tree and from raw
source.  When trying from raw source I built both unpatched and
using the OpenBSD port tree patches.

In all cases, I get to:

mkdir .libs
gcc -g -O2 -o .libs/clamscan output.o getopt.o memory.o
cfgparser.o misc.o clacan.o options.o others.o manager.o
treewalk.o  -L/usr/local/lib -L../libclamavlibs -lclamav -lbz2
- -lgmp -lcurl -lssl -lcrypto -lz -Wl,-rpath,/usr/local/lib
output.o(.text+0x70): In function `logg_close':
/home/src/virus/clamav-devel/clamscan/../shared/output.c:83:
undefined referen to `pthread_mutex_lock'
output.o(.text+0x89):/home/src/virus/clamav-devel/clamscan/../s
hared/output.c:: undefined reference to `pthread_mutex_unlock'
output.o(.text+0x1ad): In function `logg':
/home/src/virus/clamav-devel/clamscan/../shared/output.c:116:
undefined referee to `pthread_mutex_lock'
output.o(.text+0x2a5):/home/src/virus/clamav-devel/clamscan/../
shared/output.c85: undefined reference to `pthread_mutex_unlock'
output.o(.text+0x39e):/home/src/virus/clamav-devel/clamscan/../
shared/output.c62: undefined reference to `pthread_mutex_unlock'
output.o(.text+0x443):/home/src/virus/clamav-devel/clamscan/../
shared/output.c34: undefined reference to `pthread_mutex_unlock'
output.o(.text+0x462):/home/src/virus/clamav-devel/clamscan/../
shared/output.c23: undefined reference to `pthread_mutex_unlock'
clamscan.o(.text+0x2f4): In function `clamscan':
/home/src/virus/clamav-devel/clamscan/clamscan.c:160: undefined
reference to `_retver'
clamscan.o(.text+0x306):/home/src/virus/clamav-devel/clamscan/c
lamscan.c:161: defined reference to `cl_retver'
clamscan.o(.text+0x540):/home/src/virus/clamav-devel/clamscan/c
lamscan.c:107: defined reference to `cl_settempdir'
clamscan.o(.text+0x564):/home/src/virus/clamav-devel/clamscan/c
lamscan.c:104: defined reference to `cl_settempdir'
manager.o(.text+0x121): In function `scanmanager':
/home/src/virus/clamav-devel/clamscan/manager.c:125: undefined
reference to `cbuild'
manager.o(.text+0x349):/home/src/virus/clamav-devel/clamscan/ma
nager.c:281: unfined reference to `cl_free'
manager.o(.text+0x106f): In function `scancompressed':
/home/src/virus/clamav-devel/clamscan/manager.c:480: undefined
reference to `c_gentemp' manager.o(.text+0x1857): In function
`scandenied':
/home/src/virus/clamav-devel/clamscan/manager.c:686: undefined
reference to `c_gentemp' manager.o(.text+0x1bd8): In function
`checkstdin':
/home/src/virus/clamav-devel/clamscan/manager.c:802: undefined
reference to `c_gentemp' /usr/local/lib/libclamav.so.1.4:
undefined reference to `pthread_cleanup_pop'
/usr/local/lib/libclamav.so.1.4: undefined reference to
`pthread_cleanup_push' collect2: ld returned 1 exit status
*** Error code 1

Stop in /home/src/virus/clamav-devel/clamscan (line 294 of
Makefile). *** Error code 1

Stop in /home/src/virus/clamav-devel (line 354 of Makefile).
*** Error code 1

Stop in /home/src/virus/clamav-devel (line 219 of Makefile).

I seem to recall from long ago, that with OpenBSD there's
something peculiar I need to do.  But I can't recall specifics.

Can someone help me out?

- -- 
Ed Vazquez

Natural abilities are like natural plants, that need pruning by 
study; and studies themselves do give forth directions too much 
at large, except they be bounded in by experience.
- - Francis Bacon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD4DBQFCMK4f661ejQhctJgRAlT4AJ4/TZK3M7BMqDKkG90gQ46hKGVZ6gCYmVbX
z6dyG457g0N9XDL9WS/UeQ==
=mzlP
-----END PGP SIGNATURE-----
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to