help-make
[Top][All Lists]
Advanced

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

Field 'name' not cached


From: address@hidden
Subject: Field 'name' not cached
Date: Sun, 30 Dec 2012 00:46:16 +0000

Hi everyone,

I have problems with the following Makefile:

########
MODULE_TS_DIR = module_timestamps

vpath % $(MODULE_TS_DIR)

default: lib(foo)

$(MODULE_TS_DIR):
        mkdir -p $@

(%): %.vhd | $(MODULE_TS_DIR)
        cd $(MODULE_TS_DIR) && touch $(*F) && ar rv $@ $(*F) && rm $(*F)

clean:
        $(RM) -r $(MODULE_TS_DIR)

.PHONY: default clean
#############

the prerequisite foo.vhd exists in the directory.

If I run 'make' for the first time, everything is ok, but second time I get:

make: module_timestamps/lib(foo): Field 'name' not cached: 
module_timestamps/lib(foo)

make: module_timestamps/lib(foo): Field 'hname' not cached: 
module_timestamps/lib(foo)

Does someone know what this warning means? I use version 3.82 with archlinux 
patches. 

Kind Regards,
Gökçe



reply via email to

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