nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

kernel compilation error when run the makefile

This is a discussion on kernel compilation error when run the makefile within the Ubuntu / Debian forums, part of the Linux Distribution category; Dear all I am getting the error when i run the make file. ARCH = arm CROSS_COMPILE = armv5l-linux- By ...


Go Back   nixCraft Linux Forum > Linux Distribution > Ubuntu / Debian

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-07-2008, 11:10 AM
Junior Member
User
 
Join Date: Jun 2008
My distro: redhat
Posts: 1
Rep Power: 0
ranjithmrk is on a distinguished road
Exclamation kernel compilation error when run the makefile

Dear all
I am getting the error when i run the make file.

ARCH = arm
CROSS_COMPILE = armv5l-linux-

By making the above changes in the make file and by giving the make command it will give following error.

CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC arch/arm/kernel/asm-offsets.s
In file included from include/asm/system.h:4,
from include/asm/processor.h:18,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/capability.h:45,
from include/linux/sched.h:46,

include/linux/wait.h:375: warning: âregparmâ attribute directive ignored
include/linux/wait.h:376: warning: âregparmâ attribute directive ignored
include/linux/wait.h:382: warning: âregparmâ attribute directive ignored
include/linux/wait.h:384: warning: âregparmâ attribute directive ignored
include/linux/wait.h:386: warning: âregparmâ attribute directive ignored
In file included from include/linux/rwsem.h:24,
from include/asm/semaphore.h:42,
from include/linux/sched.h:59,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/rwsem.h:47: warning: âregparmâ attribute directive ignored
include/asm/rwsem.h:48: warning: âregparmâ attribute directive ignored
include/asm/rwsem.h:49: warning: âregparmâ attribute directive ignored
include/asm/rwsem.h:50: warning: âregparmâ attribute directive ignored
In file included from include/linux/sched.h:59,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/semaphore.h:87: warning: âregparmâ attribute directive ignored
include/asm/semaphore.h:88: warning: âregparmâ attribute directive ignored
include/asm/semaphore.h:89: warning: âregparmâ attribute directive ignored
include/asm/semaphore.h:90: warning: âregparmâ attribute directive ignored
In file included from include/linux/sched.h:71,
from arch/arm/kernel/asm-offsets.c:13:
include/linux/sched.h:1284: warning: âregparmâ attribute directive ignored
include/linux/sched.h:1285: warning: âregparmâ attribute directive ignored
include/linux/sched.h:1286: warning: âregparmâ attribute directive ignored
include/linux/sched.h:1293: warning: âregparmâ attribute directive ignored
include/linux/sched.h:1294: warning: âregparmâ attribute directive ignored
include/linux/sched.h:1380: warning: âregparmâ attribute directive ignored
include/linux/sched.h:1598: warning: âregparmâ attribute directive ignored
In file included from include/linux/fs.h:273,
from include/linux/mm.h:15,
from arch/arm/kernel/asm-offsets.c:14:
include/linux/namei.h:65: warning: âregparmâ attribute directive ignored
include/linux/namei.h:66: warning: âregparmâ attribute directive ignored
include/linux/namei.h:71: warning: âregparmâ attribute directive ignored
include/linux/namei.h:72: warning: âregparmâ attribute directive ignored
include/linux/namei.h:73: warning: âregparmâ attribute directive ignored
In file included from arch/arm/kernel/asm-offsets.c:14:
include/linux/mm.h:791: warning: âregparmâ attribute directive ignored
include/linux/mm.h:855: warning: âregparmâ attribute directive ignored
arch/arm/kernel/asm-offsets.c:15:27: error: asm/mach/arch.h: No such file or directory
arch/arm/kernel/asm-offsets.c:17:24: error: asm/memory.h: No such file or directory
arch/arm/kernel/asm-offsets.c:18:26: error: asm/procinfo.h: No such file or directory
arch/arm/kernel/asm-offsets.c: In function âmainâ:
arch/arm/kernel/asm-offsets.c:55: error: âstruct thread_infoâ has no member named âcpu_domainâ
arch/arm/kernel/asm-offsets.c:56: error: âstruct thread_infoâ has no member named âcpu_contextâ
arch/arm/kernel/asm-offsets.c:57: error: âstruct thread_infoâ has no member named âused_cpâ
arch/arm/kernel/asm-offsets.c:58: error: âstruct thread_infoâ has no member named âtp_valueâ
arch/arm/kernel/asm-offsets.c:59: error: âstruct thread_infoâ has no member named âfpstateâ
arch/arm/kernel/asm-offsets.c:60: error: âstruct thread_infoâ has no member named âvfpstateâ
arch/arm/kernel/asm-offsets.c:68: error: âstruct pt_regsâ has no member named âARM_r0â
arch/arm/kernel/asm-offsets.c:69: error: âstruct pt_regsâ has no member named âARM_r1â
arch/arm/kernel/asm-offsets.c:70: error: âstruct pt_regsâ has no member named âARM_r2â
arch/arm/kernel/asm-offsets.c:71: error: âstruct pt_regsâ has no member named âARM_r3â
arch/arm/kernel/asm-offsets.c:72: error: âstruct pt_regsâ has no member named âARM_r4â
arch/arm/kernel/asm-offsets.c:73: error: âstruct pt_regsâ has no member named âARM_r5â
arch/arm/kernel/asm-offsets.c:74: error: âstruct pt_regsâ has no member named âARM_r6â
arch/arm/kernel/asm-offsets.c:75: error: âstruct pt_regsâ has no member named âARM_r7â
arch/arm/kernel/asm-offsets.c:76: error: âstruct pt_regsâ has no member named âARM_r8â
arch/arm/kernel/asm-offsets.c:77: error: âstruct pt_regsâ has no member named âARM_r9â
arch/arm/kernel/asm-offsets.c:78: error: âstruct pt_regsâ has no member named âARM_r10â
arch/arm/kernel/asm-offsets.c:79: error: âstruct pt_regsâ has no member named âARM_fpâ
arch/arm/kernel/asm-offsets.c:80: error: âstruct pt_regsâ has no member named âARM_ipâ
arch/arm/kernel/asm-offsets.c:81: error: âstruct pt_regsâ has no member named âARM_spâ
arch/arm/kernel/asm-offsets.c:82: error: âstruct pt_regsâ has no member named âARM_lrâ
arch/arm/kernel/asm-offsets.c:83: error: âstruct pt_regsâ has no member named âARM_pcâ
arch/arm/kernel/asm-offsets.c:84: error: âstruct pt_regsâ has no member named âARM_cpsrâ
arch/arm/kernel/asm-offsets.c:85: error: âstruct pt_regsâ has no member named âARM_ORIG_r0â
arch/arm/kernel/asm-offsets.c:88:5: warning: "__LINUX_ARM_ARCH__" is not defined
arch/arm/kernel/asm-offsets.c:101: error: invalid application of âsizeofâ to incomplete type âstruct machine_descâ
arch/arm/kernel/asm-offsets.c:102: error: invalid use of undefined type âstruct machine_descâ
arch/arm/kernel/asm-offsets.c:103: error: invalid use of undefined type âstruct machine_descâ
arch/arm/kernel/asm-offsets.c:104: error: invalid use of undefined type âstruct machine_descâ
arch/arm/kernel/asm-offsets.c:105: error: invalid use of undefined type âstruct machine_descâ
arch/arm/kernel/asm-offsets.c:107: error: invalid application of âsizeofâ to incomplete type âstruct proc_info_listâ
arch/arm/kernel/asm-offsets.c:108: error: invalid use of undefined type âstruct proc_info_listâ
arch/arm/kernel/asm-offsets.c:109: error: invalid use of undefined type âstruct proc_info_listâ
arch/arm/kernel/asm-offsets.c:110: error: invalid use of undefined type âstruct proc_info_listâ
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
Reply With Quote
Sponsored Links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Linux kernel deleted from /boot - how do I resinstall the kernel vaibhav.kanchan Getting started tutorials 2 03-25-2008 12:31 AM
mini HOWTO - Linux Kernel Compilation B!n@ry Getting started tutorials 17 09-12-2007 12:27 PM
Yum install kernel debuginfo packages kernel-debuginfo repo rockdalinux Getting started tutorials 0 06-15-2007 09:59 PM
What are the advances of Kernel 2.6 over Kernel 2.4 ricc Linux software 3 03-14-2006 12:42 PM
Is Linux kernel is monolithic or modular kernel? chiku Linux software 2 06-02-2005 03:40 PM


All times are GMT +5.5. The time now is 03:38 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36