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: Jyoti Bose
Subject: RE: error m4_defn undefined macro
Date: Thu, 1 Nov 2007 18:19:23 +0530

The version is autoconf-2.59-5

-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of
Eric Blake
Sent: Thursday, November 01, 2007 5:53 PM
To: Jyoti Bose
Cc: address@hidden
Subject: Re: error m4_defn undefined macro


-----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-----



This communication, including any attachments, is intended for the sole use
of the individual to whom it is addressed and may contain confidential or
privileged information. Any unauthorized review,  use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender and destroy all the copies of the message.


This communication, including any attachments, is intended for the sole use of 
the individual to whom it is addressed and may contain confidential or 
privileged information. Any unauthorized review,  use, disclosure or 
distribution is prohibited. If you are not the intended recipient, please 
contact the sender and destroy all the copies of the message.

reply via email to

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