Getting error while building libqmi from source code

Aleksander Morgado aleksander at aleksander.es
Thu Jan 9 09:54:12 UTC 2020


> > > Hi,Thanks, by commenting out those lines in configure.ac, I was able to build successfully.As you asked, the version for m4 is 1.4.18 on my system.-Anesh
> > >
> >
> > Oh, that is extremely weird, because I also have m4 1.4.18. Then it's probably not that, will need to keep on investigating what the root cause is...
> >
>
> Looks like the way to go could be to update your autoconf-archive
> version, as per:
> https://gitlab.freedesktop.org/mobile-broadband/libqmi/issues/22
>
> Would be good to know what exact version of autoconf-archive we should
> require, I'll try to investigate that.
>

The minimum autoconf-archive version that we require to build libqmi
from git is 2017.03.21.

The previous release, 20160916, makes autogen fail like this:
$ NOCONFIGURE=1 ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
/usr/bin/m4:configure.ac:66: recursion limit of 1024 exceeded, use
-L<N> to change it
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1


-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list