|
From: Per W. <pw...@ia...> - 2004-11-04 20:20:54
|
Clock skew is when make builds a file just to find out that the created output file has a time in the future. The most common cause is if you build on one machine and the files are stored on another machine. Make will then use the date/time of the build machine for deciding what to do. However, for a lot of network file protocols it is the machine owning the file system that sets the modify timestamp on the files. So if the clock on the file server is in the future relative to the build machine, this will happen. For the reverse condition, i.e. build machine has time in future relative to file server, make will sometime ignore building some files, since the newly saved source files have a time stamp older than the corresponding object file. However, for this case Make won't complain about clock skew - it will not be able to detect the problem, resulting in incomplete rebuilds. Whenever doing network builds, it is imperative to keep the time on the two machines synchronized, for example by letting both machines pick up current time from a ntp time reference server. /Per W On Thu, 4 Nov 2004, Noorez Kassam wrote: > [Warning] Clock skew detected. Your build may be incorrect. > > What is a clock skew...? > > _________________________________________________________________ > Powerful Parental Controls Let your child discover the best the Internet = has > to offer. > http://join.msn.com/?pgmarket=3Den-ca&page=3Dbyoa/prem&xAPID=3D1994&DI=3D= 1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarket_MSNIS_Taglines > Start enjoying all the benefits of MSN=AE Premium right now and get the > first two months FREE*. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |