[Flex-help] undefined reference to 'yylex'
flex is a tool for generating scanners
Brought to you by:
wlestes
From: liugongquan123 <liu...@16...> - 2014-04-10 09:43:40
|
Hi all: To make my xsupplicant(1.2.8) works, I had flex-2.5.39,openssl,wireless_tools and bison-3.0 installed. But there are errors when I try (xsupplicant) make ,it says: /usr/local/lib/libfl.so:undefined reference to 'yylex' collect2:ld returned 1 exit status As I can see, yylex() is defined in /flex-2.5.39/yylex.c, and "/usr/local/lib/libfl.so " is installed by flex "make install", why there are such errors,and how to resolve it? Thanks alot! |