Problem is in elf_check_arm macro of arm elf.h
include/asm-i386/elf.h:
#define elf_check_arch(x) ( ((x) == EM_386) || ((x) == EM_486) )
include/asm-arm/elf.h:
#define elf_check_arch(x) ( ((x)->e_machine == EM_ARM) &&
(ELF_PROC_OK((x))) )
fs/binfmt_elf.c:
if (!elf_check_arch(interp_elf_ex->e_machine))
if (!elf_check_arch(elf_ex.e_machine))
!elf_check_arch(elf_ex.e_machine) ||
> Hi !
>
> > >/usr/local/bin/arm-linux-gcc -D__KERNEL__ -I/usr/src/linux.2.2.1-
> > >arm/include -mapcs-32 -mshort-load-bytes -mcpu=strongarm110 -
> > >Wall -Wstrict-prototypes -O2 -pipe -c -o binfmt_elf.o binfmt_elf.c
> > >binfmt_elf.c: In function `load_elf_interp':
> > >binfmt_elf.c:231: invalid type argument of `->'
> > >binfmt_elf.c: In function `do_load_elf_binary':
> > >binfmt_elf.c:434: invalid type argument of `->'
> > >binfmt_elf.c: In function `do_load_elf_library':
> > >binfmt_elf.c:841: invalid type argument of `->'
> >
> > That looks like you've somehow got a mismatch between your header files and
> > your kernel source. But I don't see how it could have happened.
> >
> > p.
>
> I have got the same problem and my only solution so far is to compile the
> kernel without ELF support.........
>
> Greets,
> Chris
>
>
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]