Hi, the problem seems to be that you're using a combination of staging-panda and 12.04 -- staging-panda wasn't released with 12.04, but tracking-panda was.
Probably staging-panda.xml on the branch contains some nonsense like pulling in build/core from linaro_android_4.0.4 head, but a specific older revision of system/media.
Try using tracking-panda.xml instead of staging-panda.xml.
ttyl bero
On 24 May 2012 19:15, William Sheet william.sheet@tely.com wrote:
Hi, This is the first time that I am building linaro-android-12.04-release. I am getting some build errors. This is what I did to get sources, from a bash script.
MANIFEST_REPO="git://android.git.linaro.org/platform/manifest.git" MANIFEST_BRANCH="linaro-android-12.04-release" MANIFEST_FILENAME="staging-panda.xml"
mkdir $ANDROID_DIR
echo "getting android sources" pushd $ANDROID_DIR repo init -u ${MANIFEST_REPO} -b ${MANIFEST_BRANCH} -m ${MANIFEST_FILENAME} repo sync popd
This is how I get the tool and the toolchain that I am using.
TOOLCHAIN_URL="http://snapshots.linaro.org/android/~linaro-android/toolchain-4.6-2012.05/1/..."
echo "getting toolchain" wget ${TOOLCHAIN_URL} tar -jxvf android-toolchain-eabi-linaro-*
This is how I am building it.
pushd $ANDROID_DIR make -j6 HOST_CC=gcc HOST_CXX=g++ HOST_CPP=cpp TARGET_PRODUCT=pandaboard TARGET_SIMULATOR=false TARGET_TOOLS_PREFIX=../android-toolchain-eabi/bin/arm-linux-androideabi- boottarball systemtarball userdatatarball | tee ../$LOGS_DIR/android_make_out.log popd
At first, I got some error about not having hardware/linaro/tinyhal/. I added that repository off linaro. Probably should have ask for help at this point but ...
Then I got this: target thumb C++: libwilhelm <= system/media/wilhelm/src/itf/IStreamInformation.cpp system/media/wilhelm/src/android/android_Effect.cpp: In function 'android::status_t android_eq_getParam(android::spandroid::AudioEffect, int32_t, int32_t, void*)': system/media/wilhelm/src/android/android_Effect.cpp:196:21: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] system/media/wilhelm/src/android/android_Effect.cpp: In function 'android::status_t android_eq_setParam(android::spandroid::AudioEffect, int32_t, int32_t, void*)': system/media/wilhelm/src/android/android_Effect.cpp:222:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] system/media/wilhelm/src/android/android_Effect.cpp: In function 'android::status_t android_fx_setParam(android::spandroid::AudioEffect, int32_t, uint32_t, void*, uint32_t)': system/media/wilhelm/src/android/android_Effect.cpp:550:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] system/media/wilhelm/src/android/android_Effect.cpp: In function 'android::status_t android_fx_getParam(android::spandroid::AudioEffect, int32_t, uint32_t, void*, uint32_t)': system/media/wilhelm/src/android/android_Effect.cpp:570:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] target thumb C++: libwilhelm <= system/media/wilhelm/src/itf/IVideoDecoderCapabilities.cpp cc1plus: some warnings being treated as errors make: *** [out/target/product/pandaboard/obj/SHARED_LIBRARIES/libwilhelm_intermediates/android/android_Effect.o] Error 1
Where did I go wrong and how can I get this thing to build?
Thanks, William
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android