Fw: problems building RTEMS 4.6.99.3
Robert S. Grimes
rsg at alum.mit.edu
Thu Dec 28 15:18:39 UTC 2006
Hi Avy,
Not sure, but don't these lines look funny to you?
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
I'm not sure which cpp it is looking at (host or target), but I would
expect something like /usr/bin/cpp (host) or
/opt/rtems-tools-4.7/bin/powerpc-rtems-cpp (target). I know _my_ cygwin
has no /lib/cpp. I did check, and my Gentoo Linux box _does_ have a
/lib/cpp. Again, I don't know what the configure script is looking for,
but in case it is looking for the host flavor, I would try (naively,
perhaps) creating a symbolic link (e.g. ln -s /usr/bin/cpp /lib/cpp) and
see if that works.
Funny, I didn't have that problem...
-Bob
avy st wrote:
> Hello all,
>
> I'm trying to build the RTEMS toolset and RTEMS 4.6.99.3 for powerpc,
> hosted on cygwin, and supporting Ada. I followed pretty much the
> instructions givn on
> http://www.rtems.com/wiki/index.php/BuildingUnderCygwin (with the
> required modifications needed for Ada building), and got a problem
> when building RTEMS itself which blows with the following message:
>
>
> checking for RTEMS_NETWORKING... no
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
> configure: error:
> ../../../../../../../source/rtems-4.6.99.3/c/src/../../testsuites/samples/configure
> failed for samples
> configure: error: /bin/sh
> '../../../../../../source/rtems-4.6.99.3/c/src/../../testsuites/configure'
> failed for ../../testsuites
> make[2]: *** [psim] Error 1
> make[2]: Leaving directory
> `/cygdrive/d/BuildGccCygwin/powerpc-rtems-4.7-tools/rtems-4.6.99.3/powerpc-rtems/c'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/cygdrive/d/BuildGccCygwin/powerpc-rtems-4.7-tools/rtems-4.6.99.3/powerpc-rtems/c'
> make: *** [all-recursive] Error 1
>
>
> The config.log and the end of the make log of the make output are
> enclosed.
> Any Ideas?
> Thanks
> Avy Strominger
> astrominger at yahoo.com <mailto:astrominger at yahoo.com>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>
More information about the users
mailing list