Re: Error in kernel module

2007-05-24 Thread Mike Shal
On 5/24/07, ajay parashar <[EMAIL PROTECTED]> wrote: Hi, I am using fedora 6. i write a simple hello world kernel module i write following makefile for building this module. ### obj-m+=hello.o all: make -c /lib/modules/ $(shell uname -r)/ build M=$(PWD) modules cl

Re: Enhancement request: Watch source files for changes

2009-02-08 Thread Mike Shal
On 1/24/09, Noah Slater wrote: > Hey, > > I have been using make to regenerate output documents as I write them in a > source format. This might involve writing in AsciiDoc and having make pick up > changes, generating a HTML page for me to preview my work. > > To aid the writing process I usu

Re: Make with "-j8" sometime fail on a single-core machine

2009-11-19 Thread Mike Shal
On 11/19/09, He Yunlong-B20256 wrote: > > > Hi, Experts: > > We met build errors with "[gdb] make -j8" for serveral times, but it's > ok to build with "-j1", we wonder whether this is some known issue, and is > it possible that something wrong in Makefile? We are using gnu make 3.81. > Hello,

Re: Make with "-j8" sometime fail on a single-core machine

2009-11-21 Thread Mike Shal
On 11/19/09, He Yunlong-B20256 wrote: > Hi, Mike, > > Thanks very much for your patient clarification, is "one task" > only done by "one job"? I'm not sure what you mean by "task" here. Make has a concept of a "job", as you can see by searching around the help documentation. I think each

Re: Shorter and less error-prone rule for automatic prerequisite generation in the GNU Make manual

2010-04-28 Thread Mike Shal
On 4/28/10, Robert Jørgensgaard Engdahl wrote: > > Hello GNU Make bug-list subscribers > > On > > http://www.gnu.org/software/make/manual/make.html#Automatic-Prerequisites > > The rule for automatically generating prerequisites is > > %.d: %.c > @set -e; rm -f $@; \ > $

Re: Shorter and less error-prone rule for automatic prerequisite generation in the GNU Make manual

2010-04-29 Thread Mike Shal
On 4/29/10, Edward Welbourne wrote: > > If an update to new source code, that would compile just fine in a clean > > checkout, breaks the incremental build, the build system is errornuous. > > > I would like to agree with you, but this constraint is, in general, > incompatible with incremental b

Re: Problem with parallel build

2010-10-21 Thread Mike Shal
On Thu, Oct 21, 2010 at 1:33 PM, Vardhan, Sundara (GE Energy) wrote: > Hi Michael > > During parallel makes if the time of the object files created and the > time archive command is run is within a second then it will fail to > include these object files. The reason I believe is due to a bug in ma

Re: Make: Unexpected Behavior with Dependencies and include Statement

2015-09-23 Thread Mike Shal
On Wed, Sep 23, 2015 at 12:57 PM, John Westing wrote: > I made a typo in my previous email: The following make file duplicates the > problem, the one in the previous email does not: > > a.d: > gcc -m32 -MM -o $@ a.c > sed 's!a.o!$@ a.o!' --in-place $@ > > a.o: > gc

Re: [bug #46242] Race condition when input file is updated while compiling

2015-10-20 Thread Mike Shal
On Tue, Oct 20, 2015 at 3:57 PM, David Boyce wrote: > My view is that this is really a variant of the longstanding > discussion about getting make to not rely on timestamps at all and use > MD5 or similar digital signatures instead. There are a number of > reasons why timestamps can be insufficie

Re: How to add comma to a list?

2005-07-12 Thread Mike Shal
On 7/12/05, Ted Stern <[EMAIL PROTECTED]> wrote: > Hi all, > > What is the proper way to insert commas into each word of a GNU Make > variable? > > I want to change FOO something like this: > > FOO := a b c d e > FOO := $(patsubst %,-Wl,-y,%_,$(FOO)) > > to get > > -Wl,-y,a_ -Wl

Re: automatic prerequisite problems

2005-11-11 Thread Mike Shal
On 11/11/05, Paul D. Smith <[EMAIL PROTECTED]> wrote: > %% "Marty Leisner" <[EMAIL PROTECTED]> writes: > > ml> ifneq (,$(findstring clean,$(MAKECMDGOALS))) > ml> NO_DEPENDS=1 > ml> endif > > ml> ifndef NO_DEPENDS > ml> -include $(DEPS) > ml> endif > > ml> I've seen this annoying behav

Re: Parallel building of Linux Kernel is broken

2018-09-10 Thread Mike Shal
On Mon, Sep 10, 2018 at 4:18 AM Masahiro Yamada < yamada.masah...@socionext.com> wrote: > Hello. > > > Seems no more feedback for this regression report. > > OK, the Linux kernel build system is too complicated. > So, I have come back with a much simpler test-case. > > Here, the test-case is only