[Click] Possible bug on big endian architectures

Eddie Kohler kohler at cs.ucla.edu
Fri Oct 22 13:23:04 EDT 2010


Whoops.  Does ff98298b65305a9a5ed3a2b454dc3ee38bdb5c4d fix this?


On 10/22/10 9:48 AM, Roberto Riggio wrote:
>
> same here:
>
> CXX ../lib/timestamp.cc
> ../lib/timestamp.cc: In member function 'int
> Timestamp::set_timeval_ioctl(int, int)':
> ../lib/timestamp.cc:161: error: 'union Timestamp::rep_t' has no member
> named 'tv'
>
> Il 22/10/2010 17:25, Eddie Kohler ha scritto:
>> Whoops, yeah huh! 6b032c0 should fix this, sorry.
>>
>> E
>>
>>
>> On 10/22/10 2:28 AM, Roberto Riggio wrote:
>>> Sorry I still get this:
>>>
>>> CXX ../lib/straccum.cc
>>> In file included from ../lib/straccum.cc:26:
>>> ../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
>>>
>>>
>>> Il 22/10/2010 09:28, Roberto Riggio ha scritto:
>>>> Yes, now the problem is fixed.
>>>>
>>>> Thanks
>>>> R.
>>>>
>>>> Il 21/10/2010 21:43, Eddie Kohler ha scritto:
>>>>> 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
>>>> _______________________________________________
>>>> click mailing list
>>>> click at amsterdam.lcs.mit.edu
>>>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>>
>>> _______________________________________________
>>> click mailing list
>>> click at amsterdam.lcs.mit.edu
>>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list