On Thu, Dec 4, 2014 at 7:38 AM, Andrew Haley <aph@xxxxxxxxxx> wrote: > On 12/04/2014 10:57 AM, Cyd Haselton wrote: >> On Thu, Dec 4, 2014 at 3:48 AM, Andrew Haley <aph@xxxxxxxxxx> wrote: >>> On 03/12/14 18:24, Cyd Haselton wrote: >>>> On Wed, Dec 3, 2014 at 12:12 PM, Andrew Haley <aph@xxxxxxxxxx> wrote: >>>>> On 12/03/2014 05:37 PM, Cyd Haselton wrote: >>>>>> ../gcc-4.9.2/configure --prefix=/usr/gcc-4.9 >>>>>> --build=arm-linux-androideabi --host=arm-linux-androideabi >>>>>> --target=arm-linux-androideabi >>>>> >>>>> You're building this GCC on an Android machine? So this isn't >>>>> an Android cross compiler, but an Android native compiler? >>>>> >>>>> Andrew. >>>>> >>>> Correct. This is an Android native compiler, being built on an Android device. >>> >>> Try this: >>> >>> nm <objdir>/gmp/.libs/libgmp.a|grep gmpn_tdiv_qr >> >> Here's the output: >> >> U __gmpn_tdiv_qr >> U __gmpn_tdiv_qr >> U __gmpn_tdiv_qr >> U __gmpn_tdiv_qr >> U __gmpn_tdiv_qr >> U __gmpn_tdiv_qr >> U __gmpn_tdiv_qr >> U __gmpn_tdiv_qr >> U __gmpn_tdiv_qr >> U __gmpn_tdiv_qr > > Right, so that's your problem. You need to look at that library to > see if there are any versions of mpn_tdiv_qr, perhaps with different > prefixes to the names. > > Andrew. > Two follow up questions: 1. If there are differently-prefixed versions in the library, what would I do to allow the make to find them and resolve the original problem? 2. Shouldn't the build of libgmp.a include these symbols?