On 10/18/2011 02:37 AM, Renato Botelho wrote: > There is a problem building 0.97.3 on FreeBSD with external > llvm, a user has reported 0.97.2 has the same problem. > Follow > the error message: > > gmake[3]: Leaving directory > `/work/a/ports/security/clamav/work/clamav-0.97.3/libltdl' > gmake[2]: Leaving directory > `/work/a/ports/security/clamav/work/clamav-0.97.3/libltdl' > Making all in libclamav > gmake[2]: Entering directory > `/work/a/ports/security/clamav/work/clamav-0.97.3/libclamav' > gmake all-recursive > gmake[3]: Entering directory > `/work/a/ports/security/clamav/work/clamav-0.97.3/libclamav' > Making all in c++ > gmake[4]: Entering directory > `/work/a/ports/security/clamav/work/clamav-0.97.3/libclamav/c++' > gmake all-am > gmake[5]: Entering directory > `/work/a/ports/security/clamav/work/clamav-0.97.3/libclamav/c++' > CXX libclamavcxx_la-bytecode2llvm.lo > /bin/sh ./libtool --silent --tag=CXX --mode=compile c++ > -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I/usr/local/include > -I./../.. -I./.. -I./../../ -I/usr/local/include -DNDEBUG > -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 > -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -Wcast-qual > -fexceptions -DLLVM28 -DLLVM29 -O2 -pipe -march=i486 > -fno-strict-aliasing -c -o libclamavcxx_la-bytecode2llvm.lo `test -f > 'bytecode2llvm.cpp' || echo './'`bytecode2llvm.cpp > CXX libclamavcxx_la-ClamBCRTChecks.lo > /bin/sh ./libtool --silent --tag=CXX --mode=compile c++ > -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I/usr/local/include > -I./../.. -I./.. -I./../../ -I/usr/local/include -DNDEBUG > -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 > -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -Wcast-qual > -fexceptions -DLLVM28 -DLLVM29 -O2 -pipe -march=i486 > -fno-strict-aliasing -c -o libclamavcxx_la-ClamBCRTChecks.lo `test -f > 'ClamBCRTChecks.cpp' || echo './'`ClamBCRTChecks.cpp > ClamBCRTChecks.cpp:37:29: error: PointerTracking.h: No such file or directory
The file is in the git repository, but it was missing from Makefile.am and as such 'make dist' didn't add it to the release tarballs. The file is only used when building with external LLVM. You can get the file from here and drop it in libclamav/c++: http://git.clamav.net/gitweb?p=clamav-devel.git;a=blob_plain;f=libclamav/c%2B%2B/PointerTracking.h;hb=13b8484e6d9fe77f07554591f914554aa8c703e3 Best regards, --Edwin _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net