build SID fail....

classic Classic list List threaded Threaded
2 messages Options
s88
Reply | Threaded
Open this post in threaded view
|

build SID fail....

s88
Hi all:

I'm trying to build the SID on the CVS in my Ubuntu 6.06.
While I did the make operation, I got the following message...

checking whether c++ accepts -g... no
checking dependency style of c++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[1]: *** [configure-sid] Error 1
make[1]: Leaving directory `/home/s88/work/sid/sid-cvs/build'
make: *** [all] Error 2

I have tried the gcc-2.95 and gcc-3.4, but all of them show this message...
How could I slove this problem?!!

Thanks.

Dave.

--
System  on Chip Design  Lab.
Dept. of Computer Science and Information Engineering,
National Chung Cheng University
E-mail : [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: build SID fail....

Dave Brolley-2
These messages suggest that the C++ compiler is not working. You should
check to see that it has been installed correctly and is on your PATH.

s88 wrote:

> Hi all:
>
> I'm trying to build the SID on the CVS in my Ubuntu 6.06.
> While I did the make operation, I got the following message...
>
> checking whether c++ accepts -g... no
> checking dependency style of c++... none
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
> make[1]: *** [configure-sid] Error 1
> make[1]: Leaving directory `/home/s88/work/sid/sid-cvs/build'
> make: *** [all] Error 2
>
> I have tried the gcc-2.95 and gcc-3.4, but all of them show this
> message...
> How could I slove this problem?!!
>
> Thanks.
>
> Dave.
>