[Galaxy Tab 3 General] r2d23cpo:
[MENTION=5864662]moonbutt74[/MENTION]

I still fighting the auto makefiles. I think I a a lead to the problem. After some tweek configuring auto make I find mention to this error as apart of the error.

Configured with:
/s/ndk-toolchain/src/build/../gcc/gcc-4.6/configure
--prefix=/tmp/[COLOR="Red"]ndk-andrewhsieh[/COLOR]/build/toolchain/prefix
[COLOR="Blue"]--target=i686-linux-android
--host=x86_64-linux-gnu
--build=x86_64-linux-gnu [/COLOR]
--with-gnu-as
--with-gnu-ld
--enable-languages=c,c++
--with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install
--with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install
--with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install
--with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install
--with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install
--with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install
--disable-ppl-version-check
--disable-cloog-version-check
--disable-isl-version-check
--enable-cloog-backend=isl
--with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm'
--disable-libssp
--enable-threads
--disable-nls
--disable-libmudflap
--disable-libgomp
--disable-libstdc__-v3
--disable-sjlj-exceptions
--disable-shared
--disable-tls
--disable-libitm
--with-arch=i686
--with-tune=intel
--with-fpmath=sse
--enable-initfini-array
--disable-nls
--prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix
--with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot
--with-binutils-version=2.21
--with-mpfr-version=3.1.1
--with-mpc-version=1.0.1
--with-gmp-version=5.0.5
--with-gcc-version=4.6
--with-gdb-version=7.6
--with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86/bin/python-config.sh
--with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.6
--with-bugurl=http://source.android.com/source/report-bugs.html
--enable-languages=c,c++
--disable-bootstrap
--enable-plugins
--enable-libgomp
--disable-libsanitizer
--enable-gold
--enable-graphite=yes
--with-cloog-version=0.18.0
--with-ppl-version=1.0
--enable-eh-frame-hdr-for-static
--program-transform-name='s&^&i686-linux-android-&'
--enable-gold=default

See how this "ndk-andrewhsieh" and "andrewhsieh" is wronly ( I think) mention. Looking in google I find mentions of "andrew hsieh", he seems to be giving advice in some google code groups. I wonder if he is the creator of Android. Got it "andr-ew" = andr-oid.

In any case I dig a litle more and there a mention of many issues, but did not find any complaining abut the "andrewhsieh". But I found complains about Auto Makesfiles vs Android.mk architecture in NDK. There are some suggestion in to using "make-standalone-toolchain.sh".

WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

[COLOR="Red"]SUPPORT FOR THIS FEATURE IS STILL IN BETA
AND ONLY APPLIES TO arm-linux-androideabi-4.4.3[/COLOR]

IF YOU ENCOUNTER A PROBLEM WITH THE METHODS DESCRIBED
HERE, PLEASE CONTACT THE SUPPORT FORUM AT

android-ndk@googlegroups.com

WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

It is now possible to use the toolchain provided with the Android NDK as a
standalone compiler. This can be useful if you already have your own build
system, and only need to ability to invoke the cross-compiler to add support
to Android for it.....

Also there is conflics because now GCC4.8 is set to default! see h__p://developer.android.com/tools/sdk/ndk/index.html#docs

Made GCC 4.8 the default for all 32-bit ABIs. Deprecated GCC 4.6, and will remove it next release.
To restore previous behavior, either add NDK_TOOLCHAIN_VERSION=4.6 to ndk-build, or
add --toolchain=arm-linux-androideabi-4.6 when executing make-standalone-toolchain.sh on the command line.
GCC 4.9 remains the default for 64-bit ABIs.

In anyway I believed that my problem is cause because It is till building for 64bit look at the first code I show you

--target=i686-linux-android

--host=x86_64-linux-gnu

--

build=x86_64-linux-gnu

Even though I am in TAB3 it believes it is "x86_64-linux-gnu" weird no!. I did download the x86 "android-ndk-r10d-linux-x86.bin".

Then Still it recognize I am requesting a target "i686-linux-android" I guess arch=i686 it is not enough!

But At the end it builds

build=x86_64-linux-gnu

. This is where I believe is my problem.

uname -a
Linux localhost 3.4.34-850131 #1 SMP PREEMPT Wed Sep 25 20:39:09 KST 2013[COLOR="Blue"] i686[/COLOR] i686 i686 GNU/Linux

As you can see my Tab3 Ubuntu system is i686 . A 64 bit system should read "x86_64 x86_64 x86_64 GNU/Linux" instead, as my desktop is.

moonbutt74 I remember you where suggestion me to download a standalone toolchain. Can you tell me where I can get that?