gmp refuses to build c++ headers

John Perry John.Perry at
Tue Aug 4 18:47:10 UTC 2020


When trying to compile gmp with c++ headers, I get the following output:

   libtool: link: ranlib .libs/libgmpxx.a
   /Applications/ file: .libs/libgmpxx.a(dummy.o) has no symbols
   libtool: link: ( cd ".libs" && rm -f "" && ln -s "../" "” )
   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