We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I am trying to compile adol-c on a linux system (CentOS 7.9) and after configuring the build with
./configure --prefix=/cluster/apps/nss/gcc-6.3.0/adol-c/2.7.2/x86_64 --enable-shard --enable-sparse --enable-atrig-erf
and when compiling the code afterwards, it always fails with the error "ld: cannot find -link":
/bin/sh ../libtool --tag=CXX --mode=link /cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/bin/g++ -g -O2 -version-info 4:0:2 -no-undefined -o libadolc.la -rpath /cluster/apps/nss/gcc-6.3.0/adol-c/2.7.2/x86_64/lib64 dummy.lo src/libadolcsrc.la src/drivers/libdrivers.la src/tapedoc/libtapedoc.la src/lie/liblie.la src/sparse/libsparse.la -lm libtool: link: /cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/bin/g++ -o .libs/libadolc.so.2.2.0 .libs/dummy.o -Wl,--whole-archive src/.libs/libadolcsrc.a src/drivers/.libs/libdrivers.a src/tapedoc/.libs/libtapedoc.a src/lie/.libs/liblie.a src/sparse/.libs/libsparse.a -Wl,--no-whole-archive -g -O2 `echo " -Wl,-rpath -Wl,/cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/lib/../lib64 -Wl,-rpath -Wl,/cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/lib/../lib64 -L/cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/lib64/../lib64 -L/cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/lib/../lib64 -L/cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/lib/gcc/x86_64-pc-linux-gnu/6.3.0 -L/cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/lib64 -L/cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/lib -L/cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../.. /cluster/spack/apps/linux-centos7-x86_64/gcc-4.8.5/gcc-6.3.0-sqhtfh32p5gerbkvi5hih7cfvcpmewvj/lib/../lib64/libstdc++.so -lm -lc -lgcc_s" | /cluster/apps/sfos/bin/sed -e 's/ -lc$//'` -link -dll /cluster/apps/sfos/bin/ld: cannot find -link
For some reason the linker is not correctly recognized by the configure script and therefore the options "-link -dll" are added.
Best regards
Sam
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I am trying to compile adol-c on a linux system (CentOS 7.9) and after configuring the build with
./configure --prefix=/cluster/apps/nss/gcc-6.3.0/adol-c/2.7.2/x86_64 --enable-shard --enable-sparse --enable-atrig-erf
and when compiling the code afterwards, it always fails with the error "ld: cannot find -link":
For some reason the linker is not correctly recognized by the configure script and therefore the options "-link -dll" are added.
Best regards
Sam
The text was updated successfully, but these errors were encountered: