2.6.7 - should there be an arch/ppc/kernel/asm-offsets.asm fi le ?
Povolotsky, Alexander
Alexander.Povolotsky@marconi.com
Wed Jul 28 13:25:00 GMT 2004
Hi,
Below is the "tail" part of the output with -d option ...
$ make -d ARCH=ppc prepare
............
No need to remake target `include/linux/autoconf.h'.
Finished prerequisites of target file `include/config/MARKER'.
Prerequisite `include/linux/autoconf.h' is older than target
`include/config/MARKER'.
No need to remake target `include/config/MARKER'.
Finished prerequisites of target file `arch/ppc/kernel/asm-offsets.asm'.
Must remake target `arch/ppc/kernel/asm-offsets.asm'.
Successfully remade target file `arch/ppc/kernel/asm-offsets.asm'.
Finished prerequisites of target file `include/asm-ppc/offsets.h'.
Must remake target `include/asm-ppc/offsets.h'.
Got a SIGCHLD; 1 unreaped children.
Putting child 0x100a4728 (include/asm-ppc/offsets.h) PID 4032 on the chain.
Live child 0x100a4728 (include/asm-ppc/offsets.h) PID 4032
CHK include/asm-ppc/offsets.h
cannot open arch/ppc/kernel/asm-offsets.asm: no such file
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x100a4728 PID 4032
make: *** [include/asm-ppc/offsets.h] Error 2
Removing child 0x100a4728 PID 4032 from chain.
apovolot@USPITLAD104868 ~/linux-2.6.7
-----Original Message-----
From: Povolotsky, Alexander
Sent: Wednesday, July 28, 2004 3:04 AM
To: crossgcc
Subject: 2.6.7 - should there be an arch/ppc/kernel/asm-offsets.asm file?
$ 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