Hi there,
I've been getting so many errors, while i'm trying to compile the montavista
kernel with the USB support option. Can anyone please help me out with this.
I'm listing the errors that i'm getting.
[EMAIL PROTECTED] ti-davinci]$ make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
CHK include/linux/version.h
CC arch/arm/kernel/asm-offsets.s
In file included from include/asm/page.h:27,
from include/asm/cpu-single.h:33,
from include/asm/proc-fns.h:154,
from include/asm/system.h:95,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/glue.h:111:2: #error Unknown data abort handler type
In file included from include/asm/cpu-single.h:33,
from include/asm/proc-fns.h:154,
from include/asm/system.h:95,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/page.h:92:2: #error Unknown user operations model
In file included from include/asm/semaphore.h:10,
from include/linux/sched.h:18,
from arch/arm/kernel/asm-offsets.c:13:
include/linux/rwsem.h:38:65: asm/rwsem.h: No such file or directory
In file included from include/asm/semaphore.h:10,
from include/linux/sched.h:18,
from arch/arm/kernel/asm-offsets.c:13:
include/linux/rwsem.h: In function `compat_down_read':
include/linux/rwsem.h:56: warning: implicit declaration of function
`__down_read'
include/linux/rwsem.h: In function `compat_down_read_trylock':
include/linux/rwsem.h:67: warning: implicit declaration of function
`__down_read_trylock'
include/linux/rwsem.h: In function `compat_down_write':
include/linux/rwsem.h:79: warning: implicit declaration of function
`__down_write'
include/linux/rwsem.h: In function `compat_down_write_trylock':
include/linux/rwsem.h:90: warning: implicit declaration of function
`__down_write_trylock'
include/linux/rwsem.h: In function `compat_up_read':
include/linux/rwsem.h:101: warning: implicit declaration of function `__up_read'
include/linux/rwsem.h: In function `compat_up_write':
include/linux/rwsem.h:111: warning: implicit declaration of function
`__up_write'
include/linux/rwsem.h: In function `compat_downgrade_write':
include/linux/rwsem.h:121: warning: implicit declaration of function
`__downgrade_write'
include/linux/rwsem.h: In function `init_rwsem':
include/linux/rwsem.h:132: warning: implicit declaration of function
`compat_init_rwsem'
In file included from arch/arm/kernel/asm-offsets.c:13:
include/linux/sched.h: At top level:
include/linux/sched.h:355: error: field `mmap_sem' has incomplete type
In file included from include/linux/fs.h:213,
from include/linux/mm.h:15,
from arch/arm/kernel/asm-offsets.c:14:
include/linux/kobject.h:151: error: field `rwsem' has incomplete type
In file included from include/linux/fs.h:300,
from include/linux/mm.h:15,
from arch/arm/kernel/asm-offsets.c:14:
include/linux/quota.h:288: error: field `dqptr_sem' has incomplete type
In file included from include/linux/mm.h:15,
from arch/arm/kernel/asm-offsets.c:14:
include/linux/fs.h:453: error: field `i_alloc_sem' has incomplete type
In file included from include/linux/mm.h:15,
from arch/arm/kernel/asm-offsets.c:14:
include/linux/fs.h:772: error: field `s_umount' has incomplete type
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [arch/arm/kernel/asm-offsets.s] Error 2
I need to resolve this and i don't have much time for it. Kindly, please help
me out with this.
Regards,
Akhil Kaushal P
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source