automake
[Top][All Lists]
Advanced

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

What might cause this infinite recursion?


From: Bruce Korb
Subject: What might cause this infinite recursion?
Date: Sat, 20 Nov 2004 09:25:46 -0800

Hi all,

This is new behavior with the latest released automake, and it happens
on Solaris but not Linux.  The "Makefile.in" produced causes Solaris
"make" to choke and GNU make to think it is happy but do the following:

> /bin/ksh ../libtool --mode=link /net/megami/opt/apps/forte62/SUNWspro/bin/cc  
> -xO4   -o autogen -export-dynamic  autogen-ag.o ../autoopts/libopts.la 
> -L/u/local/lib -lguile -lguile-ltdl -lcrypt -lsocket -lnsl -lm -lm 
> -Wl,-R/u/local/lib -lm -ldl -lgen
> mkdir .libs
> /net/megami/opt/apps/forte62/SUNWspro/bin/cc -xO4 -o .libs/autogen 
> autogen-ag.o -Wl,-R/u/local/lib  ../autoopts/.libs/libopts.so -L/u/local/lib 
> /u/local/lib/libguile.so /u/local/lib/libguile-ltdl.so -lcrypt -lsocket -lnsl 
> -lm -ldl -lgen -R/u/local/lib
> creating autogen
> gmake[4]: Entering directory `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5'
> Making all in test
> gmake[5]: Entering directory 
> `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5/test'
> gmake[5]: Nothing to be done for `all'.
> gmake[5]: Leaving directory 
> `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5/test'
> gmake[5]: Entering directory `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5'
> gmake[5]: Warning: File `autogen' has modification time 1.8 s in the future
> gmake[6]: Entering directory `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5'
> Making all in test
> gmake[7]: Entering directory 
> `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5/test'
> gmake[7]: Nothing to be done for `all'.
> gmake[7]: Leaving directory 
> `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5/test'
> gmake[7]: Entering directory `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5'
> gmake[7]: Warning: File `autogen' has modification time 1.4 s in the future
> gmake[8]: Entering directory `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5'
> Making all in test
> gmake[9]: Entering directory 
> `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5/test'
> gmake[9]: Nothing to be done for `all'.
> gmake[9]: Leaving directory 
> `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5/test'
> gmake[9]: Entering directory `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5'
> gmake[9]: Warning: File `autogen' has modification time 0.93 s in the future
> gmake[10]: Entering directory 
> `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5'
> Making all in test
> gmake[11]: Entering directory 
> `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5/test'
> gmake[11]: Nothing to be done for `all'.
> gmake[11]: Leaving directory 
> `/home/bkorb/tools/ag/autogen-5.6.5pre6/=b/agen5/test'

This goes on until memory is exhausted or I break out of it.
The issue has to do with $(man_MANS).  If I remove "all-am"'s dependency
on $(MANS), the recursion stops.  The issue I am dealing with is that
my ``autogen.1'' is a derived file but cannot be derived until the
``autogen'' executable has been built, so there is a dependency.

Heres the "Makefile.am" source:

http://cvs.sourceforge.net/viewcvs.py/*checkout*/autogen/autogen/agen5/Makefile.am?rev=HEAD

Anyone have hints?  Should I go back to the previous Automake?
Thanks! - Bruce




reply via email to

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