大家好
在編譯CC-A80源碼時遇到問題
內核版本 3.4.39
編譯環境 vm模擬器 ubuntu 14.10 64-bit
目前想要添加觸控螢幕驅動
所以有在make menuconfig中修改設定 /dev/hidraw raw HID device support 和 HID Multitouch panels
並也有添加程式碼在 evdev.c mousedev.c joydev.c
在執行mklichee後出現很多看不懂的問題 我全部都按enter
然後出現error
以下結果是我關掉terminal後在執行一次的結果
lab803@lab803-virtual-machine:~$ cd /home/lab803/桌面/lichee
lab803@lab803-virtual-machine:~/桌面/lichee$ source buildroot/scripts/mksetup.sh
Welcome to mkscript setup progress
All available chips:
0. sun9iw1p1
Choice:
Choice:
Choice: 0
All available platforms:
0. android
1. dragonboard
2. linux
Choice: 0
All available kernel:
0. linux-3.4
Choice: 0
All available boards:
0. cubieboard4
1. optimus
2. p1
3. perf
4. perf5
5. perf-lpddr3
Choice: 0
lab803@lab803-virtual-machine:~/桌面/lichee$ mklichee
INFO: ----------------------------------------
INFO: build lichee ...
INFO: chip: sun9iw1p1
INFO: platform: android
INFO: kernel: linux-3.4
INFO: board: cubieboard4
INFO: output: out/sun9iw1p1/android/cubieboard4
INFO: ----------------------------------------
INFO: build buildroot ...
external toolchain has been installed
INFO: build buildroot OK.
INFO: build kernel ...
INFO: prepare toolchain ...
Building kernel
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/kernel/setup.o
arch/arm/kernel/setup.c:60:29: fatal error: mach/sunxi-chip.h: 沒有此一檔案或目錄
compilation terminated.
make[1]: *** [arch/arm/kernel/setup.o] Error 1
make: *** [arch/arm/kernel] Error 2
ERROR: build kernel Failed
以上藍色部份是出現錯誤的地方,有在路徑/lichee/linux-3.4/arch/arm/mach-sunxi/include/mach下找到sunxi-chip.h檔案
但不知要如何解決,麻煩各位前輩了,感謝各位。
另外想請教一件事,在以下幾個編譯出現的選項我都直接按enter,這樣會造成錯誤嗎?如果我要重新選擇是不是要清空已做的設定,因為現在跑都直接跳過這一段,那我要怎清空呢?麻煩各位了,再次感謝。
1.MMU-basedPaged Memory Management Support (MMU) [Y/n/?] y ARMsystem type 1.ARM Ltd. Integrator family (ARCH_INTEGRATOR) (NEW) 2.ARM Ltd. RealView family (ARCH_REALVIEW) (NEW) >3. ARM Ltd. Versatile family (ARCH_VERSATILE) (NEW) 4.ARM Ltd. Versatile Express family (ARCH_VEXPRESS) (NEW) 5.Allwinner Ltd. SUNXI family (ARCH_SUNXI) (NEW) ...省略56個選項
choice[1-56]:
2.Selectthe arch of chip >1. Allwinner A7 smp socs(sun8i) (ARCH_SUN8I) (NEW) 2.Allwinner A15 smp socs(sun9i) (ARCH_SUN9I) (NEW) choice[1-2?]:
3.AllwinnerA7 smp socs>1. FPGAv4 board (FPGA_V4_PLATFORM) (NEW) 2.FPGAv7 board (FPGA_V7_PLATFORM) (NEW) 3.EVB board (EVB_PLATFORM) (NEW) choice[1-3]:
|