On 03/14/2012 03:01 AM, [email protected] wrote:
> From: Igor Maravic<[email protected]>
>
> On BSD bison generates header files with .h suffix.
> On other OSs it generates header files with .hh suffix.
>
> Check which OS we use and include appropriate files.

This still does not work.  On my BSD box, the .h file is:

y.tplt_tab.cc.h

But, I fixed that.

Now it complains because it doesn't know about some variable:

scons: `obj/i386-unknown-freebsd8.1/rib/tools/rib_show_routes' is up to date.
scons: `obj/i386-unknown-freebsd8.1/rib/xorp_rib' is up to date.
flex -Ptplt -t rtrmgr/template.ll > 
obj/i386-unknown-freebsd8.1/rtrmgr/lex.tplt.cc
g++ -o obj/i386-unknown-freebsd8.1/rtrmgr/lex.tplt.o -c -O2 -g3 -Werror -W 
-Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Woverloaded-virtual 
-ftemplate-depth-25 -pipe -DXORP_BUILDINFO -DXRL_PF=120 -DXORP_VERSION=1.8.5 
-Iobj/i386-unknown-freebsd8.1 -I. -Iobj/i386-unknown-freebsd8.1/rtrmgr -Irtrmgr 
-I. 
obj/i386-unknown-freebsd8.1/rtrmgr/lex.tplt.cc
rtrmgr/template.ll: In function 'int tpltlex()':
rtrmgr/template.ll:269: error: 'tpltlval' was not declared in this scope
rtrmgr/template.ll:274: error: 'tpltlval' was not declared in this scope
rtrmgr/template.ll:279: error: 'tpltlval' was not declared in this scope

Thanks,
Ben

-- 
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

Reply via email to