I'm trying to compile thrift on Ubuntu, but I get this

val: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: libtool_args+=: not found
eval: 1: libtool_args+=: not found
libtool: link: g++  -L/usr/lib -lfl -lrt -lpthread
/usr/lib/libfl_pic.a(libfl_pic_a-libmain.o): In function `main':
/build/buildd/flex-2.5.35/libmain.c:30: undefined reference to `yylex'
collect2: ld returned 1 exit status
make[3]: *** [thrift] Error 1
make[3]: Leaving directory `/root/thrift/compiler/cpp'


Any ideas?  I have lex & yacc installed.

Reply via email to