From pvinod.sarma at freescale.com Wed Mar 18 00:01:53 2015 From: pvinod.sarma at freescale.com (pvinod.sarma at freescale.com) Date: Wed, 18 Mar 2015 07:01:53 +0000 Subject: [Xorp-users] Need help to compile xorp for powerpc architecture Message-ID: Hi all , I need help to cross compile XORP to power pc 64bit platform . Can anybody share the steps to do so. Thanks, Vinod. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20150318/6ca9533c/attachment.html From rrarankurissi at edgewaternetworks.com Wed Mar 18 03:10:17 2015 From: rrarankurissi at edgewaternetworks.com (Rajeesh Rarankurissi) Date: Wed, 18 Mar 2015 15:40:17 +0530 Subject: [Xorp-users] Need help to compile xorp for powerpc architecture In-Reply-To: References: Message-ID: Hi Vinod, It will be helpful to refer BUILD_NOTES file [sectiion 3.8. Cross-compilation] available in xorp folder Thanks Rajeesh Rarankurissi On Wed, Mar 18, 2015 at 12:31 PM, pvinod.sarma at freescale.com < pvinod.sarma at freescale.com> wrote: > Hi all , > > I need help to cross compile XORP to power pc 64bit platform . Can anybody > share the steps to do so. > > > > Thanks, > > Vinod. > > > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users > > -- This electronic message, including attachments, is intended only for the use of the individual or company named above or to which it is addressed. The information contained in this message shall be considered confidential and proprietary, and may include confidential work product. If you are not the intended recipient, please be aware that any unauthorized use, dissemination, distribution or copying of this message is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and deleting this email immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20150318/1a2dfe12/attachment.html From pvinod.sarma at freescale.com Fri Mar 20 04:20:40 2015 From: pvinod.sarma at freescale.com (pvinod.sarma at freescale.com) Date: Fri, 20 Mar 2015 11:20:40 +0000 Subject: [Xorp-users] Compilation error in XORP Message-ID: 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20150320/5d0f9f55/attachment.html From greearb at candelatech.com Fri Mar 20 06:42:25 2015 From: greearb at candelatech.com (Ben Greear) Date: Fri, 20 Mar 2015 06:42:25 -0700 Subject: [Xorp-users] Compilation error in XORP In-Reply-To: References: Message-ID: <550C23C1.6010403@candelatech.com> 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 Candela Technologies Inc http://www.candelatech.com From pvinod.sarma at freescale.com Sun Mar 22 22:38:51 2015 From: pvinod.sarma at freescale.com (pvinod.sarma at freescale.com) Date: Mon, 23 Mar 2015 05:38:51 +0000 Subject: [Xorp-users] Cross compilation issues with latest XORP Message-ID: Hi all, My cross compilation configuration is as follows : TARGET_HOST=powerpc64-fsl-linux TARGET_BOX=t4240rdb ARCH_BITS=64 TARGET_PLATFORM=t4240rdb ARCH=powerpc CROSS_COMPILE=$TARGET_HOST I am trying to cross compile with the following command : scons build=powerpc64-fsl-linux CC=powerpc64-fsl-linux-gcc CXX=powerpc64-fsl-linux-g++ STRIP=powerpc64-fsl-linux-strip RANLIB=powerpc64-fsl-linux-ranlib CFLAGS=-I LINKFLAGS=-L My version of GCC is 4.8.1 . Thanks, Vinod. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20150323/4c31236c/attachment.html From greearb at candelatech.com Mon Mar 23 08:50:47 2015 From: greearb at candelatech.com (Ben Greear) Date: Mon, 23 Mar 2015 08:50:47 -0700 Subject: [Xorp-users] Cross compilation issues with latest XORP In-Reply-To: References: Message-ID: <55103657.1030809@candelatech.com> On 03/22/2015 10:38 PM, pvinod.sarma at freescale.com wrote: > Hi all, > > My cross compilation configuration is as follows : > > > > TARGET_HOST=powerpc64-fsl-linux > > TARGET_BOX=t4240rdb > > ARCH_BITS=64 > > TARGET_PLATFORM=t4240rdb > > ARCH=powerpc > > CROSS_COMPILE=$TARGET_HOST > > I am trying to cross compile with the following command : > > > > scons build=*powerpc64-fsl-linux* CC=*powerpc64-fsl-linux-gcc* CXX=*powerpc64-fsl-linux-g++* STRIP=*powerpc64-fsl-linux-strip* > RANLIB=*powerpc64-fsl-linux-ranlib* CFLAGS=-I LINKFLAGS=-L Can you post a link to the complete cross-compile chain that you are using, as well as your SSL libraries and so forth? Did you try this against the latest git repo? Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com