On 21/05/2010, at 5:10 PM, Török Edwin wrote:
> On 05/21/2010 07:10 AM, James Brown wrote:
>>
>> To get 0.96 to compile I had to use:
>>
>> ./configure --build=i686-apple-darwin8.11.1 --enable-llvm
>>
>> If I do this now configure fails with:
>>
>> checking for inline... inline
>> checking whether FPU byte ordering is bigendian... no
>> checking whether byte ordering is bigendian... no
>> checking for a supported version of gcc... ok (4.0.1)
>> checking for gcc bug PR27603... ok, bug not present
>> checking for gcc bug PR26763-2... ok, bug not present
>> checking for valid code generation of CLI_ISCONTAINED... ok, bug not present
>> checking for gcc bug PR28045... configure: error: your compiler has gcc
>> PR28045 bug, use a different compiler, see
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045
>>
>> If I add the CFLAGS setting, to give:
>>
>> ./configure --build=i686-apple-darwin8.11.1 --enable-llvm CFLAGS="=O0"
>
> You typoed the flag, it should be CFLAGS="-O0" (not =O0).
>
> Best regards,
> --Edwin
How silly of me!
Thanks Edwin.
configure worked fine.
But make still fails at the same spot:
$ make
make all-recursive
Making all in libltdl
make all-am
CC dlopen.lo
CCLD dlopen.la
CC libltdlc_la-preopen.lo
CC libltdlc_la-lt__alloc.lo
CC libltdlc_la-lt_dlloader.lo
CC libltdlc_la-lt_error.lo
CC libltdlc_la-ltdl.lo
CC libltdlc_la-slist.lo
CCLD libltdlc.la
Making all in libclamav
make all-recursive
Making all in c++
make all-am
CXX libclamavcxx_la-bytecode2llvm.lo
CXX libclamavcxx_la-ClamBCRTChecks.lo
CXX MachineFunction.lo
CXX Intercept.lo
CXX JIT.lo
CXX OProfileJITEventListener.lo
CXX CommandLine.lo
CXX GraphWriter.lo
CXX ManagedStatic.lo
CXX raw_ostream.lo
CXXLD libllvmjit.la
CXX ScheduleDAGPrinter.lo
CXX SelectionDAGPrinter.lo
CXXLD libllvmcodegen.la
CXX Alarm.lo
CXX Atomic.lo
CXX Disassembler.lo
CXX DynamicLibrary.lo
CXX Errno.lo
CXX Host.lo
CXX Memory.lo
CXX Mutex.lo
CXX Path.lo
CXX Process.lo
CXX Program.lo
CXX RWMutex.lo
CXX Signals.lo
CXX ThreadLocal.lo
CXX Threading.lo
CXX TimeValue.lo
CXXLD libllvmsystem.la
CXXLD libclamavcxx.la
CC unrar15.lo
CC unrar.lo
CC unrar20.lo
CC unrarppm.lo
CC unrarvm.lo
CC unrarcmd.lo
CC unrarfilter.lo
CC unrarhlp.lo
CCLD libclamunrar.la
warning: no debug map in executable (-arch i386)
CC unrar_iface.lo
CCLD libclamunrar_iface.la
warning: no debug map in executable (-arch i386)
CC libclamav_la-matcher-ac.lo
CC libclamav_la-matcher-bm.lo
CC libclamav_la-matcher.lo
CC libclamav_la-others.lo
CC libclamav_la-readdb.lo
CC libclamav_la-cvd.lo
CC libclamav_la-dsig.lo
CC libclamav_la-scanners.lo
CC libclamav_la-textdet.lo
CC libclamav_la-filetypes.lo
CC libclamav_la-rtf.lo
CC libclamav_la-blob.lo
CC libclamav_la-mbox.lo
CC libclamav_la-message.lo
CC libclamav_la-table.lo
CC libclamav_la-text.lo
CC libclamav_la-ole2_extract.lo
CC libclamav_la-vba_extract.lo
CC libclamav_la-msexpand.lo
CC libclamav_la-pe.lo
CC libclamav_la-pe_icons.lo
CC libclamav_la-disasm.lo
CC libclamav_la-upx.lo
CC libclamav_la-htmlnorm.lo
CC libclamav_la-chmunpack.lo
CC libclamav_la-rebuildpe.lo
CC libclamav_la-petite.lo
CC libclamav_la-wwunpack.lo
CC libclamav_la-unsp.lo
CC libclamav_la-aspack.lo
CC libclamav_la-packlibs.lo
CC libclamav_la-fsg.lo
CC libclamav_la-mew.lo
CC libclamav_la-upack.lo
CC libclamav_la-line.lo
CC libclamav_la-untar.lo
CC libclamav_la-unzip.lo
CC libclamav_la-inflate64.lo
CC libclamav_la-special.lo
CC libclamav_la-binhex.lo
CC libclamav_la-is_tar.lo
CC libclamav_la-tnef.lo
CC libclamav_la-autoit.lo
CC libclamav_la-unarj.lo
CC libclamav_la-bzlib.lo
CC libclamav_la-nulsft.lo
CC libclamav_la-pdf.lo
CC libclamav_la-spin.lo
CC libclamav_la-yc.lo
CC libclamav_la-elf.lo
CC libclamav_la-sis.lo
CC libclamav_la-uuencode.lo
CC libclamav_la-phishcheck.lo
CC libclamav_la-phish_domaincheck_db.lo
CC libclamav_la-phish_whitelist.lo
CC libclamav_la-regex_list.lo
CC libclamav_la-regex_suffix.lo
CC libclamav_la-mspack.lo
CC libclamav_la-cab.lo
CC libclamav_la-entconv.lo
entconv.c: In function 'in_iconv_u16':
entconv.c:732: warning: passing argument 2 of 'libiconv' from incompatible
pointer type
CC libclamav_la-hashtab.lo
CC libclamav_la-dconf.lo
CC libclamav_la-lzma_iface.lo
CC libclamav_la-7z.lo
CC libclamav_la-explode.lo
CC libclamav_la-textnorm.lo
CC libclamav_la-dlp.lo
CC libclamav_la-js-norm.lo
CC libclamav_la-uniq.lo
GEN version.h.tmp
GEN version.h
CC libclamav_la-version.lo
CC libclamav_la-mpool.lo
CC libclamav_la-filtering.lo
CC libclamav_la-fmap.lo
CC libclamav_la-perflogging.lo
CC libclamav_la-sha256.lo
CC libclamav_la-bytecode.lo
CC libclamav_la-bytecode_vm.lo
CC libclamav_la-cpio.lo
CC libclamav_la-macho.lo
CC libclamav_la-ishield.lo
CC libclamav_la-bytecode_api.lo
bytecode_api.c: In function 'cli_bcapi_memstr':
bytecode_api.c:992: warning: pointer targets in passing argument 1 of
'cli_memstr' differ in signedness
bytecode_api.c:992: warning: pointer targets in passing argument 3 of
'cli_memstr' differ in signedness
bytecode_api.c:992: warning: pointer targets in assignment differ in signedness
bytecode_api.c: In function 'cli_bcapi_hex2ui':
bytecode_api.c:1005: warning: pointer targets in passing argument 1 of
'cli_hex2str_to' differ in signedness
bytecode_api.c:1005: warning: pointer targets in passing argument 2 of
'cli_hex2str_to' differ in signedness
CC libclamav_la-bytecode_api_decl.lo
CC libclamav_la-cache.lo
CC libclamav_la-bignum.lo
CC libclamav_internal_utils_la-str.lo
CC libclamav_internal_utils_la-others_common.lo
CC libclamav_internal_utils_la-qsort.lo
CC libclamav_internal_utils_la-regcomp.lo
CC libclamav_internal_utils_la-regerror.lo
CC libclamav_internal_utils_la-regexec.lo
CC libclamav_internal_utils_la-regfree.lo
CCLD libclamav_internal_utils.la
CCLD libclamav.la
ld: Undefined symbols:
__Unwind_Resume
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command
failed
make[4]: *** [libclamav.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml