[Xorp-hackers] XORP support for powerpc

pvinod.sarma at freescale.com pvinod.sarma at freescale.com
Mon May 4 22:12:26 PDT 2015


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20150505/1af1f027/attachment.html 


More information about the Xorp-hackers mailing list