編譯A31S出現錯誤

2021-07-23 18:44:13 字數 1179 閱讀 6756

編譯a31s

1.compile lichee directory

enter the lichee directory

# cd lichee

execute the compile command

# ./build.sh -p sun6i_fiber_a31s

2.compile android directory

enter the android directory

# cd android

configure the environment variables

# source build/envsetup.sh

select the configuration scheme

# lunch

input the configuration scheme

19copy the compiled uboot and kernel in lichee directory

# extract-bsp

compile

# make -j8

after the compilation is completed, pack

# pack

之前編譯都是ok才打包的,後面因為客戶需要新增乙個功能,就重新解壓編譯,就出現問題,特此記錄一下。

lichee/linux3.3/modules/eurasia_km/eurasiacon/binary2_sunxi_android_release/target/kbuild/services4/3rdparty/

dc_sunxi/

dc_sunxi_displayclass.c: no such file or directory;

arm-linux-gnueabi-gcc: fatal error:no input files

原因:sdk發布的時候,沒把之前做的鏈結刪掉,這些鏈結是指向 sdk開發者系統目錄的,需要重新生成這些鏈結。

解決方法:刪除 lichee/linux-3.3/modules/eurasia_km/eurasiacon/binary2_sunxi_android_release 目錄

A31S紅外遙控

在lichee llinux3.3 drivers input keyboard目錄下的makefile檔案末尾新增 obj config ir sun6i sun6i ir.o 然後在android device softwinner fiber a31st目錄下的init.sun6i.rc中新增...

編譯時出現錯誤make update api

在編譯framework時出錯提示要 make update api 這是因為修改frameworks層,定義了新的 公有變數 常量 方法名稱要提交 frameworks base api current.txt 這個檔案。1 新增系統api或者修改 hide的api後,需要執行 make upda...

g 編譯出現glibc detected 錯誤

glibc detected free invalid pointer glibc detected malloc memory corruption glibc detected double free or corruption out 0x00000000005c18a0 glibc dete...