Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 16:10:00 +0100
From:      "Jan-Peter Koopmann" <Jan-Peter.Koopmann@seceidos.de>
To:        "Marius Strobl" <marius@alchemy.franken.de>
Cc:        ports@freebsd.org
Subject:   RE: Clamav-0.65 / Linker error on FreeBSD4.8-STABLE
Message-ID:  <B9D9BD71E387E24AB1D619FE4B748CC70C7CDD@ERWIN.intern.seceidos.de>

next in thread | raw e-mail | index | archive | help
Hi,

On a different system I am getting


Making all in clamscan
/bin/sh ../libtool --mode=3Dlink cc  -O -pipe  -I/usr/local/include -O
-pthread -L/usr/local/lib -lcipher -o clamscan  clamscan.o options.o
getopt.o others.o manager.o  treewalk.o  -L../libclamav -lclamav
cc -O -pipe -I/usr/local/include -O -o clamscan clamscan.o options.o
getopt.o others.o manager.o treewalk.o  -L/usr/local/lib -lcipher
-L/usr/ports/security/clamav/work/clamav-0.65/libclamav
/usr/local/lib/libclamav.so -lz -lbz2 -lc_r -Wl,--rpath
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider
using mkstemp()
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider
using mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is not
recommended.
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider
using mkstemp()
clamscan.o: In function `clamscan':
clamscan.o(.text+0xab): undefined reference to `cl_debug'
manager.o: In function `scanmanager':
manager.o(.text+0x202): undefined reference to `cl_strerror'
manager.o(.text+0x24b): undefined reference to `cl_strerror'
manager.o(.text+0x29f): undefined reference to `cl_strerror'
manager.o(.text+0x555): undefined reference to `cl_gentemp'
manager.o: In function `scancompressed':
manager.o(.text+0xfb5): undefined reference to `cl_gentemp'
manager.o: In function `scandenied':
manager.o(.text+0x1915): undefined reference to `cl_gentemp'
manager.o: In function `checkfile':
manager.o(.text+0x1c0a): undefined reference to `cl_strerror'
manager.o: In function `checkstdin':
manager.o(.text+0x1cae): undefined reference to `cl_strerror'
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.65/clamscan.
*** Error code 1

Now. What's wrong here?

Regards,
  JP



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9D9BD71E387E24AB1D619FE4B748CC70C7CDD>