seemoo-lab / nexmon

The C-based Firmware Patching Framework for Broadcom/Cypress WiFi Chips that enables Monitor Mode, Frame Injection and much more
GNU General Public License v3.0
2.44k stars 454 forks source link

MPFR doesn't build on Raspbian #309

Closed DrSchottky closed 5 years ago

DrSchottky commented 5 years ago

MPFR doesn't build on latest Raspbian since it doesn't find aclocal

root@raspberrypi:/home/pi/nexmon/buildtools/mpfr-3.1.4# make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/pi/nexmon/buildtools/mpfr-                                                                                        3.1.4/missing aclocal-1.15 -I m4
/home/pi/nexmon/buildtools/mpfr-3.1.4/missing: line 81: aclocal-1.15: command not found                                                                                        t found
WARNING: 'aclocal-1.15' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [Makefile:425: aclocal.m4] Error 127

GhettoFix (tested): softlink it to the preinstalled mpfr4.

sudo ln -s /usr/lib/arm-linux-gnueabihf/libmpfr.so.6 /usr/lib/arm-linux-gnueabihf/libmpfr.so.4

matthiasseemoo commented 5 years ago

Which Raspbian version are you using? I tried it with the latest release and it was working.

DrSchottky notifications@github.com schrieb am Sa., 6. Juli 2019, 22:55:

MPFR doesn't build on latest Raspbian since it doesn't find aclocal

root@raspberrypi:/home/pi/nexmon/buildtools/mpfr-3.1.4# make CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/pi/nexmon/buildtools/mpfr- 3.1.4/missing aclocal-1.15 -I m4 /home/pi/nexmon/buildtools/mpfr-3.1.4/missing: line 81: aclocal-1.15: command not found t found WARNING: 'aclocal-1.15' is missing on your system. You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'. The 'aclocal' program is part of the GNU Automake package: http://www.gnu.org/software/automake It also requires GNU Autoconf, GNU m4 and Perl in order to run: http://www.gnu.org/software/autoconf http://www.gnu.org/software/m4/ http://www.perl.org/ make: *** [Makefile:425: aclocal.m4] Error 127

GhettoFix (tested): softlink it to the preinstalled mpfr4.

sudo ln -s /usr/lib/arm-linux-gnueabihf/libmpfr.so.6 /usr/lib/arm-linux-gnueabihf/libmpfr.so.4

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/seemoo-lab/nexmon/issues/309?email_source=notifications&email_token=ACZ773RRXA3BOKYTQJXGWGTP6EBDRA5CNFSM4H6UHZEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5VU7OQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ACZ773UYUOA5JBQS2WNVFB3P6EBDRANCNFSM4H6UHZEA .

DrSchottky commented 5 years ago

Latest release with up-to-date pkgs. I'll check it again, if you say it worked for you maybe I messed up something.

DrSchottky commented 5 years ago

Booted a fresh install and followed the instructions step by step: can confirm it throws that error.

matthiasseemoo commented 5 years ago

Here is what I did on Raspbian:

