Hi,
I'm attempting to work with the RIoTboard for the first time and have run into the issue of creating a flash-able android image. I downloaded the Jelly Bean (Android 4.3) code and got the repo all initialized and synced with no issues. There were no issues with the '. build/envsetup.sh' and choosing the desired lunch item (23 - RIoTboard_6solo-eng), however the 'make -j8' continues to fail regardless of what I try.
Please see the attached log from the make command. Note that I had already tried to make the images, thus the reason that the log is so short. However, the issues I am having are fully encompassed in the provided log.
As can be seen, there seems to be some issue with the EthernetStateTracker.java includes. There are multiple (22) symbols that are supposed to be included that have not been found. I am also getting Error 41 in regards to a debug .jar file and I'm being told that I'm using deprecated APIs.
I am running this with JDK 1.6.0_45 at the moment. I have tried the same process with both the latest JDK 1.5 and JDK 1.8 versions, to no avail.
If someone has run across this and knows the solution, I would love to find the answer. My Googling has turned up absolutely nothing helpful enough to solve my problem. Again, I am simply trying to do the first make on the downloaded Android source code. I have not modified it in any way, and yet it will not build.
Things I have tried:
- Completely commenting out EthernetStateTracker.java. Similar symbol missing errors simply occurred in other .java files
- Running 'make clean', 'make clean -j8', 'make update-api', 'make', etc.
- Creating a custom classes-full-debug.jar file in the folder where Error 41 popped up (though this might have been wrong?)
- Completely deleting, re-downloading, re-initializing, and re-syncing repository.
- Multiple versions of Java JDK.
- Re-download Jelly Bean code from riotboard.org (as opposed to previous link on the Riotboard Element 14 site).
- There are probably more that I can't remember off the top of my head
Thanks,
Caleb
P.S. Just noticed that for some reason the log file I attached defaulted to a .zip file, so I'm also pasting the log down below in case you didn't want to have to download and unzip a file just to read the log
riot_source: make -j8
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=RIoTboard_6solo
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-55-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=1.0.0-rc2
OUT_DIR=out
============================================
build/core/Makefile:32: warning: overriding commands for target `out/target/product/RIoTboard_6solo/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:520: warning: ignoring old commands for target `out/target/product/RIoTboard_6solo/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/RIoTboard_6solo/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:520: warning: ignoring old commands for target `out/target/product/RIoTboard_6solo/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE RIoTboard_6solo
target Java: voip-common (out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/classes)
make -C kernel_imx -j8 uImage ARCH=arm CROSS_COMPILE=`pwd`/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
make[1]: Entering directory `/home/lattice/riot_source/kernel_imx'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
CHK include/linux/version.h
target Symbolic: libcutils (out/target/product/RIoTboard_6solo/symbols/system/lib/libcutils.so)
target Strip: libsync (out/target/product/RIoTboard_6solo/obj/lib/libsync.so)
target Strip: libnativehelper (out/target/product/RIoTboard_6solo/obj/lib/libnativehelper.so)
target Symbolic: libicuuc (out/target/product/RIoTboard_6solo/symbols/system/lib/libicuuc.so)
target Symbolic: libcrypto (out/target/product/RIoTboard_6solo/symbols/system/lib/libcrypto.so)
Install: out/target/product/RIoTboard_6solo/system/lib/libsync.so
Copying: out/target/common/obj/APPS/ApplicationsProvider_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/BasicDreams_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/BackupRestoreConfirmation_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/javax.obex_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-honeycomb-mr2_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/SoundRecorder_intermediates/classes-jarjar.jar
Note: frameworks/opt/net/voip/src/java/com/android/server/sip/SipService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: frameworks/opt/net/voip/src/java/com/android/server/sip/SipService.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying: out/target/common/obj/APPS/CalendarProvider_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/CertInstaller_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/com.android.phone.shared_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/DefaultContainerService_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/junit-runner_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/DownloadProvider_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/DownloadProviderUi_intermediates/classes-jarjar.jar
target Java: Ethernet (out/target/common/obj/APPS/Ethernet_intermediates/classes)
Copying: out/target/common/obj/JAVA_LIBRARIES/com.android.location.provider_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v8-renderscript_intermediates/classes-jarjar.jar
target Java: HTMLViewer (out/target/common/obj/APPS/HTMLViewer_intermediates/classes)
target Java: InputDevices (out/target/common/obj/APPS/InputDevices_intermediates/classes)
target Java: KeyChain (out/target/common/obj/APPS/KeyChain_intermediates/classes)
target Java: LiveWallpapers (out/target/common/obj/APPS/LiveWallpapers_intermediates/classes)
target Java: LiveWallpapersPicker (out/target/common/obj/APPS/LiveWallpapersPicker_intermediates/classes)
target Java: MagicSmokeWallpapers (out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates/classes)
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:24: cannot find symbol
symbol : class scanResult
location: class android.net.EthernetDataTracker
import android.net.EthernetDataTracker.scanResult;
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:25: cannot find symbol
symbol : class connectResult
location: class android.net.EthernetDataTracker
import android.net.EthernetDataTracker.connectResult;
^
target Java: MediaProvider (out/target/common/obj/APPS/MediaProvider_intermediates/classes)
packages/apps/Ethernet/src/android/net/ethernet/EthernetMonitor.java:57: cannot find symbol
symbol : method setHandler(android.net.ethernet.EthernetMonitor.NetStateHandler)
location: class android.net.EthernetDataTracker
mDataTracker.setHandler(sInstance);
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:197: cannot find symbol
symbol : method getEthernetCarrierState(java.lang.String)
location: class android.net.EthernetDataTracker
return mDataTracker.getEthernetCarrierState(iface);
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:238: cannot find symbol
symbol : method configureIfc(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)
location: class android.net.EthernetDataTracker
mDataTracker.configureIfc(m.getIfName(),
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:255: cannot find symbol
symbol : method configureIfc(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)
location: class android.net.EthernetDataTracker
isOK = mDataTracker.configureIfc(m.getIfName(),
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:271: cannot find symbol
symbol : method setUserFlag(boolean)
location: class android.net.EthernetDataTracker
mDataTracker.setUserFlag(flag);
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:346: cannot find symbol
symbol : class scanResult
location: class android.net.ethernet.EthernetStateTracker
scanResult sR;
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:347: cannot find symbol
symbol : class connectResult
location: class android.net.ethernet.EthernetStateTracker
connectResult cR;
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:352: cannot find symbol
symbol : variable ETHER_MSG_ADD_INTERFACE
location: class android.net.EthernetDataTracker
case EthernetDataTracker.ETHER_MSG_ADD_INTERFACE:
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:353: cannot find symbol
symbol : class scanResult
location: class android.net.ethernet.EthernetStateTracker
sR = (scanResult)msg.obj;
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:363: cannot find symbol
symbol : variable ETHER_MSG_INTERFACE_STATUS_CHANGE
location: class android.net.EthernetDataTracker
case EthernetDataTracker.ETHER_MSG_INTERFACE_STATUS_CHANGE:
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:364: cannot find symbol
symbol : class scanResult
location: class android.net.ethernet.EthernetStateTracker
sR = (scanResult)msg.obj;
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:373: cannot find symbol
symbol : variable ETHER_MSG_INTERFACE_STATUS_CHANGE
location: class android.net.EthernetDataTracker
sendMessage(EthernetDataTracker.ETHER_MSG_INTERFACE_STATUS_CHANGE, sR.iFace);
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:378: cannot find symbol
symbol : variable ETHER_MSG_CONNECTED_SUCCESS
location: class android.net.EthernetDataTracker
case EthernetDataTracker.ETHER_MSG_CONNECTED_SUCCESS:
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:379: cannot find symbol
symbol : class connectResult
location: class android.net.ethernet.EthernetStateTracker
cR = (connectResult)msg.obj;
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:390: cannot find symbol
symbol : variable ETHER_MSG_CONNECTED_SUCCESS
location: class android.net.EthernetDataTracker
sendMessage(EthernetDataTracker.ETHER_MSG_CONNECTED_SUCCESS, cR.iFace);
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:395: cannot find symbol
symbol : variable ETHER_MSG_CONNECTED_FAILED
Note: packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
location: class android.net.EthernetDataTracker
case EthernetDataTracker.ETHER_MSG_CONNECTED_FAILED:
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:396: cannot find symbol
symbol : class connectResult
location: class android.net.ethernet.EthernetStateTracker
cR = (connectResult)msg.obj;
^
packages/apps/Ethernet/src/android/net/ethernet/EthernetStateTracker.java:406: cannot find symbol
symbol : variable ETHER_MSG_CONNECTED_FAILED
location: class android.net.EthernetDataTracker
sendMessage(EthernetDataTracker.ETHER_MSG_CONNECTED_FAILED, cR.iFace);
^
packages/apps/Ethernet/src/android/net/server/EthernetService.java:63: cannot find symbol
symbol : method clearConnections()
location: class android.net.EthernetDataTracker
mDataTracker.clearConnections();
^
packages/apps/Ethernet/src/android/net/server/EthernetService.java:64: cannot find symbol
symbol : method scanInterface()
location: class android.net.EthernetDataTracker
mDataTracker.scanInterface();
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
22 errors
make: *** [out/target/common/obj/APPS/Ethernet_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
CHK include/generated/utsrelease.h
make[2]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
CHK include/generated/compile.h
Kernel: arch/arm/boot/Image is ready
SHIPPED arch/arm/boot/compressed/lib1funcs.S
AS arch/arm/boot/compressed/lib1funcs.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
UIMAGE arch/arm/boot/uImage
Image Name: Linux-3.0.35-06440-g69a9d24
Created: Tue Jun 23 10:36:38 2015
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4735296 Bytes = 4624.31 kB = 4.52 MB
Load Address: 10008000
Entry Point: 10008000
Image arch/arm/boot/uImage is ready
make[1]: Leaving directory `/home/lattice/riot_source/kernel_imx'
install -D kernel_imx/arch/arm/boot/uImage out/target/product/RIoTboard_6solo/uImage
install -D kernel_imx/arch/arm/boot/zImage out/target/product/RIoTboard_6solo/kernel
Message was edited by: Caleb Timms