At 2:40 PM +0300 5/1/10, Török Edwin wrote:
On 05/01/2010 02:20 PM, Tom Shaw wrote:

 llvm[3]: Compiling ClamBCOptimizers.cpp for Release build

/Users/tshaw/Sites/clamav/clamav-bytecode-compiler/clamav-bytecode-compiler/llvm/lib/Target/ClamBC/ClamBCModule.cpp:
 In member function 'virtual bool ClamBCModule::runOnModule(llvm::Module&)':

/Users/tshaw/Sites/clamav/clamav-bytecode-compiler/clamav-bytecode-compiler/llvm/lib/Target/ClamBC/ClamBCModule.cpp:183:
 error: 'class std::vector<llvm::Value*, std::allocator<llvm::Value*> >'
 has no member named 'data'

Fixed in clambc-0.11-84-g446d4e7.
Please do a 'git pull', and try building again.

Got git but no joy:

llvm[3]: Compiling version.c for Release build
/Users/tshaw/Sites/clamav/clamav-bytecode-compiler/llvm/lib/Target/ClamBC/version.c:1:21: error: version.h: No such file or directory /Users/tshaw/Sites/clamav/clamav-bytecode-compiler/llvm/lib/Target/ClamBC/version.c: In function 'clambc_getversion': /Users/tshaw/Sites/clamav/clamav-bytecode-compiler/llvm/lib/Target/ClamBC/version.c:4: error: 'GIT_VERSION' undeclared (first use in this function) /Users/tshaw/Sites/clamav/clamav-bytecode-compiler/llvm/lib/Target/ClamBC/version.c:4: error: (Each undeclared identifier is reported only once /Users/tshaw/Sites/clamav/clamav-bytecode-compiler/llvm/lib/Target/ClamBC/version.c:4: error: for each function it appears in.) make[3]: *** [/Users/tshaw/Sites/clamav/clamav-bytecode-compiler/obj/lib/Target/ClamBC/Release/version.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/Users/tshaw/Sites/clamav/clamav-bytecode-compiler/llvm/lib/Target/ClamBC/ClamBCWriter.cpp: In member function 'RetTy llvm::InstVisitor<SubClass, RetTy>::visit(llvm::Instruction&) [with SubClass = ClamBCWriter, RetTy = void]': /Users/tshaw/Sites/clamav/clamav-bytecode-compiler/llvm/lib/Target/ClamBC/ClamBCWriter.cpp:413: warning: 'opc' may be used uninitialized in this function /Users/tshaw/Sites/clamav/clamav-bytecode-compiler/llvm/lib/Target/ClamBC/ClamBCWriter.cpp:413: note: 'opc' was declared here
make[2]: *** [ClamBC/.makeall] Error 2
make[1]: *** [all] Error 1
make: *** [clambc-only] Error 2

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to