On Thu, Mar 17, 2022 at 8:40 PM 'Bill Hart' via mpir-devel <mpir-devel@googlegroups.com> wrote: > > I don't have any insight into the Raspberry Pi build environment. > However there are a lot of errors related to M4 there. Can you ensure > this is installed. > > On the other hand it looks like the autoconf version you have just > isn't compatible somehow. Unfortunately I have no way to debug this. > It certainly works just about everywhere else.
The errors "possibly undefined macro: AC_PROG_NM" arise if libtool is not installed. Try sudo apt-get install libtool ./autogen.sh the warnings can be ignored (although they are not hard to fix), they are from using autoconf 2.71. HTH Dima > > Bill. > > On Thu, 17 Mar 2022 at 21:34, Gregory Warnes > <g...@warnes-innovations.com> wrote: > > > > Hi, > > > > TLDR: > > > > I want to use a GnuRadio package (gr-ofdm) that depends on mpir on > > Raspberry Pi OS (64-bit). './autogen.sh` using > > git://github.com/wbhart/mpir.git fails, and I see a number of forks, as > > well as the package files on the `download` page. What is the best version > > to use? > > > > Details: > > > > As recommended on the project web page (http://mpir.org/downloads.html), I > > tried building from git://github.com/wbhart/mpir.git. Unfortunately, the > > build instructions in INSTALL are outdated, since there is no `configure` > > script in the repo. > > > > I eventually located this group, and learned that I should use > > `autogen.sh`, however this results in numerous errors (see below). > > > > Suggestions? > > > > -Greg > > > > --- > > > > src/mpir $ ./autogen.sh > > autoreconf: Entering directory `.' > > autoreconf: configure.ac: not using Gettext > > autoreconf: running: aclocal > > configure.ac:2838: warning: AC_LIBTOOL_PROG_COMPILER_PIC is m4_require'd > > but not m4_defun'd > > acinclude.m4:2193: GMP_ASM_X86_GOT_UNDERSCORE is expanded from... > > configure.ac:2838: the top level > > configure.ac:2841: warning: AC_ENABLE_SHARED is m4_require'd but not > > m4_defun'd > > acinclude.m4:2507: GMP_ASM_X86_MCOUNT is expanded from... > > configure.ac:2841: the top level > > configure.ac:2841: warning: AC_PROG_LIBTOOL is m4_require'd but not > > m4_defun'd > > acinclude.m4:2507: GMP_ASM_X86_MCOUNT is expanded from... > > configure.ac:2841: the top level > > autoreconf: configure.ac: tracing > > configure.ac:2838: warning: AC_LIBTOOL_PROG_COMPILER_PIC is m4_require'd > > but not m4_defun'd > > acinclude.m4:2193: GMP_ASM_X86_GOT_UNDERSCORE is expanded from... > > configure.ac:2838: the top level > > configure.ac:2841: warning: AC_ENABLE_SHARED is m4_require'd but not > > m4_defun'd > > acinclude.m4:2507: GMP_ASM_X86_MCOUNT is expanded from... > > configure.ac:2841: the top level > > configure.ac:2841: warning: AC_PROG_LIBTOOL is m4_require'd but not > > m4_defun'd > > acinclude.m4:2507: GMP_ASM_X86_MCOUNT is expanded from... > > configure.ac:2841: the top level > > autoreconf: configure.ac: not using Libtool > > autoreconf: running: /usr/bin/autoconf > > configure.ac:2838: warning: AC_LIBTOOL_PROG_COMPILER_PIC is m4_require'd > > but not m4_defun'd > > acinclude.m4:2193: GMP_ASM_X86_GOT_UNDERSCORE is expanded from... > > configure.ac:2838: the top level > > configure.ac:2841: warning: AC_ENABLE_SHARED is m4_require'd but not > > m4_defun'd > > acinclude.m4:2507: GMP_ASM_X86_MCOUNT is expanded from... > > configure.ac:2841: the top level > > configure.ac:2841: warning: AC_PROG_LIBTOOL is m4_require'd but not > > m4_defun'd > > acinclude.m4:2507: GMP_ASM_X86_MCOUNT is expanded from... > > configure.ac:2841: the top level > > configure:11014: error: possibly undefined macro: AC_PROG_NM > > If this token and others are legitimate, please use m4_pattern_allow. > > See the Autoconf documentation. > > configure:14468: error: possibly undefined macro: > > AC_LIBTOOL_PROG_COMPILER_PIC > > configure:14563: error: possibly undefined macro: AC_ENABLE_SHARED > > configure:14564: error: possibly undefined macro: AC_PROG_LIBTOOL > > autoreconf: /usr/bin/autoconf failed with exit status: 1 > > > > -- > > You received this message because you are subscribed to the Google Groups > > "mpir-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to mpir-devel+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/mpir-devel/de347f03-715d-42bc-aa15-7e7b3aea2d01n%40googlegroups.com. > > -- > You received this message because you are subscribed to the Google Groups > "mpir-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to mpir-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mpir-devel/CAB0xFnspn%3Dt_1F88ANdebT3H%3DcP72drhCKgOemb%3D5sp92s7BtQ%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mpir-devel/CAAWYfq03ibJtEeUUZp7Mp%2BbZkPKdyLLc0LAYf%2BdSpJqzXVPhaw%40mail.gmail.com.