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, [email protected] 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 > [email protected] > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers > -- Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
