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
ClamBCRTChecks.cpp:264: error: ISO C++ forbids declaration of
'PointerTracking' with no type
ClamBCRTChecks.cpp:264: error: expected ';' before '*' token
ClamBCRTChecks.cpp: In member function 'virtual
bool<unnamed>::PtrVerifier::runOnFunction(llvm::Function&)':
ClamBCRTChecks.cpp:130: error: 'PT' was not declared in this scope
ClamBCRTChecks.cpp:130: error: 'PointerTracking' was not declared in this scope
ClamBCRTChecks.cpp:130: error: no matching function for call to
'<unnamed>::PtrVerifier::getAnalysis()'
ClamBCRTChecks.cpp: In member function 'virtual
void<unnamed>::PtrVerifier::getAnalysisUsage(llvm::AnalysisUsage&)
const':
ClamBCRTChecks.cpp:258: error: 'PointerTracking' was not declared in this scope
ClamBCRTChecks.cpp:258: error: no matching function for call to
'llvm::AnalysisUsage::addRequired()'
ClamBCRTChecks.cpp: In member function
'llvm::Value*<unnamed>::PtrVerifier::getPointerBounds(llvm::Value*)':
ClamBCRTChecks.cpp:400: error: 'PT' was not declared in this scope
gmake[5]: *** [libclamavcxx_la-ClamBCRTChecks.lo] Error 1
gmake[5]: Leaving directory
`/work/a/ports/security/clamav/work/clamav-0.97.3/libclamav/c++'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
`/work/a/ports/security/clamav/work/clamav-0.97.3/libclamav/c++'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/work/a/ports/security/clamav/work/clamav-0.97.3/libclamav'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/work/a/ports/security/clamav/work/clamav-0.97.3/libclamav'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/work/a/ports/security/clamav/work/clamav-0.97.3'
gmake: *** [all] Error 2
*** Error code 1

Regards
-- 
Renato Botelho
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to