From pvinod.sarma at freescale.com Mon May 4 22:12:26 2015 From: pvinod.sarma at freescale.com (pvinod.sarma at freescale.com) Date: Tue, 5 May 2015 05:12:26 +0000 Subject: [Xorp-hackers] XORP support for powerpc In-Reply-To: References: Message-ID: Hi , I am getting the following error while compiling XORP latetst version to powerpc64 paltform . Please help in solving this issue . I am trying to compile using the follwing 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 powerpc64-fsl-linux-gnu/rtrmgr -Irtrmgr -I. obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.cc rtrmgr/template.ll:150:1: warning: "/*" within comment [-Wcomment] * ftptype = "A" | "I" | "D" | "a" | "i" | "d" ^ rtrmgr/template.ll:155:2: error: #endif without #if RE_URL_FTPTYPE "A"|"I"|"D"|"a"|"i"|"d" ^ rtrmgr/template.ll: In function 'int tpltlex()': rtrmgr/template.ll:446:16: error: expected primary-expression before ')' token BEGIN(string); ^ rtrmgr/template.ll:474:10: error: 'INITIAL' was not declared in this scope BEGIN(INITIAL); ^ rtrmgr/template.ll:481:7: error: 'comment' was not declared in this scope "/*" BEGIN(comment); ^ rtrmgr/template.ll:489:7: error: 'INITIAL' was not declared in this scope "*"+"/" BEGIN(INITIAL); ^ rtrmgr/template.ll:491:7: error: 'one_liner' was not declared in this scope "%%" BEGIN(one_liner); ^ :133:55: error: expected primary-expression before '+' token :9466:6: note: in expansion of macro 'YY_STATE_EOF' scons: *** [obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.o] Error 1 scons: building terminated because of errors. Thanks, Vinod. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20150505/1af1f027/attachment.html From greearb at candelatech.com Tue May 5 08:05:27 2015 From: greearb at candelatech.com (Ben Greear) Date: Tue, 05 May 2015 08:05:27 -0700 Subject: [Xorp-hackers] XORP support for powerpc In-Reply-To: References: Message-ID: <5548DC37.4020302@candelatech.com> You need to post full instructions for reproducing this, including exactly how to get and install the compile chain you are using if you want someone to do serious work to fix this. In case you are not already using it, please use the xorp source from git, not the packaged tarballs. Thanks, Ben On 05/04/2015 10:12 PM, pvinod.sarma at freescale.com wrote: > Hi , > > I am getting the following error while compiling XORP latetst version to powerpc64 paltform . > > Please help in solving this issue . > > I am trying to compile using the follwing 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 > > powerpc64-fsl-linux-gnu/rtrmgr -Irtrmgr -I. obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.cc > > rtrmgr/template.ll:150:1: warning: "/*" within comment [-Wcomment] > > * ftptype = "A" | "I" | "D" | "a" | "i" | "d" > > ^ > > rtrmgr/template.ll:155:2: error: #endif without #if > > RE_URL_FTPTYPE "A"|"I"|"D"|"a"|"i"|"d" > > ^ > > rtrmgr/template.ll: In function 'int tpltlex()': > > rtrmgr/template.ll:446:16: error: expected primary-expression before ')' token > > BEGIN(string); > > ^ > > rtrmgr/template.ll:474:10: error: 'INITIAL' was not declared in this scope > > BEGIN(INITIAL); > > ^ > > rtrmgr/template.ll:481:7: error: 'comment' was not declared in this scope > > "/*" BEGIN(comment); > > ^ > > rtrmgr/template.ll:489:7: error: 'INITIAL' was not declared in this scope > > "*"+"/" BEGIN(INITIAL); > > ^ > > rtrmgr/template.ll:491:7: error: 'one_liner' was not declared in this scope > > "%%" BEGIN(one_liner); > > ^ > > :133:55: error: expected primary-expression before '+' token > > :9466:6: note: in expansion of macro 'YY_STATE_EOF' > > scons: *** [obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.o] Error 1 > > scons: building terminated because of errors. > > Thanks, > > Vinod. > > > > _______________________________________________ > Xorp-hackers mailing list > Xorp-hackers at icir.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From pvinod.sarma at freescale.com Tue May 26 07:40:53 2015 From: pvinod.sarma at freescale.com (Pullabhatla Vinod) Date: Tue, 26 May 2015 14:40:53 +0000 Subject: [Xorp-hackers] XORP support for powerpc In-Reply-To: <5548DC37.4020302@candelatech.com> References: <5548DC37.4020302@candelatech.com> Message-ID: Hi , I cross compiled XORP to powerpc . Running XORP is giving me parse error . I am seeing the following messages : PARSE ERROR : [Template file : ] syntax error ; last symbol parsed was "bgp" . I am seeing this error when I run xorp_rtrmgr and also xorpsh . What am I doing wrong . Please help me out Thanks, Vinod. -----Original Message----- From: Ben Greear [mailto:greearb at candelatech.com] Sent: Tuesday, May 05, 2015 8:35 PM To: Sarma P. Vinod-B46178; xorp-hackers at icir.org Subject: Re: [Xorp-hackers] XORP support for powerpc You need to post full instructions for reproducing this, including exactly how to get and install the compile chain you are using if you want someone to do serious work to fix this. In case you are not already using it, please use the xorp source from git, not the packaged tarballs. Thanks, Ben On 05/04/2015 10:12 PM, pvinod.sarma at freescale.com wrote: > Hi , > > I am getting the following error while compiling XORP latetst version to powerpc64 paltform . > > Please help in solving this issue . > > I am trying to compile using the follwing 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 > > powerpc64-fsl-linux-gnu/rtrmgr -Irtrmgr -I. > obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.cc > > rtrmgr/template.ll:150:1: warning: "/*" within comment [-Wcomment] > > * ftptype = "A" | "I" | "D" | "a" | "i" | "d" > > ^ > > rtrmgr/template.ll:155:2: error: #endif without #if > > RE_URL_FTPTYPE "A"|"I"|"D"|"a"|"i"|"d" > > ^ > > rtrmgr/template.ll: In function 'int tpltlex()': > > rtrmgr/template.ll:446:16: error: expected primary-expression before > ')' token > > BEGIN(string); > > ^ > > rtrmgr/template.ll:474:10: error: 'INITIAL' was not declared in this > scope > > BEGIN(INITIAL); > > ^ > > rtrmgr/template.ll:481:7: error: 'comment' was not declared in this > scope > > "/*" BEGIN(comment); > > ^ > > rtrmgr/template.ll:489:7: error: 'INITIAL' was not declared in this > scope > > "*"+"/" BEGIN(INITIAL); > > ^ > > rtrmgr/template.ll:491:7: error: 'one_liner' was not declared in this > scope > > "%%" BEGIN(one_liner); > > ^ > > :133:55: error: expected primary-expression before '+' token > > :9466:6: note: in expansion of macro 'YY_STATE_EOF' > > scons: *** [obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.o] Error 1 > > scons: building terminated because of errors. > > Thanks, > > Vinod. > > > > _______________________________________________ > Xorp-hackers mailing list > Xorp-hackers at icir.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From greearb at candelatech.com Tue May 26 08:55:49 2015 From: greearb at candelatech.com (Ben Greear) Date: Tue, 26 May 2015 08:55:49 -0700 Subject: [Xorp-hackers] XORP support for powerpc In-Reply-To: References: <5548DC37.4020302@candelatech.com> Message-ID: <55649785.1010407@candelatech.com> On 05/26/2015 07:40 AM, Pullabhatla Vinod wrote: > Hi , > I cross compiled XORP to powerpc . > > Running XORP is giving me parse error . I am seeing the following messages : > > PARSE ERROR : [Template file : ] syntax error ; last symbol parsed was "bgp" . > > I am seeing this error when I run xorp_rtrmgr and also xorpsh . > > What am I doing wrong . Please help me out Hard to say what is the problem. If you can post directions to reproduce your environment, or if you want to give me ssh access to your systems, then I can take a look. If you don't need bgp, maybe try excluding it from the build. Thanks, Ben > > Thanks, > Vinod. > > > -----Original Message----- > From: Ben Greear [mailto:greearb at candelatech.com] > Sent: Tuesday, May 05, 2015 8:35 PM > To: Sarma P. Vinod-B46178; xorp-hackers at icir.org > Subject: Re: [Xorp-hackers] XORP support for powerpc > > You need to post full instructions for reproducing this, including exactly how to get and install the compile chain you are using if you want someone to do serious work to fix this. > > In case you are not already using it, please use the xorp source from git, not the packaged tarballs. > > Thanks, > Ben > > > On 05/04/2015 10:12 PM, pvinod.sarma at freescale.com wrote: >> Hi , >> >> I am getting the following error while compiling XORP latetst version to powerpc64 paltform . >> >> Please help in solving this issue . >> >> I am trying to compile using the follwing 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 >> >> powerpc64-fsl-linux-gnu/rtrmgr -Irtrmgr -I. >> obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.cc >> >> rtrmgr/template.ll:150:1: warning: "/*" within comment [-Wcomment] >> >> * ftptype = "A" | "I" | "D" | "a" | "i" | "d" >> >> ^ >> >> rtrmgr/template.ll:155:2: error: #endif without #if >> >> RE_URL_FTPTYPE "A"|"I"|"D"|"a"|"i"|"d" >> >> ^ >> >> rtrmgr/template.ll: In function 'int tpltlex()': >> >> rtrmgr/template.ll:446:16: error: expected primary-expression before >> ')' token >> >> BEGIN(string); >> >> ^ >> >> rtrmgr/template.ll:474:10: error: 'INITIAL' was not declared in this >> scope >> >> BEGIN(INITIAL); >> >> ^ >> >> rtrmgr/template.ll:481:7: error: 'comment' was not declared in this >> scope >> >> "/*" BEGIN(comment); >> >> ^ >> >> rtrmgr/template.ll:489:7: error: 'INITIAL' was not declared in this >> scope >> >> "*"+"/" BEGIN(INITIAL); >> >> ^ >> >> rtrmgr/template.ll:491:7: error: 'one_liner' was not declared in this >> scope >> >> "%%" BEGIN(one_liner); >> >> ^ >> >> :133:55: error: expected primary-expression before '+' token >> >> :9466:6: note: in expansion of macro 'YY_STATE_EOF' >> >> scons: *** [obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.o] Error 1 >> >> scons: building terminated because of errors. >> >> Thanks, >> >> Vinod. >> >> >> >> _______________________________________________ >> Xorp-hackers mailing list >> Xorp-hackers at icir.org >> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers >> > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From pvinod.sarma at freescale.com Tue May 26 21:00:01 2015 From: pvinod.sarma at freescale.com (Pullabhatla Vinod) Date: Wed, 27 May 2015 04:00:01 +0000 Subject: [Xorp-hackers] XORP support for powerpc In-Reply-To: <55649785.1010407@candelatech.com> References: <5548DC37.4020302@candelatech.com> <55649785.1010407@candelatech.com> Message-ID: Thanks Ben, Actually the problem is not just with bgp but with all the template files . When I try to delete bgp.tp and proceed saying xorp_rtrmgr without even specifying any config file I am getting the same error with some other .tp file (fea.tp for instance). -----Original Message----- From: Ben Greear [mailto:greearb at candelatech.com] Sent: Tuesday, May 26, 2015 9:26 PM To: Sarma P. Vinod-B46178 Cc: xorp-hackers at icir.org Subject: Re: [Xorp-hackers] XORP support for powerpc On 05/26/2015 07:40 AM, Pullabhatla Vinod wrote: > Hi , > I cross compiled XORP to powerpc . > > Running XORP is giving me parse error . I am seeing the following messages : > > PARSE ERROR : [Template file : ] syntax error ; last symbol parsed was "bgp" . > > I am seeing this error when I run xorp_rtrmgr and also xorpsh . > > What am I doing wrong . Please help me out Hard to say what is the problem. If you can post directions to reproduce your environment, or if you want to give me ssh access to your systems, then I can take a look. If you don't need bgp, maybe try excluding it from the build. Thanks, Ben > > Thanks, > Vinod. > > > -----Original Message----- > From: Ben Greear [mailto:greearb at candelatech.com] > Sent: Tuesday, May 05, 2015 8:35 PM > To: Sarma P. Vinod-B46178; xorp-hackers at icir.org > Subject: Re: [Xorp-hackers] XORP support for powerpc > > You need to post full instructions for reproducing this, including exactly how to get and install the compile chain you are using if you want someone to do serious work to fix this. > > In case you are not already using it, please use the xorp source from git, not the packaged tarballs. > > Thanks, > Ben > > > On 05/04/2015 10:12 PM, pvinod.sarma at freescale.com wrote: >> Hi , >> >> I am getting the following error while compiling XORP latetst version to powerpc64 paltform . >> >> Please help in solving this issue . >> >> I am trying to compile using the follwing 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 >> >> powerpc64-fsl-linux-gnu/rtrmgr -Irtrmgr -I. >> obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.cc >> >> rtrmgr/template.ll:150:1: warning: "/*" within comment [-Wcomment] >> >> * ftptype = "A" | "I" | "D" | "a" | "i" | "d" >> >> ^ >> >> rtrmgr/template.ll:155:2: error: #endif without #if >> >> RE_URL_FTPTYPE "A"|"I"|"D"|"a"|"i"|"d" >> >> ^ >> >> rtrmgr/template.ll: In function 'int tpltlex()': >> >> rtrmgr/template.ll:446:16: error: expected primary-expression before >> ')' token >> >> BEGIN(string); >> >> ^ >> >> rtrmgr/template.ll:474:10: error: 'INITIAL' was not declared in this >> scope >> >> BEGIN(INITIAL); >> >> ^ >> >> rtrmgr/template.ll:481:7: error: 'comment' was not declared in this >> scope >> >> "/*" BEGIN(comment); >> >> ^ >> >> rtrmgr/template.ll:489:7: error: 'INITIAL' was not declared in this >> scope >> >> "*"+"/" BEGIN(INITIAL); >> >> ^ >> >> rtrmgr/template.ll:491:7: error: 'one_liner' was not declared in this >> scope >> >> "%%" BEGIN(one_liner); >> >> ^ >> >> :133:55: error: expected primary-expression before '+' token >> >> :9466:6: note: in expansion of macro 'YY_STATE_EOF' >> >> scons: *** [obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.o] Error 1 >> >> scons: building terminated because of errors. >> >> Thanks, >> >> Vinod. >> >> >> >> _______________________________________________ >> Xorp-hackers mailing list >> Xorp-hackers at icir.org >> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers >> > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From greearb at candelatech.com Tue May 26 22:40:46 2015 From: greearb at candelatech.com (Ben Greear) Date: Tue, 26 May 2015 22:40:46 -0700 Subject: [Xorp-hackers] XORP support for powerpc In-Reply-To: References: <5548DC37.4020302@candelatech.com> <55649785.1010407@candelatech.com> Message-ID: <556558DE.7050506@candelatech.com> Maybe part of the cross-compile didn't go well. You might have to dig into the code a bit to figure out what it is complaining about. Thanks, Ben On 05/26/2015 09:00 PM, Pullabhatla Vinod wrote: > Thanks Ben, > Actually the problem is not just with bgp but with all the template files . When I try to delete bgp.tp and proceed saying xorp_rtrmgr without even specifying any config file I am getting the same error with some other .tp file (fea.tp for instance). > > -----Original Message----- > From: Ben Greear [mailto:greearb at candelatech.com] > Sent: Tuesday, May 26, 2015 9:26 PM > To: Sarma P. Vinod-B46178 > Cc: xorp-hackers at icir.org > Subject: Re: [Xorp-hackers] XORP support for powerpc > > On 05/26/2015 07:40 AM, Pullabhatla Vinod wrote: >> Hi , >> I cross compiled XORP to powerpc . >> >> Running XORP is giving me parse error . I am seeing the following messages : >> >> PARSE ERROR : [Template file : ] syntax error ; last symbol parsed was "bgp" . >> >> I am seeing this error when I run xorp_rtrmgr and also xorpsh . >> >> What am I doing wrong . Please help me out > > Hard to say what is the problem. If you can post directions to reproduce your environment, or if you want to give me ssh access to your systems, then I can take a look. > > If you don't need bgp, maybe try excluding it from the build. > > Thanks, > Ben > > >> >> Thanks, >> Vinod. >> >> >> -----Original Message----- >> From: Ben Greear [mailto:greearb at candelatech.com] >> Sent: Tuesday, May 05, 2015 8:35 PM >> To: Sarma P. Vinod-B46178; xorp-hackers at icir.org >> Subject: Re: [Xorp-hackers] XORP support for powerpc >> >> You need to post full instructions for reproducing this, including exactly how to get and install the compile chain you are using if you want someone to do serious work to fix this. >> >> In case you are not already using it, please use the xorp source from git, not the packaged tarballs. >> >> Thanks, >> Ben >> >> >> On 05/04/2015 10:12 PM, pvinod.sarma at freescale.com wrote: >>> Hi , >>> >>> I am getting the following error while compiling XORP latetst version to powerpc64 paltform . >>> >>> Please help in solving this issue . >>> >>> I am trying to compile using the follwing 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 >>> >>> powerpc64-fsl-linux-gnu/rtrmgr -Irtrmgr -I. >>> obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.cc >>> >>> rtrmgr/template.ll:150:1: warning: "/*" within comment [-Wcomment] >>> >>> * ftptype = "A" | "I" | "D" | "a" | "i" | "d" >>> >>> ^ >>> >>> rtrmgr/template.ll:155:2: error: #endif without #if >>> >>> RE_URL_FTPTYPE "A"|"I"|"D"|"a"|"i"|"d" >>> >>> ^ >>> >>> rtrmgr/template.ll: In function 'int tpltlex()': >>> >>> rtrmgr/template.ll:446:16: error: expected primary-expression before >>> ')' token >>> >>> BEGIN(string); >>> >>> ^ >>> >>> rtrmgr/template.ll:474:10: error: 'INITIAL' was not declared in this >>> scope >>> >>> BEGIN(INITIAL); >>> >>> ^ >>> >>> rtrmgr/template.ll:481:7: error: 'comment' was not declared in this >>> scope >>> >>> "/*" BEGIN(comment); >>> >>> ^ >>> >>> rtrmgr/template.ll:489:7: error: 'INITIAL' was not declared in this >>> scope >>> >>> "*"+"/" BEGIN(INITIAL); >>> >>> ^ >>> >>> rtrmgr/template.ll:491:7: error: 'one_liner' was not declared in this >>> scope >>> >>> "%%" BEGIN(one_liner); >>> >>> ^ >>> >>> :133:55: error: expected primary-expression before '+' token >>> >>> :9466:6: note: in expansion of macro 'YY_STATE_EOF' >>> >>> scons: *** [obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.o] Error 1 >>> >>> scons: building terminated because of errors. >>> >>> Thanks, >>> >>> Vinod. >>> >>> >>> >>> _______________________________________________ >>> Xorp-hackers mailing list >>> Xorp-hackers at icir.org >>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers >>> >> >> -- >> Ben Greear >> Candela Technologies Inc http://www.candelatech.com >> > > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From pvinod.sarma at freescale.com Wed May 27 02:58:04 2015 From: pvinod.sarma at freescale.com (Pullabhatla Vinod) Date: Wed, 27 May 2015 09:58:04 +0000 Subject: [Xorp-hackers] XORP support for powerpc In-Reply-To: <556558DE.7050506@candelatech.com> References: <5548DC37.4020302@candelatech.com> <55649785.1010407@candelatech.com> <556558DE.7050506@candelatech.com> Message-ID: Ben, I tried to compile the same to X86 also . It is giving me the same problem . I have taken the source from : https://github.com/greearb/xorp.ct gcc version : 4.8.2 Thanks, Vinod. -----Original Message----- From: Ben Greear [mailto:greearb at candelatech.com] Sent: Wednesday, May 27, 2015 11:11 AM To: Sarma P. Vinod-B46178 Cc: xorp-hackers at icir.org Subject: Re: [Xorp-hackers] XORP support for powerpc Maybe part of the cross-compile didn't go well. You might have to dig into the code a bit to figure out what it is complaining about. Thanks, Ben On 05/26/2015 09:00 PM, Pullabhatla Vinod wrote: > Thanks Ben, > Actually the problem is not just with bgp but with all the template files . When I try to delete bgp.tp and proceed saying xorp_rtrmgr without even specifying any config file I am getting the same error with some other .tp file (fea.tp for instance). > > -----Original Message----- > From: Ben Greear [mailto:greearb at candelatech.com] > Sent: Tuesday, May 26, 2015 9:26 PM > To: Sarma P. Vinod-B46178 > Cc: xorp-hackers at icir.org > Subject: Re: [Xorp-hackers] XORP support for powerpc > > On 05/26/2015 07:40 AM, Pullabhatla Vinod wrote: >> Hi , >> I cross compiled XORP to powerpc . >> >> Running XORP is giving me parse error . I am seeing the following messages : >> >> PARSE ERROR : [Template file : ] syntax error ; last symbol parsed was "bgp" . >> >> I am seeing this error when I run xorp_rtrmgr and also xorpsh . >> >> What am I doing wrong . Please help me out > > Hard to say what is the problem. If you can post directions to reproduce your environment, or if you want to give me ssh access to your systems, then I can take a look. > > If you don't need bgp, maybe try excluding it from the build. > > Thanks, > Ben > > >> >> Thanks, >> Vinod. >> >> >> -----Original Message----- >> From: Ben Greear [mailto:greearb at candelatech.com] >> Sent: Tuesday, May 05, 2015 8:35 PM >> To: Sarma P. Vinod-B46178; xorp-hackers at icir.org >> Subject: Re: [Xorp-hackers] XORP support for powerpc >> >> You need to post full instructions for reproducing this, including exactly how to get and install the compile chain you are using if you want someone to do serious work to fix this. >> >> In case you are not already using it, please use the xorp source from git, not the packaged tarballs. >> >> Thanks, >> Ben >> >> >> On 05/04/2015 10:12 PM, pvinod.sarma at freescale.com wrote: >>> Hi , >>> >>> I am getting the following error while compiling XORP latetst version to powerpc64 paltform . >>> >>> Please help in solving this issue . >>> >>> I am trying to compile using the follwing 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 >>> >>> powerpc64-fsl-linux-gnu/rtrmgr -Irtrmgr -I. >>> obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.cc >>> >>> rtrmgr/template.ll:150:1: warning: "/*" within comment [-Wcomment] >>> >>> * ftptype = "A" | "I" | "D" | "a" | "i" | "d" >>> >>> ^ >>> >>> rtrmgr/template.ll:155:2: error: #endif without #if >>> >>> RE_URL_FTPTYPE "A"|"I"|"D"|"a"|"i"|"d" >>> >>> ^ >>> >>> rtrmgr/template.ll: In function 'int tpltlex()': >>> >>> rtrmgr/template.ll:446:16: error: expected primary-expression before >>> ')' token >>> >>> BEGIN(string); >>> >>> ^ >>> >>> rtrmgr/template.ll:474:10: error: 'INITIAL' was not declared in this >>> scope >>> >>> BEGIN(INITIAL); >>> >>> ^ >>> >>> rtrmgr/template.ll:481:7: error: 'comment' was not declared in this >>> scope >>> >>> "/*" BEGIN(comment); >>> >>> ^ >>> >>> rtrmgr/template.ll:489:7: error: 'INITIAL' was not declared in this >>> scope >>> >>> "*"+"/" BEGIN(INITIAL); >>> >>> ^ >>> >>> rtrmgr/template.ll:491:7: error: 'one_liner' was not declared in >>> this scope >>> >>> "%%" BEGIN(one_liner); >>> >>> ^ >>> >>> :133:55: error: expected primary-expression before '+' token >>> >>> :9466:6: note: in expansion of macro 'YY_STATE_EOF' >>> >>> scons: *** [obj/powerpc64-fsl-linux-gnu/rtrmgr/lex.tplt.o] Error 1 >>> >>> scons: building terminated because of errors. >>> >>> Thanks, >>> >>> Vinod. >>> >>> >>> >>> _______________________________________________ >>> Xorp-hackers mailing list >>> Xorp-hackers at icir.org >>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers >>> >> >> -- >> Ben Greear >> Candela Technologies Inc http://www.candelatech.com >> > > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > -- Ben Greear Candela Technologies Inc http://www.candelatech.com