mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: 2.5.21 make problem
       [not found] <15627.30793.979635.330468@ccs.covici.com>
@ 2002-06-15 17:54 ` Kai Germaschewski
  2002-06-15 22:38   ` John covici
  0 siblings, 1 reply; 7+ messages in thread
From: Kai Germaschewski @ 2002-06-15 17:54 UTC (permalink / raw)
  To: John covici; +Cc: linux-kernel

On Sat, 15 Jun 2002, John covici wrote:

> Cleaning up (boot)
> make[2]: Entering directory `/usr/src/linux-2.5.21/arch/i386/boot/compressed'
> make[2]: Leaving directory `/usr/src/linux-2.5.21/arch/i386/boot/compressed'
> make[1]: Leaving directory `/usr/src/linux-2.5.21/arch/i386/boot'
> Cleaning up
> make[1]: Entering directory `/usr/src/linux-2.5.21/Documentation/DocBook'
> Cleaning up (DocBook)
> make[1]: Leaving directory `/usr/src/linux-2.5.21/Documentation/DocBook'
> make[1]: Entering directory `/usr/src/linux-2.5.21/arch/i386/boot'
> gcc -E  -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA -DRAMDISK=512 bootsect.S -o bbootsect.s
> as -o bbootsect.o bbootsect.s
> ld -m elf_i386 -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect
> make[1]: *** No rule to make target `/usr/src/linux-2.5.21/include/linux/compile.h', needed by `bsetup.s'.  Stop.
> make[1]: Leaving directory `/usr/src/linux-2.5.21/arch/i386/boot'
> make: *** [bzImage] Error 2

What's the command line you're using? It seems like you have "make clean" 
in there, no big surprise that that breaks.

> on Saturday 06/15/2002 Kai Germaschewski(kai@tp1.ruhr-uni-bochum.de) wrote
>  > On Sat, 15 Jun 2002, John covici wrote:
>  > 
>  > > make[1]: Entering directory `/usr/src/linux-2.5.21/arch/i386/boot'
>  > > gcc -E  -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA -DRAMDISK=512 bootsect.S -o bbootsect.s
>  > > as -o bbootsect.o bbootsect.s
>  > > ld -m elf_i386 -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect
>  > > make[1]: *** No rule to make target `/usr/src/linux-2.5.21/include/linux/compile.h', needed by `bsetup.s'.  Stop.
>  > 
>  > I suppose that means that compile.h does not exist at that location, for 
>  > whichever reason. If you do "make" (or just "make SUBDIRS=init"), it 
>  > should be generated. Does it output something something like "Generating 
>  > ../include/linux/compile.h"?
>  > 
>  > Is scripts/mkcompile_h executable?

You applied patches which affect the build without mentioning them. You
didn't answer a single question I asked. That makes it hard to help you.

--Kai



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.5.21 make problem
  2002-06-15 17:54 ` 2.5.21 make problem Kai Germaschewski
@ 2002-06-15 22:38   ` John covici
  2002-06-15 23:00     ` Sam Ravnborg
  0 siblings, 1 reply; 7+ messages in thread
From: John covici @ 2002-06-15 22:38 UTC (permalink / raw)
  To: Kai Germaschewski; +Cc: linux-kernel

I had the bright idea of taking the clean out of there, so I was left
with
make dep bzImage modules_install 2>&1 |tee foo

but that didn't help -- thought it would.

on Saturday 06/15/2002 Kai Germaschewski(kai@tp1.ruhr-uni-bochum.de) wrote
 > On Sat, 15 Jun 2002, John covici wrote:
 > 
 > > Cleaning up (boot)
 > > make[2]: Entering directory `/usr/src/linux-2.5.21/arch/i386/boot/compressed'
 > > make[2]: Leaving directory `/usr/src/linux-2.5.21/arch/i386/boot/compressed'
 > > make[1]: Leaving directory `/usr/src/linux-2.5.21/arch/i386/boot'
 > > Cleaning up
 > > make[1]: Entering directory `/usr/src/linux-2.5.21/Documentation/DocBook'
 > > Cleaning up (DocBook)
 > > make[1]: Leaving directory `/usr/src/linux-2.5.21/Documentation/DocBook'
 > > make[1]: Entering directory `/usr/src/linux-2.5.21/arch/i386/boot'
 > > gcc -E  -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA -DRAMDISK=512 bootsect.S -o bbootsect.s
 > > as -o bbootsect.o bbootsect.s
 > > ld -m elf_i386 -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect
 > > make[1]: *** No rule to make target `/usr/src/linux-2.5.21/include/linux/compile.h', needed by `bsetup.s'.  Stop.
 > > make[1]: Leaving directory `/usr/src/linux-2.5.21/arch/i386/boot'
 > > make: *** [bzImage] Error 2
 > 
 > What's the command line you're using? It seems like you have "make clean" 
 > in there, no big surprise that that breaks.
 > 
 > > on Saturday 06/15/2002 Kai Germaschewski(kai@tp1.ruhr-uni-bochum.de) wrote
 > >  > On Sat, 15 Jun 2002, John covici wrote:
 > >  > 
 > >  > > make[1]: Entering directory `/usr/src/linux-2.5.21/arch/i386/boot'
 > >  > > gcc -E  -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA -DRAMDISK=512 bootsect.S -o bbootsect.s
 > >  > > as -o bbootsect.o bbootsect.s
 > >  > > ld -m elf_i386 -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect
 > >  > > make[1]: *** No rule to make target `/usr/src/linux-2.5.21/include/linux/compile.h', needed by `bsetup.s'.  Stop.
 > >  > 
 > >  > I suppose that means that compile.h does not exist at that location, for 
 > >  > whichever reason. If you do "make" (or just "make SUBDIRS=init"), it 
 > >  > should be generated. Does it output something something like "Generating 
 > >  > ../include/linux/compile.h"?
 > >  > 
 > >  > Is scripts/mkcompile_h executable?
 > 
 > You applied patches which affect the build without mentioning them. You
 > didn't answer a single question I asked. That makes it hard to help you.
 > 
 > --Kai
 > 

