Open lepalom opened 9 months ago
Unfortunately some of the Fortran code we're using is rather old and newer compiler don't like it. You have two solutions. You can either install gfortran9 and make sure CMake uses it or use the C version of the code. This can be done when running CMake.
Ok, I'm testing with the lapack C version , but I got this error (devel branch):
[ 86%] Linking C executable xlintstc
/usr/bin/ld: CMakeFiles/xlintstc.dir/xlaenv.c.o:(.bss+0x0): multiple definition of `claenv_'; CMakeFiles/xlintstc.dir/ilaenv.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkaa.c.o:(.bss+0x0): multiple definition of `claenv_'; CMakeFiles/xlintstc.dir/ilaenv.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkaa.c.o:(.bss+0x320): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkaa.c.o:(.bss+0x340): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkgb.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkgb.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkge.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkge.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkgt.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkgt.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkhe.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkhe.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkhp.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkhp.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchklq.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchklq.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkpb.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkpb.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkpo.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkpo.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkps.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkps.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkpp.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkpp.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkpt.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkpt.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkq3.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkq3.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkql.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkql.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkqp.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkqp.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkqr.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkqr.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkrq.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchkrq.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchksp.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchksp.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchksy.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchksy.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchktb.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchktb.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchktp.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchktp.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchktr.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchktr.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchktz.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cchktz.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvgt.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvgt.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvhe.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvhe.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvhp.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvhp.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvls.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvls.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvpb.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvpb.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvpp.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvpp.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvpt.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvpt.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvsp.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvsp.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvsy.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvsy.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrgt.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrgt.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrhe.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrhe.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrlq.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrlq.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrls.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrls.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrps.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrps.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrql.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrql.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrqp.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrqp.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrqr.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrqr.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrrq.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrrq.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrsy.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrsy.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrtr.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrtr.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrtz.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrtz.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrvx.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrvx.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/clqt01.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/clqt02.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/clqt03.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cqlt01.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cqlt02.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cqlt03.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cqrt01.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cqrt02.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cqrt03.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/crqt01.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/crqt02.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/crqt03.c.o:(.bss+0x0): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvge.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvge.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvgb.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvgb.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrge.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrge.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvpo.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cdrvpo.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrpo.c.o:(.bss+0x0): multiple definition of `infoc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/xlintstc.dir/cerrpo.c.o:(.bss+0x20): multiple definition of `srnamc_'; CMakeFiles/xlintstc.dir/xerbla.c.o:(.bss+0x20): first defined here
collect2: error: ld returned 1 exit status
make[5]: *** [TESTING/LIN/CMakeFiles/xlintsts.dir/build.make:2341: TESTING/LIN/xlintsts] Error 1
make[4]: *** [CMakeFiles/Makefile2:1513: TESTING/LIN/CMakeFiles/xlintsts.dir/all] Error 2
collect2: error: ld returned 1 exit status
make[5]: *** [TESTING/LIN/CMakeFiles/xlintstd.dir/build.make:2341: TESTING/LIN/xlintstd] Error 1
make[4]: *** [CMakeFiles/Makefile2:1571: TESTING/LIN/CMakeFiles/xlintstd.dir/all] Error 2
collect2: error: ld returned 1 exit status
make[5]: *** [TESTING/LIN/CMakeFiles/xlintstz.dir/build.make:2613: TESTING/LIN/xlintstz] Error 1
make[4]: *** [CMakeFiles/Makefile2:1600: TESTING/LIN/CMakeFiles/xlintstz.dir/all] Error 2
collect2: error: ld returned 1 exit status
make[5]: *** [TESTING/LIN/CMakeFiles/xlintstc.dir/build.make:2613: TESTING/LIN/xlintstc] Error 1
make[4]: *** [CMakeFiles/Makefile2:1542: TESTING/LIN/CMakeFiles/xlintstc.dir/all] Error 2
make[3]: *** [Makefile:121: all] Error 2
make[2]: *** [CMakeFiles/cisstNetlib_C.dir/build.make:86: cisstNetlibLapack/src/cisstNetlib_C-stamp/cisstNetlib_C-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:166: CMakeFiles/cisstNetlib_C.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
And, it should not be more easy that in Linux platforms link against the clapack package version than download and build one?
We assume the fortran version is faster and has been tested/upgraded regularly so if we can find a fortran compiler that works, we use it. The issue is that we added some extra Fortran routines. Some of these are rather old and are now causing problems with modern fortran compilers. So, there is no perfect solution. I updated the cisstNetlib to use a patched version of clapack so it should now compile on Linux. Please checkout the latest devel version to see if that works. Out of curiosity, are you a dVRK user?
Ok, it was built, but it would not be better to use the packaged version that is provided by the Linux distros?
Hi,
I'm trying to build cisstNetlib on a Debian Bookworm 64 bits with:
And I got this error:
Any idea to solve it?