New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error on Arch linux #18
Comments
This bug is due to gcc version 8.1.0 on Arch. The solution is to compile gcc 7.3.0 and openmpi 3.1.1 (with gcc 7.3.0) before recompile FreeFem++ |
The error is also in GCC 8.2.0 on Arch Linux, and probably also in Debian when using their flavour of gcc 8. Compiling with gcc 7 is not a solution, but only a workaround. |
Bonjour,
je serais au bureau toute la semaine.
Bien cordialement,
Frédéric Hecht.
…----------------------------------------------------------------------------------------------
Laboratoire Jacques-Louis Lions, UPMC Sorbonne Universités
BC187, 4 Place Jussieu, 75252 PARIS cedex 05, France
Campus Jussieu, Barre 15-25, 3 etage Bureau 307
Projet Alpines , Inria de Paris, 2 rue Simone Iff Voie DQ12 75012 Paris
tel: +33 1 44274411, mob: +33 6 62198986, fax: +33 1 44277200
mail & web: frederic.hecht@sorbonne-universite.fr https://www.ljll.math.upmc.fr/hecht/
software: FreeFem++ web site: http://www.freefem.org/ff++
|
Fixed in ad68038 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compilation output:
make[3] : on entre dans le répertoire « /home/simon/Documents/Install/FreeFem/FreeFem-sources/src/nw »
g++ -g -DNDEBUG -O3 -mmmx -mavx -DBAMG_LONG_LONG -DNCHECKPTR -fPIC -rdynamic -o FreeFem++ sansrgraph.o parallelempi-empty.o ffapi.o ../lglib/liblg.a ../fflib/libff.a -Wl,-rpath,/usr/local/ff-petsc/real/lib -L/usr/local/ff-petsc/real/lib -lumfpack -lklu -lcholmod -lbtf -lccolamd -lcolamd -lcamd -lamd -lsuitesparseconfig -larpack -llapack -llapack -lblas -ldl -lm -lrt /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../libgfortran.so /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../libquadmath.so -L/usr/lib -lm -ldl -lz -lsz -lhdf5_hl -lhdf5 -lhdf5_hl
../fflib/libff.a(lgfem.o) : Dans la fonction « TypeSolve<true, Solve>::SolveInit::operator()(void*) const » :
/home/simon/Documents/Install/FreeFem/FreeFem-sources/src/fflib/problem.hpp:493 : référence indéfinie vers « AnyTypeWithOutCheck Problem::eval<double, Fem2D::GFESpaceFem2D::Mesh3, v_fes3>(void*, Problem::Data<Fem2D::GFESpaceFem2D::Mesh3 >, CountPointer<MatriceCreuse >&, MatriceCreuse<CadnaType::Scalaire>&) const »
/home/simon/Documents/Install/FreeFem/FreeFem-sources/src/fflib/problem.hpp:491 : référence indéfinie vers « AnyTypeWithOutCheck Problem::eval<std::complex, Fem2D::GFESpaceFem2D::Mesh3, v_fes3>(void*, Problem::Data<Fem2D::GFESpaceFem2D::Mesh3 >, CountPointer<MatriceCreuse<std::complex > >&, MatriceCreuse<CadnaType<std::complex >::Scalaire>&) const »
/home/simon/Documents/Install/FreeFem/FreeFem-sources/src/fflib/problem.hpp:484 : référence indéfinie vers « AnyTypeWithOutCheck Problem::eval<double, Fem2D::FESpace, v_fes>(void*, Problem::DataFem2D::FESpace, CountPointer<MatriceCreuse >&, MatriceCreuse<CadnaType::Scalaire>&) const »
collect2: error: ld a retourné le statut de sortie 1
make[3]: *** [Makefile:578: FreeFem++] Error 1
make[3] : on quitte le répertoire « /home/simon/Documents/Install/FreeFem/FreeFem-sources/src/nw »
The text was updated successfully, but these errors were encountered: