Then I started a repo from sourceforge as described here : http://www.android-x86.org/getsourcecode
I issued the command: make iso_img TARGET_PRODUCT=generic_x86
Now I get the following error:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=3.2.2
TARGET_PRODUCT=generic_x86
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=HLK75D
============================================
host C++: libutils <= frameworks/base/libs/utils/RefBase.cpp
<Kommandozeile>:0:0: Warnung: »_FORTIFY_SOURCE« redefiniert [standardmäßig aktiviert]
<eingebaut>:0:0: Anmerkung: dies ist die Stelle der vorherigen Definition
frameworks/base/libs/utils/RefBase.cpp: In Elementfunktion »void android::RefBase::weakref_type::trackMe(bool, bool)«:
frameworks/base/libs/utils/RefBase.cpp:527:67: Fehler: Die Übergabe von »const android::RefBase::weakref_impl« als »this«-Argument von »void android::RefBase::weakref_impl::trackMe(bool, bool)« streicht Qualifizierer [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/RefBase.o] Fehler 1
the make version with ubuntu is: 3.81-8.1ubuntu1
2011/11/27 Tom <tomm...@googlemail.com>:
> hello,
>
> I set up a box with ubuntu 11.10 64bit version with online updates,
> installed packages as indicated here:
> http://source.android.com/source/initializing.html (part:
>
> Installing required packages 64-bit (recommended))
>
> Then I started a repo from sourceforge as described here :
> http://www.android-x86.org/getsourcecode
>
> I issued the command: make iso_img TARGET_PRODUCT=generic_x86
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
ERROR#1 RefBase.cpp
a fix for frameworks/base/libs/utils/RefBase.cpp is described here:https://groups.google.com/group/android-building/tree/browse_frm/month/2011-05/39025e2ed869e1fa?rnum=71&lnk=nl
in the File: frameworks/base/libs/utils/Android.mk change
-LOCAL_CFLAGS += -DLIBUTILS_NATIVE=1 $(TOOL_CFLAGS)
+LOCAL_CFLAGS += -DLIBUTILS_NATIVE=1 $(TOOL_CFLAGS) -fpermissive
works
ERROR#2 Main.cpp
host C++: obbtool <= frameworks/base/tools/obbtool/Main.cppbuild/core/combo/HOST_linux-x86.mk:
-HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0
+HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
(linenumber 59)