Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 11-04-2008, 06:20 AM   #1
LQ Newbie
Registered: Sep 2008
Posts: 21

Rep: Reputation: 15
Error compiling 2.6.26 for ARM

I am trying to compile for an ARM-based board using PXA255, but get the following error messages when i compile:

LD .tmp_vmlinux1
arm-linux-ld: no machine record defined
arm-linux-ld: no machine record defined
drivers/built-in.o: In function `nvram_read_byte':
drivers/char/nvram.c:156: undefined reference to `rtc_lock'
drivers/built-in.o: In function `nvram_write_byte':
drivers/char/nvram.c:173: undefined reference to `rtc_lock'
drivers/built-in.o: In function `nvram_check_checksum':
drivers/char/nvram.c:191: undefined reference to `rtc_lock'
drivers/built-in.o: In function `nvram_read':
drivers/char/nvram.c:260: undefined reference to `rtc_lock'
drivers/built-in.o: In function `nvram_write':
drivers/char/nvram.c:293: undefined reference to `rtc_lock'
drivers/built-in.o:drivers/char/nvram.c:331: more undefined references to `rtc_lock' follow
make: *** [.tmp_vmlinux1] Error 1

when i comment the comment out the follwing two lines of /linux/arch/arm/kernel/, the "no machine record defined" error goes off.
ASSERT((__proc_info_end - __proc_info_begin), "missing CPU support")
ASSERT((__arch_info_end - __arch_info_begin), "no machine record defined")

Also in make menuconfig if i disable the CPU Frequency Scaling and Real Time Clock options then i m able to get the zImage created.but this zImage doesn't work for my board.

my arm-linux-gcc version is 3.4.4 and GNU ld version is 2.16.

How can I get out through this problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cross compiling Bluez-utils for ARM deshu Linux - Software 1 03-06-2009 02:29 PM
Linker Error while compiling gspca module for ARM processor. ravi_chobey Linux - Software 0 07-08-2008 01:19 AM
errors while compiling netio on arm sshyam17 Linux - Newbie 1 04-17-2008 09:32 PM
Cross compiling utftpd on arm linux SachinTCS Linux - Software 1 04-13-2007 11:03 PM
Cross compiling utftpd for arm SachinTCS Linux - Desktop 1 04-13-2007 03:11 AM

All times are GMT -5. The time now is 02:13 AM.

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