Nokia Networks Home

Nokia nmake Product Builder

Quick Links

Related Products

Timestamp Inconsistencies on Fast Machines

There is a possibility of time stamp inconsistencies on fast machines. The handling of time stamps between multiple invocations of nmake can collide when run in a script. For example, suppose a Makefile creates an archive b.a, with member b.c. Then, the following script can intermittently break the engine code:

    nmake
    touch b.c
    nmake

What happens is that the 2nd invocation may fail to rebuild anything or may rebuild b.o but fail to update b.a. To work around this, the shell script should have at least a one second time interval between invocations of nmake:

    nmake
    touch b.c
    sleep 1
    nmake
Last Update: Friday,12-Aug-2016 10:48:34 EDT