This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

error of building gcc4.2.1 on ubuntu7.04, i86.


Hi there,

I'm trying to install gcc 4.2.1 on ubuntu 7.04, i86. I used the user
"paul" to install. According to the
instruction, I created two directories: srcdir and
objdir for the source code and compiled objects, respectively, and then did
the following:

1. paul@paul-laptop:~/gcc/gcc-4.2.1/objdir$ ../srcdir/configure
2. paul@paul-laptop:~/gcc/gcc-4.2.1/objdir$ sudo make

Now, there were the following errors:
make[3]: *** No rule to make target
`../../../srcdir/fixincludes/../gcc/BASE-VER', needed by `mkheaders'.
Stop.
make[3]: Leaving directory
`/home/paul/gcc/gcc-4.2.1/objdir/build-i686-pc-linux-gnu/fixincludes'
make[2]: *** [all-build-fixincludes] Error 2
make[2]: Leaving directory `/home/paul/gcc/gcc-4.2.1/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/paul/gcc/gcc-4.2.1/objdir'
make: *** [all] Error 2

I would be really appreciated for any advices...

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]