Error when building Android

Started by hackman127, September 22, 2013, 12:54:53 AM

Previous topic - Next topic

hackman127

I am brand new to this series, just got my A20 today. I'm trying to build an image, since it seems I can't find a pre-build android image anywhere, using the SDK the Wiki pointed me to. I have everything uncompressed on my linux box and I'm running the command

./build.sh -p sun4i_crane -k 3.0

That is failing, the last new messages from the build output are below. Any ideas?

make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/services/samba/netwide/Android/lichee/linux-3.0/modules/wifi/ar6003/AR6kSDK.build_3.1_RC.514/host/hif/sdio'
cp -f /home/services/samba/netwide/Android/lichee/linux-3.0/modules/wifi/ar6003/AR6kSDK.build_3.1_RC.514/host/os/linux/ar6000.ko /home/services/samba/netwide/Android/lichee/linux-3.0/modules/wifi/ar6003/AR6kSDK.build_3.1_RC.514/host/.output/sun4i_ARM_NATIVEMMC-SDIO/image
arm-none-linux-gnueabi-strip -g -S -d /home/services/samba/netwide/Android/lichee/linux-3.0/modules/wifi/ar6003/AR6kSDK.build_3.1_RC.514/host/.output/sun4i_ARM_NATIVEMMC-SDIO/image/ar6000.ko
cp -f /home/services/samba/netwide/Android/lichee/linux-3.0/modules/wifi/ar6003/AR6kSDK.build_3.1_RC.514/host/.output/sun4i_ARM_NATIVEMMC-SDIO/image/ar6000.ko /home/services/samba/netwide/Android/lichee/linux-3.0/output/lib/modules/3.0.8/ar6003.ko
cp -f /home/services/samba/netwide/Android/lichee/linux-3.0/modules/wifi/ar6003/AR6kSDK.build_3.1_RC.514/host/../../ath6k /home/services/samba/netwide/Android/lichee/linux-3.0/output/lib/modules/3.0.8 -rf
make: Leaving directory `/home/services/samba/netwide/Android/lichee/linux-3.0/modules/wifi/ar6003/AR6kSDK.build_3.1_RC.514/host'
make: *** modules/wifi/usi-bcm4329/v4.218.248.15/open-src/src/dhd/linux: No such file or directory.  Stop.

nbmx

I found this missing module in old git hub repo https://github.com/allwinner-ics/lichee_linux-3.0/tree/master/modules/wifi/usi-bcm4329 
but then I've problem while building with simlink to dhd_linux.c - file exist, script exit when it can do ln command.

nbmx

Problem with ln was in archive attrib in files in wifi modules.

But another problem is with:

frameworks/base/include/utils/KeyedVector.h:193:31: error: 'indexOfKey' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]


Someone can help, because solutions with adding -fpermissive parameter to Android.mk are not working.

nbmx

I made few changes in problematic files (adding "this->" ) in templates and that's helped.

But now the problem is with non existing <drv_display_sun4i.h> in SDK when building Android.
....