Issue with GCC 4.4.0 and Cyrus-SASL, and fix

Thomas Trepl thomas at equinox.homelinux.org
Mon Aug 10 09:22:19 PDT 2009


Am Sonntag, 9. August 2009 21:52:24 schrieb William Immendorf:
> When I was working on Cyrus-SASL, I got these errors, along with a
> bunch of junk:
>
> digestmd5.c:2718:15: error: #elif with no expression
> digestmd5.c:4037:15: error: #elif with no expression
>
> Both lines looked like this:
>
> {{{
> #elif WITH_DES
> }}}
>
> Thanks to
> http://www.linux-archive.org/crux/266779-compile-cyrus-sasl-error.html and
> http://www.cyrius.com/journal/gcc#gcc-4.4-preprocessor-errors, I found the
> solution: Encase WITH_DES with a defined() thing.
>
or 
  sed -i "s/^#define WITH_DES/& 1/" {saslauthd/,}configure


--
Thomas



More information about the blfs-dev mailing list