[Cado-nfs-discuss] Gf2x error

Marcin Barański baranek2223 at wp.pl
Mon Apr 18 09:40:16 CEST 2016


Hello,

I run make command in the cadoNFS main catalog and
I don't use a local.sh file.

When i try to copy installed Cado from another PC and run make command i get an error showed below:

.
.
.

Scanning dependencies of target lingen
[ 96%] Building CXX object linalg/bwc/CMakeFiles/lingen.dir/lingen_binary.cpp.o
[ 96%] Building C object linalg/bwc/CMakeFiles/lingen.dir/tree_stats.c.o
[ 96%] Building C object linalg/bwc/CMakeFiles/lingen.dir/logline.c.o
[ 96%] Building C object linalg/bwc/CMakeFiles/lingen.dir/lingen_qcode.c.o
[ 96%] Building CXX object linalg/bwc/CMakeFiles/lingen.dir/lingen_qcode_do.cpp.o
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



Pozdrawiam 
Marcin Barański




More information about the Cado-nfs-discuss mailing list