There is currently a known issue with building the ClamAV Bytecode Compiler for Debian machines using gcc-4.7.2 and g++-4.7.2. The best way to resolve the issue is to build the bytecode compiler with a different version of the gcc and g++ compilers.
The bytecode compiler should be able to be built with gcc-4.4 and g++-4.4. I would need your config.log to gather more accurate diagnostics. Thanks: Kevin On Mon, Nov 25, 2013 at 6:57 AM, Cristoforo Nardone <cris...@gmail.com>wrote: > Hi, > > I am trying to compile the ClamAV Bytecode Compiler, I am on a Linux > machine with with these characteristics: > > > OS: Debian Wheezy > KERNEL: Debian 3.2.51-1 x86_64 GNU/Linux > GCC: 4.7.2 > Perl: 5.14.2 > make: 3.81 > Python: 2.7.3 > > I get this error when try to compile: > > llvm[3]: Linking Release Loadable Module LLVMHello.so > g++: error: unrecognized command line option ‘-module’ > make[3]: *** [/home/pasta/Scrivania/TESI/clamav/clamav-bytecode- > compiler/obj/Release/lib/LLVMHello.so] Error 1 > make[3]: Leaving directory `/home/pasta/Scrivania/TESI/ > clamav/clamav-bytecode-compiler/obj/lib/Transforms/Hello' > make[2]: *** [Hello/.makeall] Error 2 > make[2]: Leaving directory `/home/pasta/Scrivania/TESI/ > clamav/clamav-bytecode-compiler/obj/lib/Transforms' > make[1]: *** [all] Error 1 > make[1]: Leaving directory `/home/pasta/Scrivania/TESI/ > clamav/clamav-bytecode-compiler/obj' > make: *** [clambc-only] Error 2 > > I really need to get the ClamAV Bytecode Compiler and thank you in advance > who will try to help. > > ps: I'm sorry for my bad english but I'm Italian > > _______________________________________________ > http://lurker.clamav.net/list/clamav-devel.html > Please submit your patches to our Bugzilla: http://bugs.clamav.net _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net