On 05/21/2010 07:10 AM, James Brown wrote:
> I had issues upgrading to 0.96 on my Intel OS X 10.4.11 (Tiger) machine, and 
> now I'm having problems upgrading to 0.96.1.
> 
> If I run:
> 
> ./configure CFLAGS="-O0"
> 
> it configures OK but 'make' ends in:
> 
>   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
> 
> 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
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to