[Click] Possible bug on big endian architectures

Eddie Kohler kohler at cs.ucla.edu
Thu Oct 21 15:43:12 EDT 2010


Hi Roberto,

Thanks for this report.  Does commit aa4a37422073e070d7b9315801830d8d852e0eed 
fix this problem?

Eddie


On 10/18/2010 07:20 AM, Roberto Riggio wrote:
>    This commit:
>
> http://read.cs.ucla.edu/gitweb?p=click;a=commit;h=09b020884142a3e16fe7577d5b8baf744e785d35
>
> Generates the following error when compiling click on BE architectures:
>
>     CXX ../lib/string.cc
>     CXX ../lib/straccum.cc
> In file included from ../lib/straccum.cc:26:
> ../include/click/timestamp.hh:443: error: 'timespec' does not name a type
> ../include/click/timestamp.hh: In member function 'void
> Timestamp::assign_now(bool)':
> ../include/click/timestamp.hh:678: error: '_rep' was not declared in
> this scope
> ../include/click/timestamp.hh: In member function 'const timespec&
> Timestamp::timespec() const':
> ../include/click/timestamp.hh:908: error: '_rep' was not declared in
> this scope
>
> If I revert the commit everything compiles fine.
>
> R.
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list