You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please help with the following errors when make the example. Thanks -James
HElib-master/example_program$ make
Scanning dependencies of target helib_example
[ 50%] Building CXX object CMakeFiles/helib_example.dir/helib_example.cpp.o
[100%] Linking CXX executable helib_example
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function redc(_ntl_gbigint_body*, _ntl_gbigint_body*, long, unsigned long, _ntl_gbigint_body*)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5472: undefined reference to __gmpn_addmul_1'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5484: undefined reference to __gmpn_sub_n' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_rem_struct_basic::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:7937: undefined reference to __gmpn_mod_1' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_reduce_struct_montgomery::eval(_ntl_gbigint_body**, _ntl_gbigint_body**)':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:5556: undefined reference to __gmpn_addmul_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5568: undefined reference to __gmpn_sub_n'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_crt_struct_basic::eval(_ntl_gbigint_body**, long const*, _ntl_tmp_vec*)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:6765: undefined reference to __gmpn_addmul_1'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_rem_struct_medium::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:8021: undefined reference to __gmpn_mod_1'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_grshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:2403: undefined reference to __gmpn_rshift'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_glshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:2338: undefined reference to __gmpn_lshift'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function __gmpn_sub': /usr/local/include/gmp.h:2190: undefined reference to __gmpn_sub_n'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function __gmpn_add': /usr/local/include/gmp.h:2135: undefined reference to __gmpn_add_n'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function __gmpn_sub': /usr/local/include/gmp.h:2190: undefined reference to __gmpn_sub_n'
/usr/bin/ld: /usr/local/include/gmp.h:2190: undefined reference to __gmpn_sub_n' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function __gmpn_add':
/usr/local/include/gmp.h:2135: undefined reference to __gmpn_add_n' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function __gmpn_sub':
/usr/local/include/gmp.h:2190: undefined reference to __gmpn_sub_n' /usr/bin/ld: /usr/local/include/gmp.h:2190: undefined reference to __gmpn_sub_n'
/usr/bin/ld: /usr/local/include/gmp.h:2190: undefined reference to __gmpn_sub_n' /usr/bin/ld: /usr/local/include/gmp.h:2190: undefined reference to __gmpn_sub_n'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gsmul(_ntl_gbigint_body*, long, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3218: undefined reference to __gmpn_mul_1'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:3216: undefined reference to __gmpn_lshift' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gsdiv(_ntl_gbigint_body*, long, _ntl_gbigint_body**)':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:3278: undefined reference to __gmpn_divrem_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:3276: undefined reference to __gmpn_rshift'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gsmod(_ntl_gbigint_body*, long)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3342: undefined reference to __gmpn_mod_1'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gsqrts(long)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3530: undefined reference to __gmpn_sqrtrem'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_quick_accum_muladd(_ntl_gbigint_body*, _ntl_gbigint_body*, long)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:9053: undefined reference to __gmpn_addmul_1'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_leftrotate(_ntl_gbigint_body**, _ntl_gbigint_body* const*, long, _ntl_gbigint_body*, long, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:9181: undefined reference to __gmpn_lshift'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:9168: undefined reference to __gmpn_lshift' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function __gmpn_neg':
/usr/local/include/gmp.h:2226: undefined reference to __gmpn_com' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_ss_submod(_ntl_gbigint_body**, _ntl_gbigint_body* const*, _ntl_gbigint_body* const*, _ntl_gbigint_body*, long)':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:9302: undefined reference to __gmpn_sub_n' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function __gmpn_sub':
/usr/local/include/gmp.h:2190: undefined reference to __gmpn_sub_n' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gaorsmul_1(_ntl_gbigint_body*, long, long, _ntl_gbigint_body**)':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:8300: undefined reference to __gmpn_submul_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:8275: undefined reference to __gmpn_addmul_1'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_MPN_MUL_1C': /home/jamesdang/ntl-11.3.2/src/lip.cpp:8092: undefined reference to __gmpn_mul_1'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gaorsmul_1(_ntl_gbigint_body*, long, long, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:8284: undefined reference to __gmpn_mul_1'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gsqrt(_ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3618: undefined reference to __gmpn_sqrtrem'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function gmod_simple(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3496: undefined reference to __gmpn_tdiv_qr'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_rem_struct_fast::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:7977: undefined reference to __gmpn_mod_1'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_ggcd(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3762: undefined reference to __gmpn_gcd'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:3764: undefined reference to __gmpn_gcd' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gdiv(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**, _ntl_gbigint_body**)':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:3418: undefined reference to __gmpn_tdiv_qr' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_ginv(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:4303: undefined reference to __gmpn_gcdext' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gsq(_ntl_gbigint_body*, _ntl_gbigint_body**)':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:3126: undefined reference to __gmpn_sqr' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:3157: undefined reference to __gmpn_sqr'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function base_mul': /home/jamesdang/ntl-11.3.2/src/lip.cpp:2878: undefined reference to __gmpn_mul_1'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2883: undefined reference to __gmpn_addmul_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2878: undefined reference to __gmpn_mul_1'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2883: undefined reference to __gmpn_addmul_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2878: undefined reference to __gmpn_mul_1'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2883: undefined reference to __gmpn_addmul_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2878: undefined reference to __gmpn_mul_1'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2883: undefined reference to __gmpn_addmul_1' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gmul(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:3017: undefined reference to __gmpn_mul' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2951: undefined reference to __gmpn_mul'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2993: undefined reference to __gmpn_sqr' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2927: undefined reference to __gmpn_sqr'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:3011: undefined reference to __gmpn_mul' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2945: undefined reference to __gmpn_mul'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function gadd_mul_many': /home/jamesdang/ntl-11.3.2/src/lip.cpp:7089: undefined reference to __gmpn_addmul_1'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gexteucl(_ntl_gbigint_body*, _ntl_gbigint_body**, _ntl_gbigint_body*, _ntl_gbigint_body**, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:4182: undefined reference to __gmpn_gcdext'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gpowermod(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to __gmpz_init'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to __gmpz_init' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to __gmpz_init'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to __gmpz_init' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gmp_powermod':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:5654: undefined reference to __gmpz_import' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5655: undefined reference to __gmpz_import'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5656: undefined reference to __gmpz_import' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5658: undefined reference to __gmpz_powm'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gpowermod(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gmp_powermod':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:5671: undefined reference to __gmpz_export' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gpowermod(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gmp_powermod_alt': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5688: undefined reference to __gmpz_import'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5689: undefined reference to __gmpz_import' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5690: undefined reference to __gmpz_import'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5692: undefined reference to __gmpz_powm' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5705: undefined reference to __gmpz_export'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gpowermod(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to __gmpz_init'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to __gmpz_init' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to __gmpz_init'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to __gmpz_init' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function _ntl_gpowermod(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**) [clone .cold.71]':
/home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear'
/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear'
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function void NTL::details_pthread::do_delete_aux<wrapped_mpz>(wrapped_mpz*)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to __gmpz_clear'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/helib_example.dir/build.make:87: helib_example] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/helib_example.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
The text was updated successfully, but these errors were encountered:
Please help with the following errors when make the example. Thanks -James
HElib-master/example_program$ make
Scanning dependencies of target helib_example
[ 50%] Building CXX object CMakeFiles/helib_example.dir/helib_example.cpp.o
[100%] Linking CXX executable helib_example
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
redc(_ntl_gbigint_body*, _ntl_gbigint_body*, long, unsigned long, _ntl_gbigint_body*)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5472: undefined reference to
__gmpn_addmul_1'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5484: undefined reference to
__gmpn_sub_n' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_rem_struct_basic::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)':/home/jamesdang/ntl-11.3.2/src/lip.cpp:7937: undefined reference to
__gmpn_mod_1' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_reduce_struct_montgomery::eval(_ntl_gbigint_body**, _ntl_gbigint_body**)':/home/jamesdang/ntl-11.3.2/src/lip.cpp:5556: undefined reference to
__gmpn_addmul_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5568: undefined reference to
__gmpn_sub_n'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_crt_struct_basic::eval(_ntl_gbigint_body**, long const*, _ntl_tmp_vec*)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:6765: undefined reference to
__gmpn_addmul_1'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_rem_struct_medium::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:8021: undefined reference to
__gmpn_mod_1'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_grshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:2403: undefined reference to
__gmpn_rshift'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_glshift(_ntl_gbigint_body*, long, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:2338: undefined reference to
__gmpn_lshift'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
__gmpn_sub': /usr/local/include/gmp.h:2190: undefined reference to
__gmpn_sub_n'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
__gmpn_add': /usr/local/include/gmp.h:2135: undefined reference to
__gmpn_add_n'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
__gmpn_sub': /usr/local/include/gmp.h:2190: undefined reference to
__gmpn_sub_n'/usr/bin/ld: /usr/local/include/gmp.h:2190: undefined reference to
__gmpn_sub_n' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
__gmpn_add':/usr/local/include/gmp.h:2135: undefined reference to
__gmpn_add_n' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
__gmpn_sub':/usr/local/include/gmp.h:2190: undefined reference to
__gmpn_sub_n' /usr/bin/ld: /usr/local/include/gmp.h:2190: undefined reference to
__gmpn_sub_n'/usr/bin/ld: /usr/local/include/gmp.h:2190: undefined reference to
__gmpn_sub_n' /usr/bin/ld: /usr/local/include/gmp.h:2190: undefined reference to
__gmpn_sub_n'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gsmul(_ntl_gbigint_body*, long, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3218: undefined reference to
__gmpn_mul_1'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:3216: undefined reference to
__gmpn_lshift' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gsdiv(_ntl_gbigint_body*, long, _ntl_gbigint_body**)':/home/jamesdang/ntl-11.3.2/src/lip.cpp:3278: undefined reference to
__gmpn_divrem_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:3276: undefined reference to
__gmpn_rshift'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gsmod(_ntl_gbigint_body*, long)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3342: undefined reference to
__gmpn_mod_1'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gsqrts(long)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3530: undefined reference to
__gmpn_sqrtrem'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_quick_accum_muladd(_ntl_gbigint_body*, _ntl_gbigint_body*, long)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:9053: undefined reference to
__gmpn_addmul_1'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_leftrotate(_ntl_gbigint_body**, _ntl_gbigint_body* const*, long, _ntl_gbigint_body*, long, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:9181: undefined reference to
__gmpn_lshift'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:9168: undefined reference to
__gmpn_lshift' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
__gmpn_neg':/usr/local/include/gmp.h:2226: undefined reference to
__gmpn_com' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_ss_submod(_ntl_gbigint_body**, _ntl_gbigint_body* const*, _ntl_gbigint_body* const*, _ntl_gbigint_body*, long)':/home/jamesdang/ntl-11.3.2/src/lip.cpp:9302: undefined reference to
__gmpn_sub_n' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
__gmpn_sub':/usr/local/include/gmp.h:2190: undefined reference to
__gmpn_sub_n' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gaorsmul_1(_ntl_gbigint_body*, long, long, _ntl_gbigint_body**)':/home/jamesdang/ntl-11.3.2/src/lip.cpp:8300: undefined reference to
__gmpn_submul_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:8275: undefined reference to
__gmpn_addmul_1'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_MPN_MUL_1C': /home/jamesdang/ntl-11.3.2/src/lip.cpp:8092: undefined reference to
__gmpn_mul_1'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gaorsmul_1(_ntl_gbigint_body*, long, long, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:8284: undefined reference to
__gmpn_mul_1'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gsqrt(_ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3618: undefined reference to
__gmpn_sqrtrem'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
gmod_simple(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3496: undefined reference to
__gmpn_tdiv_qr'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_rem_struct_fast::eval(long*, _ntl_gbigint_body*, _ntl_tmp_vec*)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:7977: undefined reference to
__gmpn_mod_1'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_ggcd(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:3762: undefined reference to
__gmpn_gcd'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:3764: undefined reference to
__gmpn_gcd' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gdiv(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**, _ntl_gbigint_body**)':/home/jamesdang/ntl-11.3.2/src/lip.cpp:3418: undefined reference to
__gmpn_tdiv_qr' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_ginv(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':/home/jamesdang/ntl-11.3.2/src/lip.cpp:4303: undefined reference to
__gmpn_gcdext' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gsq(_ntl_gbigint_body*, _ntl_gbigint_body**)':/home/jamesdang/ntl-11.3.2/src/lip.cpp:3126: undefined reference to
__gmpn_sqr' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:3157: undefined reference to
__gmpn_sqr'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
base_mul': /home/jamesdang/ntl-11.3.2/src/lip.cpp:2878: undefined reference to
__gmpn_mul_1'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2883: undefined reference to
__gmpn_addmul_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2878: undefined reference to
__gmpn_mul_1'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2883: undefined reference to
__gmpn_addmul_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2878: undefined reference to
__gmpn_mul_1'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2883: undefined reference to
__gmpn_addmul_1' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2878: undefined reference to
__gmpn_mul_1'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2883: undefined reference to
__gmpn_addmul_1' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gmul(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':/home/jamesdang/ntl-11.3.2/src/lip.cpp:3017: undefined reference to
__gmpn_mul' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2951: undefined reference to
__gmpn_mul'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2993: undefined reference to
__gmpn_sqr' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2927: undefined reference to
__gmpn_sqr'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:3011: undefined reference to
__gmpn_mul' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:2945: undefined reference to
__gmpn_mul'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
gadd_mul_many': /home/jamesdang/ntl-11.3.2/src/lip.cpp:7089: undefined reference to
__gmpn_addmul_1'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gexteucl(_ntl_gbigint_body*, _ntl_gbigint_body**, _ntl_gbigint_body*, _ntl_gbigint_body**, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:4182: undefined reference to
__gmpn_gcdext'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gpowermod(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to
__gmpz_init'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to
__gmpz_init' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to
__gmpz_init'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to
__gmpz_init' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gmp_powermod':/home/jamesdang/ntl-11.3.2/src/lip.cpp:5654: undefined reference to
__gmpz_import' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5655: undefined reference to
__gmpz_import'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5656: undefined reference to
__gmpz_import' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5658: undefined reference to
__gmpz_powm'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gpowermod(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gmp_powermod':/home/jamesdang/ntl-11.3.2/src/lip.cpp:5671: undefined reference to
__gmpz_export' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gpowermod(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)':/home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gmp_powermod_alt': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5688: undefined reference to
__gmpz_import'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5689: undefined reference to
__gmpz_import' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5690: undefined reference to
__gmpz_import'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5692: undefined reference to
__gmpz_powm' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5705: undefined reference to
__gmpz_export'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gpowermod(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to
__gmpz_init'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to
__gmpz_init' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to
__gmpz_init'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5641: undefined reference to
__gmpz_init' /usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
_ntl_gpowermod(_ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body*, _ntl_gbigint_body**) [clone .cold.71]':/home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear'/usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear' /usr/bin/ld: /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear'/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): in function
void NTL::details_pthread::do_delete_aux<wrapped_mpz>(wrapped_mpz*)': /home/jamesdang/ntl-11.3.2/src/lip.cpp:5642: undefined reference to
__gmpz_clear'collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/helib_example.dir/build.make:87: helib_example] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/helib_example.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
The text was updated successfully, but these errors were encountered: