Kernel compilation for s3c2440

Hi All,

I am trying to compile Kernel 2.6.31 with arm-linux-gcc3.2.2 for s3c2440a, but I am not able to perform the task.

I am using Redhat 9

firstly i am using the following commands

$make s3c2410_defconfig // there is no error in execution of this command

next i run

$make

CC kernel/uid16.o
CC kernel/module.o
CC kernel/kallsyms.o
CC kernel/softlockup.o
CC kernel/hung_task.o
CC kernel/rcuclassic.o
CC kernel/utsname_sysctl.o
CC kernel/dma-coherent.o
LD kernel/built-in.o
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC [M] kernel/configs.o
CC mm/bootmem.o
CC mm/filemap.o
CC mm/mempool.o
CC mm/oom_kill.o
CC mm/fadvise.o
CC mm/maccess.o
CC mm/page_alloc.o
/tmp/cc8qm3xs.s: Assembler messages:
/tmp/cc8qm3xs.s:7872: Error: .err encountered
make[1]: *** [mm/page_alloc.o] Error 1
make: *** [mm] Error 2

I am not able to make out what is the problem with this, kindly help me out....

and please tell me the correct way to compile the kernel if i am doing something wrong....

Thanks In Advance.
Niranjan