I am a new comer. I try to port the android to PowerPC platform. I get
following error when I compile the code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2.1
TARGET_PRODUCT=p1022ds
TARGET_BUILD_VARIANT=user
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=ppc
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
============================================
build/core/main.mk:290: implicitly installing apns-conf_sdk.xml
Removing from sdk:
: out/target/product/p1022ds/system/app/Quake.apk
: out/target/product/p1022ds/system/bin/dbus-daemon
: out/target/product/p1022ds/system/bin/dnsmasq
: out/target/product/p1022ds/system/bin/iptables
: out/target/product/p1022ds/system/bin/tc
: out/target/product/p1022ds/system/lib/libdbus.so
: out/target/product/p1022ds/system/lib/libiprouteutil.so
: out/target/product/p1022ds/system/lib/libnetlink.so
: out/target/product/p1022ds/system/lib/libquake.so
: out/target/product/p1022ds/system/xbin/dbus-monitor
: out/target/product/p1022ds/system/xbin/dbus-send
build/core/Makefile:19: warning: overriding commands for target `out/
target/product/p1022ds/system/usr/keylayout/qwerty.kl'
sdk/emulator/keymaps/Android.mk:13: warning: ignoring old commands for
target `out/target/product/p1022ds/system/usr/keylayout/qwerty.kl'
host C++: aapt <= frameworks/base/tools/aapt/Command.cpp
In file included from frameworks/base/tools/aapt/AaptAssets.h:18,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Command.cpp:6:
frameworks/base/tools/aapt/ZipFile.h:65: warning: 'typedef' was
ignored in this declaration
frameworks/base/tools/aapt/Command.cpp: In function 'int
doList(Bundle*)':
frameworks/base/tools/aapt/Command.cpp:201: error: 'const class
android::ResTable' has no member named 'print'
frameworks/base/tools/aapt/Command.cpp: In function 'int
doDump(Bundle*)':
frameworks/base/tools/aapt/Command.cpp:391: error: 'const class
android::ResTable' has no member named 'print'
The code should be correct. However, why the compiler cannot find the
right file. What I need to do to solve this problem?
I use cross-compiler: gcc-4.5.55-eglibc-2.11.55.
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting