On Wednesday 16 June 2004 18:21, Michael Schloh von Bennewitz wrote: > Hello Steffen, > > On Mon, May 24, 2004, Steffen Hansen wrote: > > /kolab/bin/cc -O2 -pipe -o clamscan output.o getopt.o memory.o > > cfgparser.o clamscan.o options.o others.o manager.o treewalk.o > > -L/kolab/lib > > -L/kolab/RPM/TMP/clamav-0.71/libclamav /kolab/lib/libclamav.a > > -lz /usr/lib/libbz2.so -lpthread > > > > clamscan.o(.text+0x5d4): In function `clamscan': > > : undefined reference to `cl_settempdir' > > > > clamscan.o(.text+0x5fb): In function `clamscan': > > : undefined reference to `cl_settempdir' > > > > collect2: ld returned 1 exit status > > make[2]: *** [clamscan] Error 1 > > make[1]: *** [all-recursive] Error 1 > > make: *** [all] Error 2 > > error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.47209 (%build) > > > > Notice that it links to whatever /kolab/lib/libclamav.a is > > installed instead of the one in the builddir. > > > > NB: Where the is the right place to report such things? > > There's a new package, > > ftp://ftp.openpkg.org/current/SRC/clamav-0.73-20040615.src.rpm > > so I wonder if anything has gotten fixed by the vendor. The build > farm is reporting success with this package, so if you still have > problems please tell exactly which platform (OS version and > architecture) as well as OpenPKG version.
I did not have time to try out 0.73 yet, but I figured out that 0.72 and older only build on a system that does not have an old clamav installed already. So the problem only shows if there already is a /kolab/lib/libclamav.a on the system. If clamav is removed prior to building the new package, it works nicely. My system is SuSE Linux 9.0/x86. regards -- Steffen Hansen | Klar�lvdalens Datakonsult AB Senior Software Engineer| http://www.klaralvdalens-datakonsult.se | | Platform-independent | software solutions ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
