[Cado-nfs-discuss] Still gf2x

Emmanuel Thomé Emmanuel.Thome at inria.fr
Mon Apr 25 09:37:22 CEST 2016


I'm still puzzled whether you're willing to address issues with gf2x
itself, or with gf2x as a subpackage of cado-nfs.

Note that despite the fact that gf2x also exists as an independent
package, using it in place of the tarball-supplied copy in cado-nfs does
not necessarily work. I advise against going that route. If that
happens to really be what you want to do, then make sure that you have
the very same version, and that you configure with the flags found in
cado-nfs/CMakeLists.txt. But that is a slippery track. Don't go there.


So assuming you made sure you're not relying on an externally compiled
gf2x (e.g. no gf2x.h or libgf2x.a or libgf2x.so in the directories
/home/idm/mbaranski/{libs,include}), then maybe your problem is related
to cado-nfs (as opposed to being related to your use of it).

I need a better bug report, then. For a better bug report, please do the
following:

 - attach the full config.log of gf2x (not a random excerpt). It's found
   in build/*/gf2x/config.log

 - attach a *full* compilation transcript. For that, I recommend you do "make tidy" or "rm -rf build/" first, then "make"

E.

On Mon, Apr 25, 2016 at 07:28:09AM +0200, Marcin Barański wrote:
> Hello,
> 
> one more time i have an error occured by gf2x. I run previous version(2.1.1) of Cado succesfully, but when i try to run make in cado 2.2.0 directory i got error:
> 
> -sh-4.2$ make
> [  0%] Building gf2x
> Making all in lowlevel
> Making all in src
> Making all in .
> Making all in fft
> Making all in tests
> [  0%] Built target gf2x-build
> [  0%] Built target antebuffer
> [  1%] Generating list of modified files in working tree
> [  1%] Built target list_modified_files
> [ 12%] Built target utils
> [ 14%] Built target utils_with_io
> [ 14%] Built target polyselect_common
> [ 18%] Built target polyselect
> [ 21%] Built target polyselect_ropt
> [ 21%] Built target las-norms
> [ 29%] Built target facul
> [ 30%] Built target dupsup
> [ 32%] Built target freerel
> [ 32%] Built target trialdiv
> [ 38%] Built target las
> [ 43%] Built target las_descent
> [ 43%] Built target makefb
> [ 43%] Built target testbench
> [ 47%] Built target benchfm
> [ 49%] Built target finalst
> [ 50%] Built target gen_decomp
> [ 52%] Built target gfm
> [ 56%] Built target gst
> [ 56%] Built target sqrt
> [ 56%] Built target bitlinalg
> [ 56%] Built target characters
> [ 56%] Built target dup1
> [ 56%] Built target dup2
> [ 56%] Built target filter_galois
> [ 58%] Built target merge
> [ 60%] Built target merge-dl
> [ 61%] Built target purge
> [ 61%] Built target reconstructlog-dl
> [ 63%] Built target replay
> [ 63%] Built target replay-dl
> [ 63%] Built target sm
> [ 65%] Built target sm_simple
> [ 65%] Built target matmul_common
> [ 74%] Built target bwc_mpfq
> [ 74%] Built target matmul_pz_basicp
> [ 76%] Built target matmul_u64k1_bucket
> [ 78%] Built target matmul_u64k1_basic
> [ 78%] Built target matmul_u64k1_sliced
> [ 80%] Built target matmul_u64k1_threaded
> [ 80%] Built target matmul_u64k2_bucket
> [ 80%] Built target matmul_u64k2_basic
> [ 80%] Built target matmul_u64k2_sliced
> [ 81%] Built target matmul_u64k2_threaded
> [ 83%] Built target matmul_u64k3_bucket
> [ 83%] Built target matmul_u64k3_basic
> [ 83%] Built target matmul_u64k3_sliced
> [ 83%] Built target matmul_u64k3_threaded
> [ 83%] Built target matmul_u64k4_bucket
> [ 85%] Built target matmul_u64k4_basic
> [ 85%] Built target matmul_u64k4_sliced
> [ 87%] Built target matmul_u64k4_threaded
> [ 87%] Built target matmul_p_1_basicp
> [ 89%] Built target matmul_p_2_basicp
> [ 89%] Built target matmul_p_3_basicp
> [ 89%] Built target matmul_p_4_basicp
> [ 90%] Built target matmul_p_5_basicp
> [ 90%] Built target matmul_p_6_basicp
> [ 90%] Built target matmul_p_7_basicp
> [ 92%] Built target matmul_p_8_basicp
> [ 92%] Built target matmul_p_9_basicp
> [ 96%] Built target bwc_base
> [ 96%] Built target acollect
> [ 96%] Built target cleanup
> [ 96%] Built target dispatch
> [ 96%] Built target gather
> [ 96%] Built target krylov
> Linking CXX executable lingen
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_fake_fft::compose(unsigned long*, unsigned long const*, unsigned long const*) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_compose'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_fake_fft::add(unsigned long*, unsigned long const*, unsigned long const*) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_add'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::alloc(unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_alloc'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::compose(unsigned long (*) [2], unsigned long const (*) [2], unsigned long const (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_compose'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::add(unsigned long (*) [2], unsigned long const (*) [2], unsigned long const (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_add'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_fake_fft::add(unsigned long*, unsigned long const*, unsigned long const*) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_add'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::add(unsigned long (*) [2], unsigned long const (*) [2], unsigned long const (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_add'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_fake_fft::cpy(unsigned long*, unsigned long const*) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_cpy'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_cpy'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_cpy'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_cpy'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_cpy'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o:/home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: more undefined references to `gf2x_fake_fft_cpy' follow
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_fake_fft::dft(unsigned long*, unsigned long*, unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_dft'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `tpolmat<gf2x_cantor_fft>::poly(unsigned int, unsigned int)':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::dft(unsigned long (*) [2], unsigned long*, unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_dft'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::cpy(unsigned long (*) [2], unsigned long const (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_cpy'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::cpy(unsigned long (*) [2], unsigned long const (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_cpy'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `tpolmat<gf2x_cantor_fft>::poly(unsigned int, unsigned int)':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::cpy(unsigned long (*) [2], unsigned long const (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_cpy'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::cpy(unsigned long (*) [2], unsigned long const (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_cpy'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::cpy(unsigned long (*) [2], unsigned long const (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_cpy'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::cpy(unsigned long (*) [2], unsigned long const (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_cpy'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `tpolmat<gf2x_cantor_fft>::poly(unsigned int, unsigned int)':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::cpy(unsigned long (*) [2], unsigned long const (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_cpy'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `tpolmat<gf2x_cantor_fft>::poly(unsigned int, unsigned int)':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::cpy(unsigned long (*) [2], unsigned long const (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_cpy'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_fake_fft::ift(unsigned long*, unsigned long, unsigned long*) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_ift'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::get(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_get'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::ift(unsigned long*, unsigned long, unsigned long (*) [2]) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_ift'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_init'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::free(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o:/home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: more undefined references to `gf2x_cantor_fft_free' follow
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `~gf2x_cantor_fft':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_clear'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_clear'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_fake_fft':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_init'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::free(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::alloc(unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_alloc'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::zero(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_zero'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::free(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_fake_fft::size() const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:37: undefined reference to `gf2x_fake_fft_size'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::alloc(unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_alloc'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_alloc'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_alloc'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_alloc'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_alloc'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o:/home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: more undefined references to `gf2x_cantor_fft_alloc' follow
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::free(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o:/home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: more undefined references to `gf2x_cantor_fft_free' follow
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::alloc(unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_alloc'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::size() const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_size'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::free(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_free'
> CMakeFiles/lingen.dir/lingen_binary.cpp.o: In function `gf2x_cantor_fft::zero(unsigned long (*) [2], unsigned long) const':
> /home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0/gf2x/fft/gf2x-fft.h:38: undefined reference to `gf2x_cantor_fft_zero'
> collect2: error: ld returned 1 exit status
> make[2]: *** [linalg/bwc/lingen] Error 1
> make[1]: *** [linalg/bwc/CMakeFiles/lingen.dir/all] Error 2
> make: *** [all] Error 2
> make: *** [all] Error 2
> 
> 
> Gf2x config.log:
> 
> -sh-4.2$ vi config.log
> configure:3374: /usr/bin/cc -c -g  conftest.c >&5
> configure:3374: $? = 0
> configure:3415: result: yes
> configure:3432: checking for /usr/bin/cc option to accept ISO C89
> configure:3495: /usr/bin/cc  -c -std=c99 -g -W -Wall -O2  -I/home/idm/mbaranski/Cado/Biblioteki/Gmp/gmp-6.1.0 -I/home/idm/mbaranski/Cado/Cado/cado-nfs-2.2.0  conftest.c >&5
> configure:3495: $? = 0
> configure:3508: result: none needed
> configure:3533: checking whether /usr/bin/cc understands -c and -o together
> configure:3555: /usr/bin/cc -c conftest.c -o conftest2.o
> configure:3558: $? = 0
> configure:3555: /usr/bin/cc -c conftest.c -o conftest2.o
> configure:3558: $? = 0
> configure:3570: result: yes
> configure:3593: checking how to run the C preprocessor
> configure:3624: /usr/bin/cc -E  conftest.c
> configure:3624: $? = 0
> configure:3638: /usr/bin/cc -E  conftest.c
> conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
>  #include <ac_nonexistent.h>
>                             ^
> compilation terminated.
> 
> 
> In my local.sh file i have only 3 uncommented lines:
> 
>  GMP_LIBDIR="/home/idm/mbaranski/libs/lib"
>  GMP_INCDIR="/home/idm/mbaranski/Cado/Biblioteki/Gmp/gmp-6.1.0/"
> 
> 
> ############################################################
> # HWLOC: prefix to installed hwloc
> #
> # (HWLOC is optional)
> #
> # Example values:
> # HWLOC=$HOME/Packages/hwloc-1.11.1
> #
> # To accomodate special configurations, one may also use the two extra
> # variables:
> # HWLOC_LIBDIR=/some/directory
> # HWLOC_INCDIR=/some/directory
> 
> LDFLAGS=-L/home/idm/mbaranski/libs/
> 
> Any idea?
> 
> 
> M.B.
> 
> 
> _______________________________________________
> Cado-nfs-discuss mailing list
> Cado-nfs-discuss at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/mailman/listinfo/cado-nfs-discuss


More information about the Cado-nfs-discuss mailing list