root@raspberrypi:/home/pi/mpfr-3.1.4# apt update Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian buster InRelease [25.1 kB] Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB] Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [205 kB] Fetched 13.2 MB in 8s (1566 kB/s)
Reading package lists... Done Building dependency tree
Reading state information... Done All packages are up to date. root@raspberrypi:/home/pi/mpfr-3.1.4# apt upgrade Reading package lists... Done Building dependency tree
Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@raspberrypi:/home/pi/mpfr-3.1.4# cd .. root@raspberrypi:/home/pi# rm -rf mpfr-3.1.4 root@raspberrypi:/home/pi# tar xfvz mpfr-3.1.4.tar.gz mpfr-3.1.4/ mpfr-3.1.4/configure.ac mpfr-3.1.4/AUTHORS mpfr-3.1.4/aclocal.m4 mpfr-3.1.4/VERSION mpfr-3.1.4/ltmain.sh mpfr-3.1.4/Makefile.in mpfr-3.1.4/Makefile.am mpfr-3.1.4/PATCHES mpfr-3.1.4/test-driver mpfr-3.1.4/m4/ mpfr-3.1.4/m4/lt~obsolete.m4 mpfr-3.1.4/m4/size_max.m4 mpfr-3.1.4/m4/ltversion.m4 mpfr-3.1.4/m4/ltoptions.m4 mpfr-3.1.4/m4/libtool.m4 mpfr-3.1.4/m4/ltsugar.m4 mpfr-3.1.4/tune/ mpfr-3.1.4/tune/Makefile.in mpfr-3.1.4/tune/Makefile.am mpfr-3.1.4/tune/speed.c mpfr-3.1.4/tune/tuneup.c mpfr-3.1.4/tune/bidimensional_sample.c mpfr-3.1.4/COPYING mpfr-3.1.4/config.guess mpfr-3.1.4/BUGS mpfr-3.1.4/missing mpfr-3.1.4/TODO mpfr-3.1.4/src/ mpfr-3.1.4/src/fits_sint.c mpfr-3.1.4/src/cmp2.c mpfr-3.1.4/src/div_d.c mpfr-3.1.4/src/csc.c mpfr-3.1.4/src/get_f.c mpfr-3.1.4/src/gen_inverse.h mpfr-3.1.4/src/setmax.c mpfr-3.1.4/src/fits_slong.c mpfr-3.1.4/src/set_sj.c mpfr-3.1.4/src/inp_str.c mpfr-3.1.4/src/cmp_abs.c mpfr-3.1.4/src/ui_div.c mpfr-3.1.4/src/get_ld.c mpfr-3.1.4/src/mul_d.c mpfr-3.1.4/src/strtofr.c mpfr-3.1.4/src/set_z_exp.c mpfr-3.1.4/src/isinf.c mpfr-3.1.4/src/exceptions.c mpfr-3.1.4/src/set_d64.c mpfr-3.1.4/src/ieee_floats.h mpfr-3.1.4/src/const_euler.c mpfr-3.1.4/src/sec.c mpfr-3.1.4/src/powerof2.c mpfr-3.1.4/src/sum.c mpfr-3.1.4/src/yn.c mpfr-3.1.4/src/set_exp.c mpfr-3.1.4/src/div_2si.c mpfr-3.1.4/src/sub1.c mpfr-3.1.4/src/add1sp.c mpfr-3.1.4/src/lngamma.c mpfr-3.1.4/src/volatile.c mpfr-3.1.4/src/grandom.c mpfr-3.1.4/src/arm/ mpfr-3.1.4/src/arm/mparam.h mpfr-3.1.4/src/gmp_op.c mpfr-3.1.4/src/acos.c mpfr-3.1.4/src/set_prec.c mpfr-3.1.4/src/cmp.c mpfr-3.1.4/src/pow_si.c mpfr-3.1.4/src/round_prec.c mpfr-3.1.4/src/eint.c mpfr-3.1.4/src/ui_pow_ui.c mpfr-3.1.4/src/get_z.c mpfr-3.1.4/src/jn.c mpfr-3.1.4/src/exp.c mpfr-3.1.4/src/mparam_h.in mpfr-3.1.4/src/inits.c mpfr-3.1.4/src/print_raw.c mpfr-3.1.4/src/fits_u.h mpfr-3.1.4/src/set_d.c mpfr-3.1.4/src/const_pi.c mpfr-3.1.4/src/get_exp.c mpfr-3.1.4/src/init2.c mpfr-3.1.4/src/fits_intmax.c mpfr-3.1.4/src/get_uj.c mpfr-3.1.4/src/x86_64/ mpfr-3.1.4/src/x86_64/pentium4/ mpfr-3.1.4/src/x86_64/pentium4/mparam.h mpfr-3.1.4/src/x86_64/core2/ mpfr-3.1.4/src/x86_64/core2/mparam.h mpfr-3.1.4/src/swap.c mpfr-3.1.4/src/fits_uintmax.c mpfr-3.1.4/src/Makefile.in mpfr-3.1.4/src/Makefile.am mpfr-3.1.4/src/log2.c mpfr-3.1.4/src/cmp_ld.c mpfr-3.1.4/src/set_si_2exp.c mpfr-3.1.4/src/sparc64/ mpfr-3.1.4/src/sparc64/mparam.h mpfr-3.1.4/src/set_z.c mpfr-3.1.4/src/set_uj.c mpfr-3.1.4/src/get_z_exp.c mpfr-3.1.4/src/set.c mpfr-3.1.4/src/set_ld.c mpfr-3.1.4/src/sqrt.c mpfr-3.1.4/src/constant.c mpfr-3.1.4/src/set_flt.c mpfr-3.1.4/src/sinh.c mpfr-3.1.4/src/log10.c mpfr-3.1.4/src/urandom.c mpfr-3.1.4/src/frac.c mpfr-3.1.4/src/set_inf.c mpfr-3.1.4/src/uceil_log2.c mpfr-3.1.4/src/tan.c mpfr-3.1.4/src/rint.c mpfr-3.1.4/src/generic/ mpfr-3.1.4/src/generic/mparam.h mpfr-3.1.4/src/cos.c mpfr-3.1.4/src/mpfr-longlong.h mpfr-3.1.4/src/agm.c mpfr-3.1.4/src/set_str_raw.c mpfr-3.1.4/src/pow.c mpfr-3.1.4/src/get_flt.c mpfr-3.1.4/src/isinteger.c mpfr-3.1.4/src/erfc.c mpfr-3.1.4/src/expm1.c mpfr-3.1.4/src/print_rnd_mode.c mpfr-3.1.4/src/exp10.c mpfr-3.1.4/src/tanh.c mpfr-3.1.4/src/set_dfl_prec.c mpfr-3.1.4/src/factorial.c mpfr-3.1.4/src/ui_pow.c mpfr-3.1.4/src/eq.c mpfr-3.1.4/src/digamma.c mpfr-3.1.4/src/isnan.c mpfr-3.1.4/src/log1p.c mpfr-3.1.4/src/get_ui.c mpfr-3.1.4/src/add_ui.c mpfr-3.1.4/src/fms.c mpfr-3.1.4/src/li2.c mpfr-3.1.4/src/hypot.c mpfr-3.1.4/src/sqrt_ui.c mpfr-3.1.4/src/mul_2exp.c mpfr-3.1.4/src/logging.c mpfr-3.1.4/src/clear.c mpfr-3.1.4/src/fits_sshort.c mpfr-3.1.4/src/ui_sub.c mpfr-3.1.4/src/zeta.c mpfr-3.1.4/src/signbit.c mpfr-3.1.4/src/get_si.c mpfr-3.1.4/src/modf.c mpfr-3.1.4/src/gamma.c mpfr-3.1.4/src/sub_d.c mpfr-3.1.4/src/cot.c mpfr-3.1.4/src/get_str.c mpfr-3.1.4/src/fits_ulong.c mpfr-3.1.4/src/round_p.c mpfr-3.1.4/src/set_rnd.c mpfr-3.1.4/src/div_2exp.c mpfr-3.1.4/src/div_2ui.c mpfr-3.1.4/src/urandomb.c mpfr-3.1.4/src/pow_z.c mpfr-3.1.4/src/init.c mpfr-3.1.4/src/mpfr-impl.h mpfr-3.1.4/src/minmax.c mpfr-3.1.4/src/mpfr-gmp.c mpfr-3.1.4/src/round_raw_generic.c mpfr-3.1.4/src/gammaonethird.c mpfr-3.1.4/src/rem1.c mpfr-3.1.4/src/root.c mpfr-3.1.4/src/int_ceil_log2.c mpfr-3.1.4/src/scale2.c mpfr-3.1.4/src/copysign.c mpfr-3.1.4/src/mpfr-thread.h mpfr-3.1.4/src/set_ui_2exp.c mpfr-3.1.4/src/mul.c mpfr-3.1.4/src/abort_prec_max.c mpfr-3.1.4/src/d_div.c mpfr-3.1.4/src/neg.c mpfr-3.1.4/src/hppa/ mpfr-3.1.4/src/hppa/mparam.h mpfr-3.1.4/src/div.c mpfr-3.1.4/src/exp_2.c mpfr-3.1.4/src/cbrt.c mpfr-3.1.4/src/cmp_ui.c mpfr-3.1.4/src/csch.c mpfr-3.1.4/src/dump.c mpfr-3.1.4/src/add_d.c mpfr-3.1.4/src/log.c mpfr-3.1.4/src/iszero.c mpfr-3.1.4/src/stack_interface.c mpfr-3.1.4/src/exp3.c mpfr-3.1.4/src/asin.c mpfr-3.1.4/src/mp_clz_tab.c mpfr-3.1.4/src/sech.c mpfr-3.1.4/src/add1.c mpfr-3.1.4/src/round_near_x.c mpfr-3.1.4/src/erf.c mpfr-3.1.4/src/isregular.c mpfr-3.1.4/src/const_catalan.c mpfr-3.1.4/src/set_f.c mpfr-3.1.4/src/fits_s.h mpfr-3.1.4/src/const_log2.c mpfr-3.1.4/src/setsign.c mpfr-3.1.4/src/ai.c mpfr-3.1.4/src/zeta_ui.c mpfr-3.1.4/src/mpfr.h mpfr-3.1.4/src/set_ui.c mpfr-3.1.4/src/bernoulli.c mpfr-3.1.4/src/check.c mpfr-3.1.4/src/mpf2mpfr.h mpfr-3.1.4/src/asinh.c mpfr-3.1.4/src/mulders.c mpfr-3.1.4/src/ufloor_log2.c mpfr-3.1.4/src/set_str.c mpfr-3.1.4/src/cmp_d.c mpfr-3.1.4/src/mpfr-intmax.h mpfr-3.1.4/src/setmin.c mpfr-3.1.4/src/x86/ mpfr-3.1.4/src/x86/core2/ mpfr-3.1.4/src/x86/core2/mparam.h mpfr-3.1.4/src/x86/mparam.h mpfr-3.1.4/src/isnum.c mpfr-3.1.4/src/sqr.c mpfr-3.1.4/src/sinh_cosh.c mpfr-3.1.4/src/rec_sqrt.c mpfr-3.1.4/src/fits_ushort.c mpfr-3.1.4/src/amd/ mpfr-3.1.4/src/amd/k8/ mpfr-3.1.4/src/amd/k8/mparam.h mpfr-3.1.4/src/amd/amdfam10/ mpfr-3.1.4/src/amd/amdfam10/mparam.h mpfr-3.1.4/src/amd/athlon/ mpfr-3.1.4/src/amd/athlon/mparam.h mpfr-3.1.4/src/mpfr-gmp.h mpfr-3.1.4/src/frexp.c mpfr-3.1.4/src/set_q.c mpfr-3.1.4/src/fma.c mpfr-3.1.4/src/sgn.c mpfr-3.1.4/src/uceil_exp2.c mpfr-3.1.4/src/exp2.c mpfr-3.1.4/src/si_op.c mpfr-3.1.4/src/min_prec.c mpfr-3.1.4/src/set_zero.c mpfr-3.1.4/src/d_sub.c mpfr-3.1.4/src/mpn_exp.c mpfr-3.1.4/src/get_d64.c mpfr-3.1.4/src/set_si.c mpfr-3.1.4/src/get_sj.c mpfr-3.1.4/src/next.c mpfr-3.1.4/src/atan2.c mpfr-3.1.4/src/clears.c mpfr-3.1.4/src/vasprintf.c mpfr-3.1.4/src/cmp_si.c mpfr-3.1.4/src/powerpc64/ mpfr-3.1.4/src/powerpc64/mparam.h mpfr-3.1.4/src/set_prc_raw.c mpfr-3.1.4/src/inits2.c mpfr-3.1.4/src/mul_2ui.c mpfr-3.1.4/src/acosh.c mpfr-3.1.4/src/cosh.c mpfr-3.1.4/src/cache.c mpfr-3.1.4/src/atan.c mpfr-3.1.4/src/sub_ui.c mpfr-3.1.4/src/div_ui.c mpfr-3.1.4/src/mul_ui.c mpfr-3.1.4/src/fits_uint.c mpfr-3.1.4/src/atanh.c mpfr-3.1.4/src/comparisons.c mpfr-3.1.4/src/sub.c mpfr-3.1.4/src/printf.c mpfr-3.1.4/src/powerpc32/ mpfr-3.1.4/src/powerpc32/mparam.h mpfr-3.1.4/src/sin_cos.c mpfr-3.1.4/src/coth.c mpfr-3.1.4/src/pow_ui.c mpfr-3.1.4/src/get_d.c mpfr-3.1.4/src/subnormal.c mpfr-3.1.4/src/reldiff.c mpfr-3.1.4/src/dim.c mpfr-3.1.4/src/out_str.c mpfr-3.1.4/src/isqrt.c mpfr-3.1.4/src/buildopt.c mpfr-3.1.4/src/set_nan.c mpfr-3.1.4/src/free_cache.c mpfr-3.1.4/src/ia64/ mpfr-3.1.4/src/ia64/mparam.h mpfr-3.1.4/src/version.c mpfr-3.1.4/src/sub1sp.c mpfr-3.1.4/src/get_patches.c mpfr-3.1.4/src/extract.c mpfr-3.1.4/src/mul_2si.c mpfr-3.1.4/src/add.c mpfr-3.1.4/src/sin.c mpfr-3.1.4/src/jyn_asympt.c mpfr-3.1.4/NEWS mpfr-3.1.4/tests/ mpfr-3.1.4/tests/tget_f.c mpfr-3.1.4/tests/mpfr_compat.c mpfr-3.1.4/tests/mpf_compat.c mpfr-3.1.4/tests/tlog10.c mpfr-3.1.4/tests/tlog2.c mpfr-3.1.4/tests/memory.c mpfr-3.1.4/tests/tasin.c mpfr-3.1.4/tests/texp10.c mpfr-3.1.4/tests/tset_d.c mpfr-3.1.4/tests/tui_sub.c mpfr-3.1.4/tests/tset_sj.c mpfr-3.1.4/tests/tpow_z.c mpfr-3.1.4/tests/tset_z.c mpfr-3.1.4/tests/tui_pow.c mpfr-3.1.4/tests/tj1.c mpfr-3.1.4/tests/tsgn.c mpfr-3.1.4/tests/cmp_str.c mpfr-3.1.4/tests/tacos.c mpfr-3.1.4/tests/tcbrt.c mpfr-3.1.4/tests/tcsc.c mpfr-3.1.4/tests/tinp_str.c mpfr-3.1.4/tests/tgrandom.c mpfr-3.1.4/tests/troot.c mpfr-3.1.4/tests/tdiv.c mpfr-3.1.4/tests/terf.c mpfr-3.1.4/tests/tisnan.c mpfr-3.1.4/tests/ty0.c mpfr-3.1.4/tests/tdigamma.c mpfr-3.1.4/tests/rnd_mode.c mpfr-3.1.4/tests/texpm1.c mpfr-3.1.4/tests/random2.c mpfr-3.1.4/tests/tl2b.c mpfr-3.1.4/tests/tcopysign.c mpfr-3.1.4/tests/toutimpl.c mpfr-3.1.4/tests/tminmax.c mpfr-3.1.4/tests/tversion.c mpfr-3.1.4/tests/texceptions.c mpfr-3.1.4/tests/turandom.c mpfr-3.1.4/tests/tset_exp.c mpfr-3.1.4/tests/tdim.c mpfr-3.1.4/tests/tlngamma.c mpfr-3.1.4/tests/tadd.c mpfr-3.1.4/tests/tcoth.c mpfr-3.1.4/tests/tstckintc.c mpfr-3.1.4/tests/tcan_round.c mpfr-3.1.4/tests/taway.c mpfr-3.1.4/tests/Makefile.in mpfr-3.1.4/tests/Makefile.am mpfr-3.1.4/tests/tsinh.c mpfr-3.1.4/tests/texp2.c mpfr-3.1.4/tests/tprintf.c mpfr-3.1.4/tests/tround_prec.c mpfr-3.1.4/tests/tadd_d.c mpfr-3.1.4/tests/tsin_cos.c mpfr-3.1.4/tests/tlog.c mpfr-3.1.4/tests/tset_str.c mpfr-3.1.4/tests/ttan.c mpfr-3.1.4/tests/tswap.c mpfr-3.1.4/tests/tcmp_ui.c mpfr-3.1.4/tests/tcsch.c mpfr-3.1.4/tests/tconst_pi.c mpfr-3.1.4/tests/tsum.c mpfr-3.1.4/tests/trandom.c mpfr-3.1.4/tests/tconst_log2.c mpfr-3.1.4/tests/tacosh.c mpfr-3.1.4/tests/td_sub.c mpfr-3.1.4/tests/tout_str.c mpfr-3.1.4/tests/tcos.c mpfr-3.1.4/tests/tsub_d.c mpfr-3.1.4/tests/tmodf.c mpfr-3.1.4/tests/teint.c mpfr-3.1.4/tests/trec_sqrt.c mpfr-3.1.4/tests/tconst_catalan.c mpfr-3.1.4/tests/trint.c mpfr-3.1.4/tests/tsubnormal.c mpfr-3.1.4/tests/tsub1sp.c mpfr-3.1.4/tests/tconst_euler.c mpfr-3.1.4/tests/tinits.c mpfr-3.1.4/tests/mpf_compat.h mpfr-3.1.4/tests/tsub.c mpfr-3.1.4/tests/tadd_ui.c mpfr-3.1.4/tests/tstrtofr.c mpfr-3.1.4/tests/tcmp2.c mpfr-3.1.4/tests/tsi_op.c mpfr-3.1.4/tests/tpow.c mpfr-3.1.4/tests/tget_d.c mpfr-3.1.4/tests/tsub_ui.c mpfr-3.1.4/tests/tsin.c mpfr-3.1.4/tests/tset_si.c mpfr-3.1.4/tests/tget_set_d64.c mpfr-3.1.4/tests/tzeta.c mpfr-3.1.4/tests/tfactorial.c mpfr-3.1.4/tests/tget_ld_2exp.c mpfr-3.1.4/tests/texp.c mpfr-3.1.4/tests/tlog1p.c mpfr-3.1.4/tests/tisqrt.c mpfr-3.1.4/tests/tabs.c mpfr-3.1.4/tests/teq.c mpfr-3.1.4/tests/tmin_prec.c mpfr-3.1.4/tests/tasinh.c mpfr-3.1.4/tests/tcmpabs.c mpfr-3.1.4/tests/tatanh.c mpfr-3.1.4/tests/tzeta_ui.c mpfr-3.1.4/tests/tgeneric_ui.c mpfr-3.1.4/tests/tsech.c mpfr-3.1.4/tests/tgmpop.c mpfr-3.1.4/tests/tsec.c mpfr-3.1.4/tests/tmul.dat mpfr-3.1.4/tests/td_div.c mpfr-3.1.4/tests/tcot.c mpfr-3.1.4/tests/inp_str.data mpfr-3.1.4/tests/tget_flt.c mpfr-3.1.4/tests/tmul_2exp.c mpfr-3.1.4/tests/tget_sj.c mpfr-3.1.4/tests/tlgamma.c mpfr-3.1.4/tests/tset_z_exp.c mpfr-3.1.4/tests/tfms.c mpfr-3.1.4/tests/tsprintf.c mpfr-3.1.4/tests/tcmp_ld.c mpfr-3.1.4/tests/tsinh_cosh.c mpfr-3.1.4/tests/thyperbolic.c mpfr-3.1.4/tests/tfits.c mpfr-3.1.4/tests/tvalist.c mpfr-3.1.4/tests/tsqrt.c mpfr-3.1.4/tests/tatan.c mpfr-3.1.4/tests/tfmod.c mpfr-3.1.4/tests/tget_d_2exp.c mpfr-3.1.4/tests/tadd1sp.c mpfr-3.1.4/tests/tdiv_ui.c mpfr-3.1.4/tests/tset.c mpfr-3.1.4/tests/tfprintf.c mpfr-3.1.4/tests/tyn.c mpfr-3.1.4/tests/tpow3.c mpfr-3.1.4/tests/tfma.c mpfr-3.1.4/tests/tremquo.c mpfr-3.1.4/tests/tjn.c mpfr-3.1.4/tests/tpow_all.c mpfr-3.1.4/tests/tstdint.c mpfr-3.1.4/tests/ty1.c mpfr-3.1.4/tests/tcosh.c mpfr-3.1.4/tests/tests.c mpfr-3.1.4/tests/tbuildopt.c mpfr-3.1.4/tests/ttanh.c mpfr-3.1.4/tests/tj0.c mpfr-3.1.4/tests/tcmp.c mpfr-3.1.4/tests/tset_f.c mpfr-3.1.4/tests/tagm.c mpfr-3.1.4/tests/mpfr-test.h mpfr-3.1.4/tests/tsqr.c mpfr-3.1.4/tests/reuse.c mpfr-3.1.4/tests/tai.c mpfr-3.1.4/tests/tui_div.c mpfr-3.1.4/tests/tset_ld.c mpfr-3.1.4/tests/ttrunc.c mpfr-3.1.4/tests/tgamma.c mpfr-3.1.4/tests/tmul_ui.c mpfr-3.1.4/tests/tdiv_d.c mpfr-3.1.4/tests/tmul.c mpfr-3.1.4/tests/tcheck.c mpfr-3.1.4/tests/tsqrt_ui.c mpfr-3.1.4/tests/tget_z.c mpfr-3.1.4/tests/tset_q.c mpfr-3.1.4/tests/tinternals.c mpfr-3.1.4/tests/tcmp_d.c mpfr-3.1.4/tests/tfrac.c mpfr-3.1.4/tests/tgeneric.c mpfr-3.1.4/tests/tget_str.c mpfr-3.1.4/tests/tcomparisons.c mpfr-3.1.4/tests/tfrexp.c mpfr-3.1.4/tests/tli2.c mpfr-3.1.4/tests/tmul_d.c mpfr-3.1.4/tests/tnext.c mpfr-3.1.4/tests/thypot.c mpfr-3.1.4/compile mpfr-3.1.4/depcomp mpfr-3.1.4/tools/ mpfr-3.1.4/tools/ck-version-info mpfr-3.1.4/tools/ck-copyright-notice mpfr-3.1.4/tools/get_patches.sh mpfr-3.1.4/tools/ck-news mpfr-3.1.4/COPYING.LESSER mpfr-3.1.4/ar-lib mpfr-3.1.4/install-sh mpfr-3.1.4/README mpfr-3.1.4/acinclude.m4 mpfr-3.1.4/configure mpfr-3.1.4/examples/ mpfr-3.1.4/examples/sample.c mpfr-3.1.4/examples/divworst.c mpfr-3.1.4/examples/ReadMe mpfr-3.1.4/examples/rndo-add.c mpfr-3.1.4/examples/version.c mpfr-3.1.4/config.sub mpfr-3.1.4/INSTALL mpfr-3.1.4/doc/ mpfr-3.1.4/doc/mpfr.info mpfr-3.1.4/doc/Makefile.in mpfr-3.1.4/doc/Makefile.am mpfr-3.1.4/doc/fdl.texi mpfr-3.1.4/doc/mpfr.texi mpfr-3.1.4/doc/texinfo.tex mpfr-3.1.4/doc/FAQ.html mpfr-3.1.4/ChangeLog root@raspberrypi:/home/pi# cd mpfr-3.1.4 root@raspberrypi:/home/pi/mpfr-3.1.4# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... armv7l-unknown-linux-gnueabihf checking host system type... armv7l-unknown-linux-gnueabihf checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for CC and CFLAGS in gmp.h... yes CC= CFLAGS= checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for ar... ar checking the archiver (ar) interface... ar checking for ICC... no checking whether the selected language is C++... no checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for main in -lm... yes checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for string.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/fpu.h usability... no checking sys/fpu.h presence... no checking for sys/fpu.h... no checking for struct lconv.decimal_point... yes checking for struct lconv.thousands_sep... yes checking for working alloca.h... yes checking for alloca... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking how to copy va_list... va_copy checking for memmove... yes checking for memset... yes checking for setlocale... yes checking for strtol... yes checking for gettimeofday... yes checking for long long int... yes checking for intmax_t... yes checking for working INTMAX_MAX... yes checking for union fpc_csr... no checking for fesetround... yes checking for gcc float-conversion bug... no checking for subnormal numbers... yes checking for signed zeros... yes checking if the FP division by 0 fails... no checking if NAN == NAN... no checking if charset has consecutive values... yes checking for math/round... yes checking for math/trunc... yes checking for math/floor... yes checking for math/ceil... yes checking for math/nearbyint... yes checking for long double... yes checking format of long double' floating point... IEEE double, little endian configure: WARNING: oops, unrecognised float format: IEEE double, little endian checking for TLS support using C11... yes checking for library containing clock_gettime... none required checking for gmp.h... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether gcc __attribute__ ((mode (XX))) works... yes checking for recent GMP... yes checking usable gmp.h at link time... yes checking for GMP_NUMB_BITS and sizeof(mp_limb_t) consistency... yes checking for __gmpz_init in -lgmp... yes checking if gmp.h version and libgmp version are the same... (6.1.2/6.1.2) yes checking for GMP library vs header correctness... yes checking for double-to-integer conversion bug... no checking if gmp_printf supports "%jd"... yes checking if gmp_printf supports "%hhd"... yes checking if gmp_printf supports "%lld"... yes checking if gmp_printf supports "%Lf"... yes checking if gmp_printf supports "%td"... yes checking for __gmpn_rootrem... yes checking for __gmpn_sbpi1_divappr_q... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating tune/Makefile config.status: creating src/mparam.h config.status: executing depfiles commands config.status: executing libtool commands root@raspberrypi:/home/pi/mpfr-3.1.4# make Making all in doc make[1]: Entering directory '/home/pi/mpfr-3.1.4/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pi/mpfr-3.1.4/doc' Making all in src make[1]: Entering directory '/home/pi/mpfr-3.1.4/src' make all-am make[2]: Entering directory '/home/pi/mpfr-3.1.4/src' /bin/bash ../libtool --tag=CC --mode=compile gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c -o exceptions.lo exceptions.c ... libtool: compile: gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT printf.lo -MD -MP -MF .deps/printf.Tpo -c printf.c -fPIC -DPIC -o .libs/printf.o ../libtool: line 1751: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) libtool: compile: gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT printf.lo -MD -MP -MF .deps/printf.Tpo -c printf.c -o printf.o >/dev/null 2>&1 ../libtool: line 1751: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) mv -f .deps/printf.Tpo .deps/printf.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT vasprintf.lo -MD -MP -MF .deps/vasprintf.Tpo -c -o vasprintf.lo vasprintf.c libtool: compile: gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT vasprintf.lo -MD -MP -MF .deps/vasprintf.Tpo -c vasprintf.c -fPIC -DPIC -o .libs/vasprintf.o ../libtool: line 1751: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) libtool: compile: gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT vasprintf.lo -MD -MP -MF .deps/vasprintf.Tpo -c vasprintf.c -o vasprintf.o >/dev/null 2>&1 ../libtool: line 1751: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) mv -f .deps/vasprintf.Tpo .deps/vasprintf.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT const_pi.lo -MD -MP -MF .deps/const_pi.Tpo -c -o const_pi.lo const_pi.c libtool: compile: gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT const_pi.lo -MD -MP -MF .deps/const_pi.Tpo -c const_pi.c -fPIC -DPIC -o .libs/const_pi.o ../libtool: line 1751: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) libtool: compile: gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT const_pi.lo -MD -MP -MF .deps/const_pi.Tpo -c const_pi.c -o const_pi.o >/dev/null 2>&1 ../libtool: line 1751: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) mv -f .deps/const_pi.Tpo .deps/const_pi.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT pow.lo -MD -MP -MF .deps/pow.Tpo -c -o pow.lo pow.c libtool: compile: gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT pow.lo -MD -MP -MF .deps/pow.Tpo -c pow.c -fPIC -DPIC -o .libs/pow.o ../libtool: line 1751: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) libtool: compile: gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT pow.lo -MD -MP -MF .deps/pow.Tpo -c pow.c -o pow.o >/dev/null 2>&1 ../libtool: line 1751: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) mv -f .deps/pow.Tpo .deps/pow.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT pow_si.lo -MD -MP -MF .deps/pow_si.Tpo -c -o pow_si.lo pow_si.c libtool: compile: gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT pow_si.lo -MD -MP -MF .deps/pow_si.Tpo -c pow_si.c -fPIC -DPIC -o .libs/pow_si.o ../libtool: line 1751: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) libtool: compile: gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -Wall -Wmissing-prototypes -Wpointer-arith -g -O2 -MT pow_si.lo -MD -MP -MF .deps/pow_si.Tpo -c pow_si.c -o pow_si.o >/dev/null 2>&1 ... .libs/gammaonethird.o .libs/grandom.o -lgmp -g -O2 -Wl,-soname -Wl,libmpfr.so.4 -o .libs/libmpfr.so.4.1.4 libtool: link: (cd ".libs" && rm -f "libmpfr.so.4" && ln -s "libmpfr.so.4.1.4" "libmpfr.so.4") libtool: link: (cd ".libs" && rm -f "libmpfr.so" && ln -s "libmpfr.so.4.1.4" "libmpfr.so") libtool: link: ar cru .libs/libmpfr.a exceptions.o extract.o uceil_exp2.o uceil_log2.o ufloor_log2.o add.o add1.o add_ui.o agm.o clear.o cmp.o cmp_abs.o cmp_si.o cmp_ui.o comparisons.o div_2exp.o div_2si.o div_2ui.o div.o div_ui.o dump.o eq.o exp10.o exp2.o exp3.o exp.o frac.o frexp.o get_d.o get_exp.o get_str.o init.o inp_str.o isinteger.o isinf.o isnan.o isnum.o const_log2.o log.o modf.o mul_2exp.o mul_2si.o mul_2ui.o mul.o mul_ui.o neg.o next.o out_str.o printf.o vasprintf.o const_pi.o pow.o pow_si.o pow_ui.o print_raw.o print_rnd_mode.o reldiff.o round_prec.o set.o setmax.o setmin.o set_d.o set_dfl_prec.o set_exp.o set_rnd.o set_f.o set_prc_raw.o set_prec.o set_q.o set_si.o set_str.o set_str_raw.o set_ui.o set_z.o sqrt.o sqrt_ui.o sub.o sub1.o sub_ui.o rint.o ui_div.o ui_sub.o urandom.o urandomb.o get_z_exp.o swap.o factorial.o cosh.o sinh.o tanh.o sinh_cosh.o acosh.o asinh.o atanh.o atan.o cmp2.o exp_2.o asin.o const_euler.o cos.o sin.o tan.o fma.o fms.o hypot.o log1p.o expm1.o log2.o log10.o ui_pow.o ui_pow_ui.o minmax.o dim.o signbit.o copysign.o setsign.o gmp_op.o init2.o acos.o sin_cos.o set_nan.o set_inf.o set_zero.o powerof2.o gamma.o set_ld.o get_ld.o cbrt.o volatile.o fits_sshort.o fits_sint.o fits_slong.o fits_ushort.o fits_uint.o fits_ulong.o fits_uintmax.o fits_intmax.o get_si.o get_ui.o zeta.o cmp_d.o erf.o inits.o inits2.o clears.o sgn.o check.o sub1sp.o version.o mpn_exp.o mpfr-gmp.o mp_clz_tab.o sum.o add1sp.o free_cache.o si_op.o cmp_ld.o set_ui_2exp.o set_si_2exp.o set_uj.o set_sj.o get_sj.o get_uj.o get_z.o iszero.o cache.o sqr.o int_ceil_log2.o isqrt.o strtofr.o pow_z.o logging.o mulders.o get_f.o round_p.o erfc.o atan2.o subnormal.o const_catalan.o root.o sec.o csc.o cot.o eint.o sech.o csch.o coth.o round_near_x.o constant.o abort_prec_max.o stack_interface.o lngamma.o zeta_ui.o set_d64.o get_d64.o jn.o yn.o rem1.o get_patches.o add_d.o sub_d.o d_sub.o mul_d.o div_d.o d_div.o li2.o rec_sqrt.o min_prec.o buildopt.o digamma.o bernoulli.o isregular.o set_flt.o get_flt.o scale2.o set_z_exp.o ai.o gammaonethird.o grandom.o ar:u' modifier ignored since D' is the default (seeU') libtool: link: ranlib .libs/libmpfr.a libtool: link: ( cd ".libs" && rm -f "libmpfr.la" && ln -s "../libmpfr.la" "libmpfr.la" ) make[2]: Leaving directory '/home/pi/mpfr-3.1.4/src' make[1]: Leaving directory '/home/pi/mpfr-3.1.4/src' Making all in tests make[1]: Entering directory '/home/pi/mpfr-3.1.4/tests' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pi/mpfr-3.1.4/tests' Making all in tune make[1]: Entering directory '/home/pi/mpfr-3.1.4/tune' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pi/mpfr-3.1.4/tune' make[1]: Entering directory '/home/pi/mpfr-3.1.4' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/pi/mpfr-3.1.4'

