- 论坛徽章:
- 0
|
之前操作为:
1..首先修改Makefile 里面ARCH=arm CROSS_COMPILE=arm-linux-(之前已经将arm-linux-所在的目录export PATH=/usr/local/arm/3.3.2/bin:写入etc/profile里面)
2..make mrproper
3..make menuconfig,直接使用load an alternate configuration file 将尤龙光盘资料里带的pxa27x_kernel2.6.9_rel_zzm.tar.gz里面的kernel_pxa270.cfg载入到里面,后出现错误一堆,其中部分如下:
/boot/config-2.4.20-8:1907: trying to assign nonexistent symbol X86_TSC_DISABLE
/boot/config-2.4.20-8:1914: trying to assign nonexistent symbol HZ
/boot/config-2.4.20-8:1917: trying to assign nonexistent symbol BINFMT_COFF
/boot/config-2.4.20-8:1921: trying to assign nonexistent symbol ACPI_HT_ONLY
/boot/config-2.4.20-8:1922: trying to assign nonexistent symbol ACPI_BUSMGR
/boot/config-2.4.20-8:1923: trying to assign nonexistent symbol ACPI_SYS
/boot/config-2.4.20-8:1924: trying to assign nonexistent symbol ACPI_CPU
/boot/config-2.4.20-8:1928: trying to assign nonexistent symbol ACPI_CMBATT
/boot/config-2.4.20-8:1930: trying to assign nonexistent symbol ACPI_RELAXED_AML
/boot/config-2.4.20-8:1942: trying to assign nonexistent symbol TUX
/boot/config-2.4.20-8:1943: trying to assign nonexistent symbol NETLINK
/boot/config-2.4.20-8:1961: trying to assign nonexistent symbol BLK_DEV_ISAPNP
/boot/config-2.4.20-8:1965: trying to assign nonexistent symbol IDEDMA_PCI_WIP
/boot/config-2.4.20-8:1966: trying to assign nonexistent symbol IDEDMA_NEW_DRIVE_LISTINGS
4..make clean
5..make zImage
drivers/usb/gadget/pxa2xx_udc.c:2372: error: initializer element is not constant
drivers/usb/gadget/pxa2xx_udc.c:2372: error: (near initialization for `memory.ep')
make[2]: *** [drivers/usb/gadget/pxa2xx_udc.o] Error 1
make[1]: *** [drivers/usb/gadget] Error 2
请问是何原因呢?谢谢! |
|