[Xorp-users] Compilation error in XORP

Ben Greear greearb at candelatech.com
Fri Mar 20 06:42:25 PDT 2015


Please try the latest code from git, and if it still does not work, you are going to have
to either fix it yourself or provide a lot more details on your cross-compiler
chain so someone might can reproduce and fix the issue.

Thanks,
Ben


On 03/20/2015 04:20 AM, pvinod.sarma at freescale.com wrote:
> Hi all ,
>
> I am trying to compile xorp 1.8.5 to powerpc architecture . I am getting the following error. Please help me out .
>
> fea/mfea_mrouter.cc:1325:28: error: cannot bind packed field 'vc_ng.vifctl_ng::vif' to 'vifctl&'
>
>    struct vifctl& vc = vc_ng.vif;
>
>                              ^
>
> fea/mfea_mrouter.cc: In member function 'int MfeaMrouter::delete_multicast_vif(uint32_t)':
>
> fea/mfea_mrouter.cc:1449:28: error: cannot bind packed field 'vc_ng.vifctl_ng::vif' to 'vifctl&'
>
>    struct vifctl& vc = vc_ng.vif;
>
>                              ^
>
> fea/mfea_mrouter.cc: In member function 'int MfeaMrouter::add_mfc(const IPvX&, const IPvX&, uint32_t, uint8_t*, uint8_t*, const IPvX&)':
>
> fea/mfea_mrouter.cc:1582:28: error: cannot bind packed field 'mc_ng.mfcctl_ng::mfc' to 'mfcctl&'
>
>    struct mfcctl& mc = mc_ng.mfc;
>
>                              ^
>
> fea/mfea_mrouter.cc: In member function 'int MfeaMrouter::delete_mfc(const IPvX&, const IPvX&)':
>
> fea/mfea_mrouter.cc:1710:28: error: cannot bind packed field 'mc_ng.mfcctl_ng::mfc' to 'mfcctl&'
>
>    struct mfcctl& mc = mc_ng.mfc;
>
>                              ^
>
> fea/mfea_mrouter.cc: In member function 'int MfeaMrouter::get_sg_count(const IPvX&, const IPvX&, SgCount&)':
>
> fea/mfea_mrouter.cc:2316:43: error: cannot bind packed field 'sgreq_ng.sioc_sg_req_ng::req' to 'sioc_sg_req&'
>
>    struct sioc_sg_req& sgreq = (sgreq_ng.req);
>
>                                             ^
>
> fea/mfea_mrouter.cc: In member function 'int MfeaMrouter::get_vif_count(uint32_t, VifCount&)':
>
> fea/mfea_mrouter.cc:2431:42: error: cannot bind packed field 'vreq_ng.sioc_vif_req_ng::vif' to 'sioc_vif_req&'
>
>    struct sioc_vif_req& vreq = (vreq_ng.vif);
>
>                                            ^
>
> scons: *** [obj/powerpc64-fsl-linux-gnu/fea/mfea_mrouter.os] Error 1
>
> Thanks,
>
> Vinod.
>
>
>
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>

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



More information about the Xorp-users mailing list