problem at kernel compile

m44miri
at the compile time for linux kernel i have this error:

  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
/usr/local/arm/4.2.2-eabi/usr/bin/arm-linux-ld: no machine record defined
/usr/local/arm/4.2.2-eabi/usr/bin/arm-linux-ld: no machine record defined
make: *** [.tmp_vmlinux1] Error 

can you help me for resove this?

davef
Whose toolchain are you using?

m44miri
no.I using cross-4.2.2-eabi.but before this i use this: gnueabi.howver both
have this problem at compile time.

davef
Do I assume you are working on a mini2440 and if you use the toolchain
supplied by FriendlyArm that you can compile kernels?

As I do not know what cross-4.2.2-eabi is, I would then ask why are you
using this toolchain?

I'll make a guess . . . 4.2.2 is so old that the mini2440 is not
recognised.

m44miri
Unfortunately,i don't know that what is toolchain!!
Can you more explain to me about toolchain?
How can i install this one on the ubuntu or debian in the my laptop?
i using mini6410.

davef
Why not use the toolchain on the downloads page?

http://www.friendlyarm.net/dl.php?file=arm-linux-gcc-4.4.3.tgz

At least, other people on the forum are more likely to be able to help you.

It appears you have some old toolchain on your laptop and you don't know
where is came from or what special features it has.

Maybe, if you state what you are trying to do, ie why are you compiling
your own kernel or what project you are working on, etc.

m44miri
Thanks for all.
so.i should download and compile my kernel on the my laptop and move to the
mini6410.
can you get me a link for work method with this compiler?

m44miri
i forgot ,at the Makefile, what should i write?
my purpose is that on the two field on this file: ARCH and CROSS_COMPILER

davef
> can you get me a link for work method with this compiler?

http://www.friendlyarm.net/wiki

This is quite old and I would only suggest looking at it as a guide:

http://code.google.com/p/friendlyarm/wiki/Linux_Tutorial

You really need to say what you are wanting to do or learn on this
platform.  Do you want to learn "how to compile from scratch" or building
your own root file systems, etc.

Look for this on the addahammer.com site

"Installing the ARM GCC Compiler and Compiling Programs for the Micro2440"

m44miri
well i want compile a gnu linux with debian.kernel and rootf.
i have another problem .when ubuntu is up touch lcd is not ready.my lcd is
7 inch.should i do changing at kernel for active lcd for gnome?

m44miri
i forgaten.my maen is both.however i like debian.

davef
> well i want compile a gnu linux with debian.kernel and rootf.

There are some tutorials "out there".  Google will find them.

m44miri
I look a file with "initrd.img.cpio" at ubuntu package.
Can you tell me, how can i should create this file?
also,I compiled kernel for i386 later  but cross compiling is very
difficult.specially for ARM.