bug-make
[Top][All Lists]
Advanced

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

Re: possible bug in 3.79.1 on irix6.5 ? works okay with IBM power4, same


From: Paul D. Smith
Subject: Re: possible bug in 3.79.1 on irix6.5 ? works okay with IBM power4, same version of gmake
Date: Thu, 12 Sep 2002 13:58:00 -0400

%% Nils Wedi <address@hidden> writes:

  nw> I have got a problem where a fortran 90 module is not recompiled despite
  nw> gmake finding out that the corresponding .F90 is newer than the target.

  nw> What is the meaning of

  nw> "No commands for `YOMOBSET.mod' and no prerequisites actually changed."

It means make couldn't find any rule that described how to build
YOMOBSET.mod, and while there were prerequisites make itself didn't
actually update them (they just happened to be newer).

  nw> Any idea ?

Sure.  Remember make, like all other UNIX tools, is case-sensitive.

You have rules to build "yomobset.mod".  So, this works:

  nw> Built for powerpc-ibm-aix4.3.0.0

  nw>      Finished prerequisites of target file `yomobset.mod'.
  nw>      Prerequisite `/fdb/ea9l/lib/ifs/module/yomobset.F90' is newer than
  nw> target `yomobset.mod'.
  nw>      Prerequisite `/fdb/ea9l/lib/ifs/module/yomobset.F90' is newer than
  nw> target `yomobset.mod'.
  nw>     Must remake target `yomobset.mod'.

Because make wants to build "yomobset.mod" (lowercase) and you've
defined a rule that tells it how to do so.

But this fails:

  nw> Built for mips-sgi-irix6.5

  nw>      Finished prerequisites of target file `YOMOBSET.mod'.
  nw>      Prerequisite `/cc/rd/ifs/module/yomobset.F90' is newer than target
  nw> `YOMOBSET.mod'.
  nw>      Prerequisite `/cc/rd/ifsaux/include/tsmbkind.ok' is newer than
  nw> target `YOMOBSET.mod'.
  nw>     No commands for `YOMOBSET.mod' and no prerequisites actually
  nw> changed.

because it wants to build "YOMOBSET.mod" (uppercase) and you don't have
any rule in your makefile which describes how to do that.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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