[ntl] NTL_GMP_HACK flag not set

Bonzo Montreux montreux at outlook.com
Thu Jun 13 03:36:44 CDT 2013


Ah I do apologize for my stupidness, I was careless and I did not happen to read the following part: 

# The file lip_gmp_aux_impl.h is included when lip.c when NTL_GMP_HACK is set.
# The file ../include/NTL/gmp_aux.h is included in ../include/NTL/lip.h
# when NTL_GMP_LIP is set.

Sorry for the false alarm

From: montreux at outlook.com
To: ntl at shoup.net
Date: Thu, 13 Jun 2013 03:16:13 -0400
Subject: [ntl] NTL_GMP_HACK flag not set




Hello all, 
I'm trying to port NTL (with gmp enabled) to Android, but I'm running on some trouble. I was able to port it using NTL 5.5 without GMP but now I'm trying to do so with NTL 6 and GMP. Before I state the problem, here's a bit of background on the configuration:

./configure CC=/tmp/ntl-build/bin/arm-linux-androideabi-gcc CXX=/tmp/ntl-build/bin/arm-linux-androideabi-g++ SHARED=on AR=/tmp/ntl-build/bin/arm-linux-androideabi-ar RANLIB=/tmp/ntl-build/bin/arm-linux-androideabi-ranlib NTL_GMP_LIP=on GMP_PREFIX=/prod/android-ndk-r8/workspace/verifiable/gmp-precompiled/armeabi-v7a DEF_PREFIX=/tmp/ntl-build/install_dir

I run this on my 64-bit linux distro, and it goes smoothly. Then I run setup1 and setup2 (also without too much trouble, albeit they had to be heavily modified to do the behind the scenes Android work). On setup3, however, the following results from running gen_lip_gmp_aux inside the Android phone:

NTL_GMP_HACK flag not set

I have looked everywhere in the makefile and the config.h file but I wasn't able to notice anything wrong. Any ideas?


 		 	   		  

_______________________________________________
ntl mailing list
ntl at shoup.net
http://shoup.net/mailman/listinfo/ntl_shoup.net 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shoup.net/pipermail/ntl_shoup.net/attachments/20130613/4e0b1898/attachment.htm>


More information about the ntl mailing list