LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-27-2010, 08:24 PM   #1
xplorer30
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Compilation error Linux 2.6.32 for ARM target


Hi I am trying to compile Linux 2.6.32 for ARM target. I am getting this error message.

kernel/build-in.o: In function `sched_create_group`:
kernel/sched.c:9929: undefined reference to `.L4750'
drivers/build-in.o: In function `con_init`:
include/trace/events/kmem.h:47: undefined reference to `.L1089'
make: *** [.tmp_vmlinux1] Error 1

Any idea what I am doing wrong. I am not able to understand this error.

Thanks
 
Old 09-27-2010, 09:59 PM   #2
sunnydrake
Member
 
Registered: Jul 2009
Location: Kiev,Ukraine
Distribution: Ubuntu,Slax,RedHat
Posts: 289
Blog Entries: 1

Rep: Reputation: 61
im currently trying to compile for arm arch too..
here is what you need in general case
get kernel , unpack
run make mrpoper to clean kernel
than create config file
either by copy .config file to dir from arch/arm/
or creating/updating one by make ARCH=arm gconfig (if GTK installed or menuconfig ( for command line))
next final step that i have troubles with
you need to have ARM toolchain in path!!! (i currently use arm-2008q1 ..fail .. trying with arm-2010q1 still untested)
make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
(troubles where all fixed i missed correct path to toolchain /bin/ )
tested yesterday linux-2.6.35.5 in arm arch all ok

Last edited by sunnydrake; 09-28-2010 at 06:52 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
laser printer support for ARM target on linux 2.6 chiragshah Linux - Newbie 12 01-22-2012 11:32 AM
ARM-Linux Cross compilation Toolkits 2.95 hazzyb Programming 3 02-06-2009 10:21 AM
shared library error while running gdbserver on target with arm-926ejs processor amit123solanki Linux - Software 0 07-08-2008 12:55 AM
LXer: Configurable ARM-powered SoCs target Linux devices LXer Syndicated Linux News 0 03-09-2007 11:46 AM
USB Laser jet printer interface on AT91RM9200 target with ARM Linux 2.6.x kernel vers jagan_pss Linux - Hardware 1 02-08-2006 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:56 PM.

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