Well, I snagged the latest flex from Sourceforge, built it (it only builds
the static library by default), installed it and set LDFLAGS and CPPFLAGS
to point to the right directories, and it worked... only to have the build
fail later on with:

/bin/sh ../../libtool --tag=CXX --mode=compile g++ -m64 -DHAVE_CONFIG_H -I. -I../.. -I/home/klareau/work/boost/1.40.0.1.1/target/include -I./src -I/usr/local/include -Wall -g -O2 -MT ThreadManager.lo -MD -MP -MF .deps/ThreadManager.Tpo -c -o ThreadManager.lo `test -f 'src/concurrency/ThreadManager.cpp' || echo './'`src/concurrency/ThreadManager.cpp libtool: compile: g++ -m64 -DHAVE_CONFIG_H -I. -I../.. -I/home/klareau/work/boost/1.40.0.1.1/target/include -I./src -I/usr/local/include -Wall -g -O2 -MT ThreadManager.lo -MD -MP -MF .deps/ThreadManager.Tpo -c src/concurrency/ThreadManager.cpp -o ThreadManager.o
In file included from src/concurrency/ThreadManager.cpp:20:
src/concurrency/ThreadManager.h:24:26: tr1/functional: No such file or directory

followed by a cascade of further errors.  At least it's farther along than
I was, thank you very much for your help, David.


On 01/ 6/11 05:21 PM, David Reiss wrote:
Do you have a libfl.a on your system?  If not, can you get it?

On 01/06/2011 03:00 PM, Kenneth Lareau wrote:
/bin/sh ../../libtool --tag=CXX   --mode=link g++ -m64 -Wall -I./src -g -O2 
-Wall  -o thrift thrift-thrifty.o thrift-thriftl.o thrift-main.o md5.o 
thrift-t_generator.o thrift-t_cpp_generator.o  thrift-t_as3_generator.o 
thrift-t_py_generator.o           thrift-t_js_generator.o 
thrift-t_javame_generator.o -lfl -lsocket -lrt -lpthread
libtool: link: g++ -m64 -Wall -I./src -g -O2 -Wall -o thrift thrift-thrifty.o 
thrift-thriftl.o thrift-main.o md5.o thrift-t_generator.o 
thrift-t_cpp_generator.o thrift-t_as3_generator.o thrift-t_py_generator.o 
thrift-t_js_generator.o thrift-t_javame_generator.o  -lfl -lsocket -lrt 
-lpthread
Undefined                       first referenced
  symbol                             in file
yylex                               /usr/lib/amd64/libfl.so
ld: fatal: symbol referencing errors. No output written to thrift
collect2: ld returned 1 exit status
make[3]: *** [thrift] Error 1

Reply via email to