DrSchottky commented 5 years ago

Source from release archive builds fine, the one from nexmon/buildtools doesn't. If I do

tar xzvf mpfr-3.1.4.tar.gz
rm -rf nexmon/buildtools/mpfr-3.1.4
mv mpfr-3.1.4 nexmon/buildtools/
cd nexmon/buildtools/mpfr-3.1.4
./configure
make

it works

But to be honest I don't understand why

matthiasseemoo commented 5 years ago

Maybe git did not collect all necessary files.

DrSchottky notifications@github.com schrieb am Mo., 8. Juli 2019, 20:31:

Source from release archive builds fine, the one from nexmon/buildtools doesn't. If I do

tar xzvf mpfr-3.1.4.tar.gz rm -rf nexmon/buildtools/mpfr-3.1.4 mv mpfr-3.1.4/nexmon/buildtools/ cd nexmon/buildtools/mpfr-3.1.4 ./configure make

it works

But to be honest I don't understand why

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/seemoo-lab/nexmon/issues/309?email_source=notifications&email_token=ACZ773TYAF67A6HHQOAI3YTP6OBZTA5CNFSM4H6UHZEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZN6XZY#issuecomment-509340647, or mute the thread https://github.com/notifications/unsubscribe-auth/ACZ773VXMN6YLVZ2KVBDJKTP6OBZTANCNFSM4H6UHZEA .