-- 
         John Covici
         covici@ccs.covici.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.5.21 make problem
  2002-06-15 22:38   ` John covici
@ 2002-06-15 23:00     ` Sam Ravnborg
  2002-06-16  2:21       ` John covici
  0 siblings, 1 reply; 7+ messages in thread
From: Sam Ravnborg @ 2002-06-15 23:00 UTC (permalink / raw)
  To: John covici; +Cc: Kai Germaschewski, linux-kernel

On Sat, Jun 15, 2002 at 06:38:57PM -0400, John covici wrote:
> I had the bright idea of taking the clean out of there, so I was left
> with
> make dep bzImage modules_install 2>&1 |tee foo
> 
> but that didn't help -- thought it would.

I have once seen something similar.
Have you tried "make mrproper" to clean up and try again?

	Sam

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.5.21 make problem
  2002-06-15 23:00     ` Sam Ravnborg
@ 2002-06-16  2:21       ` John covici
  2002-06-16  2:53         ` Kai Germaschewski
  0 siblings, 1 reply; 7+ messages in thread
From: John covici @ 2002-06-16  2:21 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: linux-kernel

I did the mrproper then the make with the clean and then the make
without the clean in that order and still no results.


on Sunday 06/16/2002 Sam Ravnborg(sam@ravnborg.org) wrote
 > On Sat, Jun 15, 2002 at 06:38:57PM -0400, John covici wrote:
 > > I had the bright idea of taking the clean out of there, so I was left
 > > with
 > > make dep bzImage modules_install 2>&1 |tee foo
 > > 
 > > but that didn't help -- thought it would.
 > 
 > I have once seen something similar.
 > Have you tried "make mrproper" to clean up and try again?
 > 
 > 	Sam

-- 
         John Covici
         covici@ccs.covici.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.5.21 make problem
  2002-06-16  2:21       ` John covici
@ 2002-06-16  2:53         ` Kai Germaschewski
  0 siblings, 0 replies; 7+ messages in thread
From: Kai Germaschewski @ 2002-06-16  2:53 UTC (permalink / raw)
  To: John covici; +Cc: Sam Ravnborg, linux-kernel



On Sat, 15 Jun 2002, John covici wrote:

> I did the mrproper then the make with the clean and then the make
> without the clean in that order and still no results.

Could you mail me your .config and the exact commands which lead to the
failure (off-list). Actually, can you send your top-level Makefile as
well.

Can you reproduce the problem on an clean kernel.org tree (no further
patches applied? I suspect something went wrong with the extra patches you 
applied.

--Kai


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.5.21 make problem
  2002-06-15 10:13 John covici
@ 2002-06-15 15:43 ` Kai Germaschewski
  0 siblings, 0 replies; 7+ messages in thread
From: Kai Germaschewski @ 2002-06-15 15:43 UTC (permalink / raw)
  To: John covici; +Cc: linux-kernel

On Sat, 15 Jun 2002, John covici wrote:

> make[1]: Entering directory `/usr/src/linux-2.5.21/arch/i386/boot'
> gcc -E  -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA -DRAMDISK=512 bootsect.S -o bbootsect.s
> as -o bbootsect.o bbootsect.s
> ld -m elf_i386 -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect
> make[1]: *** No rule to make target `/usr/src/linux-2.5.21/include/linux/compile.h', needed by `bsetup.s'.  Stop.

I suppose that means that compile.h does not exist at that location, for 
whichever reason. If you do "make" (or just "make SUBDIRS=init"), it 
should be generated. Does it output something something like "Generating 
../include/linux/compile.h"?

Is scripts/mkcompile_h executable?

--Kai



^ permalink raw reply	[flat|nested] 7+ messages in thread

* 2.5.21 make problem
@ 2002-06-15 10:13 John covici
  2002-06-15 15:43 ` Kai Germaschewski
  0 siblings, 1 reply; 7+ messages in thread
From: John covici @ 2002-06-15 10:13 UTC (permalink / raw)
  To: linux-kernel

Hi.  I am having a terrible time compiling 2.5.21 -- first some
missing includes which I think I have fixed and now at the very end
of the process after the modules have been installed I get the
following:

make[1]: Entering directory `/usr/src/linux-2.5.21/arch/i386/boot'
gcc -E  -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA -DRAMDISK=512 bootsect.S -o bbootsect.s
as -o bbootsect.o bbootsect.s
ld -m elf_i386 -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect
make[1]: *** No rule to make target `/usr/src/linux-2.5.21/include/linux/compile.h', needed by `bsetup.s'.  Stop.

Any help would be appreciated with this.

-- 
         John Covici
         covici@ccs.covici.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-06-16  2:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <15627.30793.979635.330468@ccs.covici.com>
2002-06-15 17:54 ` 2.5.21 make problem Kai Germaschewski
2002-06-15 22:38   ` John covici
2002-06-15 23:00     ` Sam Ravnborg
2002-06-16  2:21       ` John covici
2002-06-16  2:53         ` Kai Germaschewski
2002-06-15 10:13 John covici
2002-06-15 15:43 ` Kai Germaschewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®