Hi,

Each time I'm trying to compile the kernel (android_msm_htc_2.6.25),
I'm having this error (below),  Could you please advise how to get
around the compilation.

include/asm/page.h:103:2: error: #error Unknown user operations model
In file included from include/asm/semaphore.h:13,
                 from include/linux/sched.h:64,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/locks.h:15:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/mm.h:39,
                 from arch/arm/kernel/asm-offsets.c:14:
include/asm/pgtable.h:24:25: error: asm/arch/mm.h: No such file or
directory
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2




Here is the detail steps that I've done before the compiling :
> git clone git://android.git.kernel.org/kernel/msm.git
> git branch -r
> git checkout --track -b android_msm_htc_2.6.25 origin/android-msm-htc-2.6.25
> make msm_defconfig
> cp /home/a/msm/arch/arm/configs/msm_defconfig arch/x86/configs/msm_defconfig
> make msm_defconfig
> make ARCH=arm 
> CROSS_COMPILE=/home/a/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-

Also is it normal that on make, it asks a series of questions (below),
which for all I said no (N)?

ARM system type
  1. Agilent AAEC-2000 based (ARCH_AAEC2000) (NEW)
  2. Goldfish (ARCH_GOLDFISH) (NEW)
  3. ARM Ltd. Integrator family (ARCH_INTEGRATOR) (NEW)
  4. ARM Ltd. RealView family (ARCH_REALVIEW) (NEW)
> 5. ARM Ltd. Versatile family (ARCH_VERSATILE) (NEW)
  6. Atmel AT91 (ARCH_AT91) (NEW)
  7. Cirrus CL-PS7500FE (ARCH_CLPS7500) (NEW)
  8. Cirrus Logic CLPS711x/EP721x-based (ARCH_CLPS711X) (NEW)
  9. Co-EBSA285 (ARCH_CO285) (NEW)

* Power management
*
*
* Versatile platform type
*
Support Versatile/PB platform (ARCH_VERSATILE_PB) [Y/n/?] (NEW) n
Support Versatile/AB platform (MACH_VERSATILE_AB) [N/y/?] (NEW) n
*

Many Thanks.


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to