[ https://issues.apache.org/jira/browse/THRIFT-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13924959#comment-13924959 ]
dima levchenko commented on THRIFT-2386: ---------------------------------------- hi, i have same problem. i fixed it by removing -lfl when linking resulting thrift file. idea comes from https://issues.apache.org/jira/browse/THRIFT-865 maybe it's issue about autoconf or automake versions? i have autoconf-2.69 and automake-1.14 installed on my system. i installed required versions are 2.65 && 1.11, and had troubles with ./configure invocation, and finally the same issue with yylex. i am complete newbee in C tools, just sharing my experience. > Thrift refuses to link yylex > ---------------------------- > > Key: THRIFT-2386 > URL: https://issues.apache.org/jira/browse/THRIFT-2386 > Project: Thrift > Issue Type: Bug > Components: Build Process, C++ - Compiler > Affects Versions: 1.2 > Environment: Arch linux x86_64, gcc-4.8.2, flex-2.5.38, bison-3.0.2, > thrift branch master f85fdd7a3af3255ea2464118930c10f582caf035 > Reporter: Milan Freml > Assignee: Jake Farrell > Fix For: 0.9.2 > > Attachments: yylex.patch > > > In my environment, when I try to compile the library, the build process of > Thrift fails with an error when compiling compiler/cpp: > {{/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libfl.so: > undefined reference to `yylex'}} > I've found out, that the patch attached solves the problem for me. -- This message was sent by Atlassian JIRA (v6.2#6252)