Re: [Flex-help] undefined reference to 'yylex'
flex is a tool for generating scanners
Brought to you by:
wlestes
From: liugongquan123 <liu...@16...> - 2014-04-11 01:30:28
|
When I try make,I got the following result, hope it is helpful. ... Making all in xsup_set_pwd make[3]: Entering directory `/open1x/xsupplicant-1.2.8/gui_tools/cli/xsup_set_pwd' gcc -g -O2 -Wall -o xsup_set_pwd xsup_set_pwd.o -lfl -liw -lm -L../../../lib/libxsupgui -lxsupgui -lssl -lcrypto /usr/local/lib/libfl.so: undefined reference to `yylex' collect2: ld returned 1 exit status make[3]: *** [xsup_set_pwd] Error 1 make[3]: Leaving directory `/open1x/xsupplicant-1.2.8/gui_tools/cli/xsup_set_pwd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/open1x/xsupplicant-1.2.8/gui_tools/cli' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/open1x/xsupplicant-1.2.8/gui_tools' make: *** [all-recursive] Error 1 At 2014-04-10 19:43:21,"Will Estes" <wes...@gm...> wrote: >Would you post the transcript of the make run? It'd help to see the command line generated to link the program. > >On Thursday, 10 April 2014, 5:43 pm +0800, liugongquan123 <liu...@16...> wrote: > >> 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! >> ------------------------------------------------------------------------------ >> Put Bad Developers to Shame >> Dominate Development with Jenkins Continuous Integration >> Continuously Automate Build, Test & Deployment >> Start a new project now. Try Jenkins in the cloud. >> http://p.sf.net/sfu/13600_Cloudbees >> _______________________________________________ >> Flex-help mailing list >> Fle...@li... >> https://lists.sourceforge.net/lists/listinfo/flex-help > >-- >Will Estes (wl...@us...) >Flex Project Maintainer >http://flex.sourceforge.net/ |