[Bug 1211] Wrong file locations prevent sucessful build for PowerPC + workaround
Ralf Corsepius
ralf.corsepius at rtems.org
Sat Jan 6 11:30:54 UTC 2007
On Sat, 2007-01-06 at 01:30 -0800, avy st wrote:
> Ralf,
>
> I think that I'm beginning to rn down to the cause of this, and It
> might be an incompatibility between the latest standard cygwin
> environment (which I have) and RTEMS auto configuration files.
As I repeatedly said before (This really is an FAQ):
You need to use an rtems-patched automake or automake >= 1.10 to be run
on the rtems sources - Vanilla automake-1.9 is NOT sufficient.
[Background: We need a patch applied to automake, which had been
incorporated into automake's CVS for more than 2 years, but there had
not been a release since then!
automake-1.10 finally has this patch integrated.]
> The latest standard Cygwin has all automake versions installed, UP TO
> AND INCLUDING 1.10, and automake is a script that selects
> automake-1.10, unless the build scripts EXPLICITLY selects a different
> version. see the attached file, which first lists all automakes
> available in /bin, and than the 'automake' script.
>
> So, I have automake-1.10 installed, ant it is the default automake,
> and that's what we see when I run '$ automake --version'. HOWEVER,
> D:\BuildGccCygwin\source\rtems-4.6.99.3\c\src\lib\libcpu\powerpc
> \configure.ac, line 12 says:
> AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.9])
>
>
> requiring automake-1.9, which resolves to Cygwin vanila 1.96.
Not quite. The AM_INIT_AUTOMAKE line above means this configuration
needs at least automake-1.9. It doesn't mean this configure script needs
exactly automake-1.9.
In later versions of RTEMS (rtems-cvs), this had been changed to 1.10,
so you will need automake-1.10.
We could not change this earlier, because the snapshot you are using
predates automake-1.10, and had required you to use a patched version of
automake-1.9.
You apparently missed this and were using vanilla automake-1.9 instead.
> Am I right?
c.f. above.
> I'm not re-opening the bug, but I think that since Cygwin now have
> automake-1.10, RTEMS build should run on it!
Ralf
More information about the bugs
mailing list