bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error m4_defn undefined macro


From: Eric Blake
Subject: Re: error m4_defn undefined macro
Date: Thu, 01 Nov 2007 06:22:43 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jyoti Bose on 11/1/2007 4:39 AM:
> 
> cd '/root/CTISwitch11-10/cgcctiswitch' && WANT_AUTOCONF_2_5="1"
> WANT_AUTOMAKE_1_6="1" gmake -f Makefile.dist

Automake 1.6 is rather old; you may want to consider upgrading your
autotools.  And you didn't mention what version of autoconf this is really
targetting.

> acinclude.m4:36: warning: underquoted definition of AC_FIND_FILE

AC_FIND_FILE is not an autoconf macro, so someone is creating macros in
the Autoconf namespace.  However, the warning is valid, and the macro
should be fixed to be properly quoted.

> acinclude.m4:3378: warning: underquoted definition of AC_PROG_LIBTOOL

An underquoted AC_PROG_LIBTOOL indicates that you seem to be using an
older version of libtool.  Again, my advice about considering upgrading
may be relevant.

> acinclude.m4:403: warning: underquoted definition of K_PATH_X
> acinclude.m4:541: warning: underquoted definition of KDE_PRINT_QT_PROGRAM
...
> acinclude.m4:538: error: m4_defn: undefined macro: _m4_divert_diversion
> autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
> acinclude.m4:538: the top level
> *** Exited with status: 2 ***

This is the real error - somewhere between K_PATH_X and
KDE_PRINT_QT_PROGRAM, a macro is calling AC_LANG_RESTORE without first
having called AC_LANG_SAVE.  This may be due to all the unquoted macros
that you encountered, but we'd have to see more of acinclude.m4 around
line 538.

> This communication, including any attachments, is intended for the sole use 
> of the individual

It is considered bad netiquette to send email to publicly archived mailing
lists when such disclaimers are added on your behalf, since they are
unenforceable.  Please consider using a different mail account when
sending to lists.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKcUT84KuGfSFAYARAtVIAKDCUu4fqfHxCj0Sv5CKc5koVoEQtwCfX9YB
dM/rGpqFxWYjqVU+gVofxb4=
=ounS
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]