Building Cyrus with GCC 4.0+ (Debian Etch), autoconf issues
Rudy Gevaert
Rudy.Gevaert at UGent.be
Fri Jun 22 02:09:02 EDT 2007
Hello Bron,
Bron Gondwana wrote:
> I'm in the process of rebuilding all our packages to target Debian Etch
> rather than Debian Sarge so we can switch our infrastructure forwards
> once I'm happy it's all stable.
>
> Our Cyrus build is one of the most tricky ones, so I thought I should
> compare config.h and the output of running configure under each system.
>
> Imagine my surprise when I discovered that GCC 4.1.2 on Debian Etch didn't
> support either PIC or __attribute__!
>
> Some searcing found:
>
> http://lkml.org/lkml/2005/6/12/61
> http://lists.apple.com/archives/unix-porting/2005/Jul/msg00040.html
>
> and many other descriptions, basically:
>
> "This is because function prototype declarations in nested scopes are
> no longer accepted. The fix is to remove redundant declarations, or
> to move non-redundant ones to the top level."
>
> The affected files that I can see (in my cyrus 2.3.8) are:
>
> cmulocal/c-fpic.m4
> cmulocal/c-attribute.m4
I'm compiling on etch right now, but am not using --with=cmulocal, so I
guess I don't have to worry?
Kind regards,
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert Rudy.Gevaert at UGent.be tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen Systems group
Universiteit Gent Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
More information about the Info-cyrus
mailing list