2.6.7 - should there be an arch/ppc/kernel/asm-offsets.asm file ?

Povolotsky, Alexander Alexander.Povolotsky@marconi.com
Wed Jul 28 07:03:00 GMT 2004


$ make ARCH=ppc prepare
  CHK     include/linux/version.h
  CHK     include/asm-ppc/offsets.h
cannot open arch/ppc/kernel/asm-offsets.asm: no such file
make: *** [include/asm-ppc/offsets.h] Error 2

apovolot@USPITLAD104868 ~/linux-2.6.7
$ ls arch/ppc/kernel/
Makefile            entry.S        irq.c        process.c     syscalls.c
align.c             entry.o        irq.o        process.o     syscalls.o
align.o             find_name.c    l2cr.S       ptrace.c      temp.c
asm-offsets.c       head.S         l2cr.o       ptrace.o      time.c
asm-offsets.s       head.o         misc.S       semaphore.c   time.o
bitops.c            head_44x.S     misc.o       semaphore.o   traps.c
built-in.o          head_4xx.S     module.c     setup.c       traps.o
cpu_setup_6xx.S     head_8xx.S     pci-dma.c    setup.o       vecemu.c
cpu_setup_6xx.o     idle.c         pci.c        signal.c      vector.S
cpu_setup_power4.S  idle.o         ppc-stub.c   signal.o      vmlinux.lds.S
cputable.c          idle_6xx.S     ppc_htab.c   smp-tbsync.c
cputable.o          idle_6xx.o     ppc_htab.o   smp.c
dma-mapping.c       idle_power4.S  ppc_ksyms.c  softemu8xx.c

Should there be an arch/ppc/kernel/asm-offsets.asm file in Linux 2.6.7
distribution ... or at what point   
this file suppose to be created ?
-----Original Message-----
From: Dan Kegel [mailto:dank@kegel.com]
Sent: Tuesday, July 27, 2004 11:08 AM
To: Povolotsky, Alexander; crossgcc
Subject: Re: make zimage fails after applying Martin Schafner
"linux-2.6.7-bui ld_on_case_insensitive_fs-1.patch" patch

Povolotsky, Alexander wrote:
> Hi ,
> 
> I installed Martin's patch (see below ) seems to be OK (after couple of
> attempts - as everything else - the use of "patch" command is new to me
;-) ).
> 
> However make zimage fails after applying the patch (see further below) ...
> 
> apovolot@USPITLAD104868 ~/linux-2.6.7
> $ patch -p1 < linux-2.6.7-build_on_case_insensitive_fs-1.patch
> patching file Makefile
> Reversed (or previously applied) patch detected!  Assume -R? [n] y

Hrm.  I guess Martin made his patch backwards :-)  That's ok, only slightly
annoying.

> apovolot@USPITLAD104868 ~/linux-2.6.7
> $ make dep zImage
> *** Warning: make dep is unnecessary now.
>   CHK     include/linux/version.h
>   CHK     include/asm-ppc/offsets.h
> cannot open arch/ppc/kernel/asm-offsets.asm: no such file ...
> 

In general, the 2.6 kernel wants you to do make prepare (or make ARCH=ppc
prepare) before building.  I think you forgot that.
- Dan


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list