automake
[Top][All Lists]
Advanced

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

Re: Dependency issues after adding new sources.


From: Dave Steenburgh
Subject: Re: Dependency issues after adding new sources.
Date: Mon, 14 Sep 2009 10:40:50 -0400

My apologies for not replying sooner; I certainly appreciate everyone's
input.  This weekend just got crazy.

On Fri, Sep 11, 2009 at 1:59 PM, Ralf Wildenhues wrote:

> - do you use AM_MAINTAINER_MODE?  If yes, then please
>   ./configure --enable-maintainer-mode
>

I do not; should I?


> - can you do the following:
>   echo 'int unused_function () { return 0; }' > foo.c
>   echo 'program_SOURCES += foo.c' >> Makefile.am
>   make
>

Well, now I'm baffled, because this works just fine.  So, it seems, does my
entire build.

- What system are you on, what compiler, 'make' program do you use?
>

I work primarily with Cygwin on Windows XP.
$> g++-4 -v
...
gcc version 4.3.2 20080827 (beta) 2 (GCC)
$> make -v
GNU Make 3.81
...

So adding another source now works just fine.  Since the problem manifested,
I've done all kinds of things while trying to fix the problem.  autoreconf
-vfi, ./config.status --recheck, ./config.status depfiles (which always
seems to do nothing at all), ./config.status (which actually replaces the
.deps directory if I've deleted it, but wasn't creating a file for the new
source until after the actual problem was fixed), make, make clean, make
[specific .o file], touch [various header files].  One, or a combination, of
those commands must have fixed the problem.

Supposing this issue rears its ugly head again (and I'm sure it will,
because it's already happened many times), I'll come here first so maybe
someone can figure out what I'm doing wrong.


reply via email to

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