[Xorp-hackers] XORP support for powerpc

Pullabhatla Vinod pvinod.sarma at freescale.com
Tue May 26 21:00:01 PDT 2015


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 : <PATH TO 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<INCLUDE> 
>> LINKFLAGS=-L<LIB_PATH>
>>
>> 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
>>
>> <comment>"*"+"/" BEGIN(INITIAL);
>>
>>         ^
>>
>> rtrmgr/template.ll:491:7: error: 'one_liner' was not declared in this 
>> scope
>>
>> "%%"    BEGIN(one_liner);
>>
>>         ^
>>
>> <stdout>:133:55: error: expected primary-expression before '+' token
>>
>> <stdout>: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 <greearb at candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com
> 


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




More information about the Xorp-hackers mailing list