[Xorp-users] no RP address for this group

Ben Greear greearb at candelatech.com
Fri Oct 29 09:36:21 PDT 2010


On 10/29/2010 09:29 AM, Jayasri Sangu wrote:
> Hi Ben,
>
>         I am cross compiling the xorp for powerpc processor.
>
> In the file xrl_pim_node.cc, calling reinterpret_cast for converting 32 bit number to 8 or 16 bit number is
> returning 0, as the powerpc is BIGENDIAN(byte order is changed). So instaed of using reinterpret_cast, I am using static_cast.
>
> Please see the attached patch.
>
> Thanks
> Jayasri

I need to do some googling on static_cast v/s reinterpret_cast, but
probably your patch is fine.

xorp.ct should be able to cross-compile to PPC, so if you try it and
it doesn't work, please let me know.

I'll try to get the patch applied shortly..got a few more things to
get out of the way before I can start hacking on xorp again, however.

Thanks,
Ben

>
>
>
> -----Original Message-----
> From: Ben Greear [mailto:greearb at candelatech.com]
> Sent: Friday, October 29, 2010 9:17 AM
> To: Jayasri Sangu
> Cc: xorp-users at xorp.org
> Subject: Re: [Xorp-users] no RP address for this group
>
> On 10/27/2010 11:52 AM, Jayasri Sangu wrote:
>> Hi,
>>
>> My modems are running embedded linux with kernel 2.6.26. And xorp
>> version is xorp-1.6.
>>
>> After debugging the xorp code, I found that rp-holdtime is initialized
>> to 0. As per the XORP manual the default value for rp-holdtime is 150.
>>
>> Why rp-holdtime is initialized to 0 ??
>>
>> And also when I start the xorp_rtrmgr, why I am getting the following
>> warning?
>>
>> [ 2010/10/22 22:05:30 WARNING xorp_rtrmgr:391 XrlFinderTarget +407
>> ../xrl/targets/finder_base.cc ha
>>
>> ndle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl
>> failed: XrlCmdError 102 Com
>>
>> mand failed Target "PIMSM_4" does not exist or is not enabled.
>
> These do not seem to be serious, but I haven't looked into them
> in detail.
>
> If you want to send a patch against the latest xorp.ct to fix
> the hold time issue, I'll be happy to apply it
>
>
> Thanks,
> Ben
>
>


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-users mailing list