On 04/23/2010 06:45 AM, Larry Stone wrote:
> I've have 0.96 running just fine (I think) on my PPC Macintosh running
> Leopard (10.5.8) (after applying the patch for bug 1921
> (<https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1921>). But then after
> reading various notes here, realized I should run make check. But it fails
> making 'CXXLD not' with an undefined symbol error. I am way out of my league
> in understanding what this is trying to tell me.
> 
> Make check runs fine for 0.95.3 on the same system and 0.96 make check runs
> fine on an Intel Macintosh running Snow Leopard 10.6.3 .
> 
> From the second run of make check:
> Making check in libltdl
> make  check-am
> make[2]: Nothing to be done for `check-am'.
> Making check in libclamav
> make  check-recursive
> Making check in c++
> make  check-am
> make  libllvmbitreader.la libllvmsupport_nodups.la libllvmsupport.la
> libllvmfull
> codegen.la libllvmasmprinter.la libllvmbitwriter.la libllvmasmparser.la
> libgoogl
> etest.la libllvminterpreter.la count not lli llc llvm-as llvm-dis
> llvmunittest_A
> DT llvmunittest_Support llvmunittest_VMCore llvmunittest_ExecutionEngine
> llvmuni
> ttest_JIT FileCheck \
>           llvmcheck.sh
> make[5]: `libllvmbitreader.la' is up to date.
> make[5]: `libllvmsupport_nodups.la' is up to date.
> make[5]: `libllvmsupport.la' is up to date.
> make[5]: `libllvmfullcodegen.la' is up to date.
> make[5]: `libllvmasmprinter.la' is up to date.
> make[5]: `libllvmbitwriter.la' is up to date.
> make[5]: `libllvmasmparser.la' is up to date.
> make[5]: `libgoogletest.la' is up to date.
> make[5]: `libllvminterpreter.la' is up to date.
> make[5]: `count' is up to date.
>   CXXLD  not
> Undefined symbols:
>   "operator delete(void*)", referenced from:
>       llvm::sys::Path::FindLibrary(std::basic_string<char,
> std::char_traits<char
>> , std::allocator<char> >&)in libllvmsystem.a(Path.o)
>       llvm::sys::Path::getDirectoryContents(std::set<llvm::sys::Path,
> std::less<
> llvm::sys::Path>, std::allocator<llvm::sys::Path> >&,
> std::basic_string<char, st
> d::char_traits<char>, std::allocator<char> >*) constin
> libllvmsystem.a(Path.o)
> (... Many, many lines deleted...)
>       llvm::sys::Program::FindProgramByName(std::basic_string<char,
> std::char_tr
> aits<char>, std::allocator<char> > const&)in libllvmsystem.a(Program.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status

Please open a bugreport, run 'make check V=1', and attach the entire
output to that bugreport.

Also what happens if you do this:
cd unit_tests; make check

Does this one pass?

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to