linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Compile error with 2.6.15
@ 2006-01-13  7:56 Ben Greear
  2006-01-13  8:12 ` Ben Greear
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Greear @ 2006-01-13  7:56 UTC (permalink / raw)
  To: linux-kernel

I'm trying to compile out of a git repo (2.6.15) into a new directory, but
it's failing:

[greear@xeon-dt linux-2.6]$ make O=~/kernel/2.6/linux-2.6.15.p4s bzImage   Using /home/greear/git/linux-2.6 as source for kernel
   GEN    /home/greear/kernel/2.6/linux-2.6.15.p4s/Makefile
   CHK     include/linux/version.h
   CHK     include/linux/compile.h
   CHK     usr/initramfs_list
   AS      arch/i386/kernel/entry.o
In file included from /home/greear/git/linux-2.6/arch/i386/kernel/entry.S:45:
include2/asm/thread_info.h:51: asm/asm-offsets.h: No such file or directory
make[2]: *** [arch/i386/kernel/entry.o] Error 1
make[1]: *** [arch/i386/kernel] Error 2
make: *** [bzImage] Error 2
[greear@xeon-dt linux-2.6]$


Any ideas?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


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

* Re: Compile error with 2.6.15
  2006-01-13  7:56 Compile error with 2.6.15 Ben Greear
@ 2006-01-13  8:12 ` Ben Greear
  2006-01-13 20:34   ` Paul Jackson
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Greear @ 2006-01-13  8:12 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-kernel

Bleh..not reproducible if I leave out the initial -j4 that I
used the first build attempt...

Guess it is probably not a real problem...

Ben


Ben Greear wrote:
> I'm trying to compile out of a git repo (2.6.15) into a new directory, but
> it's failing:
> 
> [greear@xeon-dt linux-2.6]$ make O=~/kernel/2.6/linux-2.6.15.p4s 
> bzImage   Using /home/greear/git/linux-2.6 as source for kernel
>   GEN    /home/greear/kernel/2.6/linux-2.6.15.p4s/Makefile
>   CHK     include/linux/version.h
>   CHK     include/linux/compile.h
>   CHK     usr/initramfs_list
>   AS      arch/i386/kernel/entry.o
> In file included from 
> /home/greear/git/linux-2.6/arch/i386/kernel/entry.S:45:
> include2/asm/thread_info.h:51: asm/asm-offsets.h: No such file or directory
> make[2]: *** [arch/i386/kernel/entry.o] Error 1
> make[1]: *** [arch/i386/kernel] Error 2
> make: *** [bzImage] Error 2
> [greear@xeon-dt linux-2.6]$
> 
> 
> Any ideas?
> 
> Thanks,
> Ben
> 


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


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

* Re: Compile error with 2.6.15
  2006-01-13  8:12 ` Ben Greear
@ 2006-01-13 20:34   ` Paul Jackson
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Jackson @ 2006-01-13 20:34 UTC (permalink / raw)
  To: Ben Greear; +Cc: greearb, linux-kernel

> Guess it is probably not a real problem...

Or, it's probably a real problem.  The asm-offsets.h file
has a long history of being a thorn in the side of Makefiles,
including race conditions (such as you saw with -j4).  There
is a natural circular dependency in the construction of the
asm-offsets.h file and the rest of the build that's tricky
to get right.

Whether or not someone sees enough evidence yet to deal with
this instance of that breakage ... that's another matter.

Often this kind of breakage remains until someone with the
right mental weapons gets bit by it, and goes hunting it down.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401

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

end of thread, other threads:[~2006-01-13 20:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-13  7:56 Compile error with 2.6.15 Ben Greear
2006-01-13  8:12 ` Ben Greear
2006-01-13 20:34   ` Paul Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).