Fw: problems building RTEMS 4.6.99.3

avy st astrominger at yahoo.com
Thu Dec 28 18:00:24 UTC 2006


Hello All,
  Someprogress:  after doing some searching, the offending directory (where the wrong check is made) is rtems/testsuites/samples.  deleting the samples directory from the testsuites directory allowed the build to continue (and to fall on the next bug, but this will be reported shortly in another thread).
  I'm far from being an expert on the configure.ac and makefile.am stuff, but from looking into configure.ac in the testsuite/samples directory I suspect that the problem shows up because I'm building with --disable-cxx (I also built the compiler without c++ support, since I'm looking for Ada and C only).
  Can any expert comment on that?
Thanks everybody
Avy Atrominger
astrominger at yahoo.com


----- Original Message ----
From: Robert S. Grimes <rsg at alum.mit.edu>
To: avy st <astrominger at yahoo.com>
Cc: RTEMS mailing list <rtems-users at rtems.org>
Sent: Thursday, December 28, 2006 6:30:22 PM
Subject: Re: Fw: problems building RTEMS 4.6.99.3


Sorry that didn't work.  Try linking to the host flavor?

Anyway, I agree it's only a hack, but it's the best I can do for you
until one of the more knowledgeable people give you a better one!

Good luck!
-Bob

avy st wrote:
> Hello Bob,
>  
>   I saw the line.  It looked wierd to me as well, but I had no clue
> why the sanity check refered to /lib/cpp.  You gave a possible answer
> - there are some configurations where there should be a /lib/cpp, and
> probably what we see is a configuration file bug, that mis-interprets
> my configuration.  The question is - where, and how do I locate the bug?
>  
>   As for your suggestion, I tried it (I tried linking it to the target
> flavor, though).  It didn't work.  Even if it did, it would be a hack,
> and a correction was still needed. 
> Avy
> ----- Original Message ----
> From: Robert S. Grimes <rsg at alum.mit.edu>
> To: avy st <astrominger at yahoo.com>
> Cc: RTEMS mailing list <rtems-users at rtems.org>
> Sent: Thursday, December 28, 2006 5:18:39 PM
> Subject: Re: Fw: problems building RTEMS 4.6.99.3
>
> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20061228/197dc29b/attachment.html>


More information about the users mailing list