DrSchottky commented 5 years ago

I cloned the repo at least 5 times on 3 clean systems, and even diff -rq mpfr-3.1.4 nexmon/buildtools/mpfr-3.1.4/ shows no differences

UPDATE: Apparently mpfr doesn't compile if... copied! Steps to reproduce:

wget https://www.mpfr.org/mpfr-3.1.4/mpfr-3.1.4.tar.gz
tar xzvf mpfr-3.1.4.tar.gz
cp -r mpfr-3.1.4 tmp
cd mpfr-3.1.4
./configure
make

And this builds fine. Now:

cd ../tmp
./configure
make

And you get the error

Copying files with cp -a solves the issue, so my wild guess is that something (permissions? softlinks? idk) was lost when mpfr was copied to nexmon/buildtools. @matthiasseemoo I tested it for the 10th time: mpfr from repo doesn't compile. Could you check it?

j0j0j0 commented 5 years ago

Maybe https://stackoverflow.com/questions/33278928/how-to-overcome-aclocal-1-15-is-missing-on-your-system-warning/33286344#33286344 helps you.

DrSchottky commented 5 years ago

@j0j0j0 thank you, I can confirm it solves the issue.

And I add that these pkgs are required to build mpfr:

sudo apt-get install automake autoconf libtool texinfo