gmp refuses to build c++ headers
John Perry
John.Perry at usm.edu
Tue Aug 4 18:47:10 UTC 2020
Hello
When trying to compile gmp with c++ headers, I get the following output:
libtool: link: ranlib .libs/libgmpxx.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libgmpxx.a(dummy.o) has no symbols
libtool: link: ( cd ".libs" && rm -f "libgmpxx.la" && ln -s "../libgmpxx.la" "libgmpxx.la” )
make[2]: *** No rule to make target `gmpxx.h', needed by `all-am'. Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I configured using this command:
./configure CC=clang CXX=clang++ --enable-cxx
What am I doing wrong?
john perry
More information about the gmp-discuss
mailing list