[Click] Build failure nsclick

Sascha Alexander Jopen jopen at informatik.uni-bonn.de
Tue Sep 6 04:30:10 EDT 2011


Hey,

Some recent changes lead to build failures when compiling with
--enable-nsclick.

One reason is simply a missing address operator in timestamp.hh, fixed
with the attached patch.

The second problem is about the TIMESTAMP_WARPABLE definition in
include/click/timestamp.hh around line 116 and the usage of some warp
functions in include/click/timer.hh araound line 306.
TIMESTAMP_WARPABLE is defined if !CLICK_NS but the function warp_jumping
is used by only checking CLICK_USERLEVEL

Either TIMESTAMP_WARPABLE should be used witch CLICK_NS, or the timer
should check against TIMESTAMP_WARPABLE instead of CLICK_USERLEVEL.

Because i don't know what this time warping actually does, its up to you
to find the correct solution :-) Maybe other code is affected, too.

Regards,
Sascha Jopen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: click-timestamp-ns.patch
Type: text/x-patch
Size: 468 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20110906/f3efd2f1/attachment.bin 


More information about the click mailing list