2003-02-16 19:29:30

by Alvaro Barbosa G.

[permalink] [raw]
Subject: > > make: *** No rule to make target `2'. Stop. when make bzImage

Sorry for the lack of info:

Errors happen during:
make bzImage
will add the error file bzI_err
the architecture is for i686
this happen also with phoebe kernel-2.4.20-2.48, i had this problem a few
days ago, so i upgraded gcc, cpp, glibc, rpm to the latest rawhide rpms
15.2.03, but get the same error 'make No rule to make target '2''

alvaro

> > Hi,
> >
> >
> > kernel-2.5.61-1
> > gcc-3.2.2-1
> >
> > make: *** No rule to make target `2'. Stop.
> >
> > Any ideas?


2003-02-16 19:50:40

by Sam Ravnborg

[permalink] [raw]
Subject: Re: > > make: *** No rule to make target `2'. Stop. when make bzImage

On Sun, Feb 16, 2003 at 07:39:21PM +0000, Alvaro Barbosa G. wrote:
> Sorry for the lack of info:
>
> Errors happen during:
> make bzImage
> will add the error file bzI_err
> the architecture is for i686
> this happen also with phoebe kernel-2.4.20-2.48, i had this problem a few
> days ago, so i upgraded gcc, cpp, glibc, rpm to the latest rawhide rpms
> 15.2.03, but get the same error 'make No rule to make target '2''

You did not provide the exact command you are using..
The attached log of the output looks OK. And I did not find the
offending error.

I suspect that the syntax you use to divert output to a file is wrong,
because the above error happens when you execute:
make 2

Try to doublecheck how you invoke make, and check any relevant environment
variables.

Sam

2003-02-16 20:16:20

by Alvaro Barbosa G.

[permalink] [raw]
Subject: Re: > > make: *** No rule to make target `2'. Stop. when make bzImage

Hi Sam,

You are completely right, that was pretty silly of me.....!
That make also sence because i couldn`t find any errors in bz_err.
My excuse is that i got this file where i copy and past the commands then
start doing something else....

Thanks again,
alvaro

> > Sorry for the lack of info:
> >
> > Errors happen during:
> > make bzImage
> > will add the error file bzI_err
> > the architecture is for i686
> > this happen also with phoebe kernel-2.4.20-2.48, i had this problem a few
> > days ago, so i upgraded gcc, cpp, glibc, rpm to the latest rawhide rpms
> > 15.2.03, but get the same error 'make No rule to make target '2''
>
> You did not provide the exact command you are using..
> The attached log of the output looks OK. And I did not find the
> offending error.
>
> I suspect that the syntax you use to divert output to a file is wrong,
> because the above error happens when you execute:
> make 2
>
> Try to doublecheck how you invoke make, and check any relevant environment
> variables.
>
> Sam
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/