LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-30-2009, 06:57 AM   #1
niranjanvg
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
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

Last edited by niranjanvg; 10-30-2009 at 07:02 AM.
 
Old 10-31-2009, 03:58 PM   #2
sunr2007
Member
 
Registered: Jan 2009
Location: Bangalore , India
Distribution: Fedora 12
Posts: 65

Rep: Reputation: 17
are u using a cross compiler or native GCC ?
 
Old 11-02-2009, 05:28 AM   #3
niranjanvg
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I am using cross compiler
I have tried using 2.95.3 & 3.2.2 arm-linux-gcc
 
  


Reply

Tags
kernel, linux



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
the problem of porting rt73 onto s3c2440 yuanyang317 Linux - Wireless Networking 0 04-18-2009 11:20 PM
Questions of uClinux with MINI2440 s3c2440 EVB uclinux2 Linux - Embedded & Single-board computer 3 03-20-2009 07:05 AM
NO /usr/src/kernel directory & Kernel Compilation PankajDS Linux - Kernel 5 01-24-2008 01:48 AM
Help! Iinux-2.6.23.9 for S3c2440 booting Error astonzorro Linux - Newbie 2 12-09-2007 10:34 AM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration