I managed to create a successful build on Oneric 11.11, via the
removal of that "-Werror" argument in frameworks/compile/slang/
However there were a couple of "minor" things I changed first which
may or may not have had any effect.
As best as I can tell from comments in the source code, there were
some past tweaks in the source code, for major Ubuntu releases that
apparently broke and/or threw compilation errors in the past, anyway
at least some of these past problems may actually not be applicable
now in 11.x, or I should say, what you have implemented is now the
default behavior, rendering some of those tweaks to be unneccesary and
very noisy on the console as it builds now.
I suppose I will run through it again from the top (including actually
documenting whats necessary to set up the build environment) and
verify whether the other changes mattered or not - however that's kind
of a secondary concern to actually playing around with the Android
source and working on driver functionality for my device now.
Post by tabletsx86
agree with Robert as I have compiled on Ubuntu 10.04 WITHOUT errors...
Post by Robert Sharp
You are likely to encounter other compile errors in 11.x, that you
would not encounter compiling in 10.04. For this particular hurdle you
could try the following.
Change the following line in frameworks/compile/slang/Android.mk to
local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter -
local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter
Post by Tom
during the make process for generic_x86 i get the following error on a
ubuntu 11 64bit box.
host C++: llvm-rs-cc <= frameworks/compile/slang/llvm-rs-cc.cpp
<Kommandozeile>:0:0: Fehler: »_FORTIFY_SOURCE« redefiniert [-Werror]
<eingebaut>:0:0: Anmerkung: dies ist die Stelle der vorherigen
cc1plus: Alle Warnungen werden als Fehler behandelt
make: *** [out/host/linux-x86/obj/EXECUTABLES/llvm-rs-cc_intermediates/
llvm-rs-cc.o] Fehler 1
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+Gemail@example.com
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.