make-3.79.1 bug breaks linux-2.5.24/drivers/net/hamradio/soundmodem

From: Adam J. Richter (suop@admu.edu.ph)
Date: Sat Jun 22 2002 - 09:57:38 EEST

  • Next message: Henning Makholm: "Re: make-3.79.1 bug breaks linux-2.5.24/drivers/net/hamradio/soundmodem"

            linux-2.5.24/drivers/net/hamradio/soundmodem/Makefile contains
    the following rule:

    $(obj)/sm_tbl_%: $(obj)/gentbl
            $<

            obj was set to "." /usr/src/linux/Rules.make, which was included
    earlier in the Makefile.

            The problem is that when make executes this rule it executes
    "gentbl" rather than "./gentbl". This causes the command to fail if
    you do not have "." in your path. Make-3.79.1 is apparently being too
    clever in expanding file names. I think this is a make bug.

            Until the make bug is fixed, I have worked around the problem
    by replacing the rule with:

    $(obj)/sm_tbl_%: $(obj)/gentbl
            PATH=$(obj):$$PATH $<

    Adam J. Richter __ ______________ 575 Oroville Road
    qyux@portos.telkonet.pl \ / Milpitas, California 95035
    +1 408 309-6081 | g g d r a s i l United States of America
                             "Free Software For The Rest Of Us."
    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to tiv.afecl@mail.dy.fi
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Sat Jun 22 2002 - 09:58:10 EEST