[Flex-help] re : undefined reference to 'yylex'
flex is a tool for generating scanners
Brought to you by:
wlestes
From: liugongquan123 <liu...@16...> - 2014-04-11 09:49:39
|
To Michele: Thank you very much for your reply. There is no .ll file in my xsupplicant project, which is a open source project. Actually, xsupplicant needs flex (and also bison) to be installed. There are so many output when I try the make command after I run 'make clean', so I put here only the related results. ... Making all in doc make[1]: Entering directory `/open1x/xsupplicant-1.2.8/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/open1x/xsupplicant-1.2.8/doc' Making all in drivers make[1]: Entering directory `/open1x/xsupplicant-1.2.8/drivers' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/open1x/xsupplicant-1.2.8/drivers' Making all in gui_tools make[1]: Entering directory `/open1x/xsupplicant-1.2.8/gui_tools' Making all in cli make[2]: Entering directory `/open1x/xsupplicant-1.2.8/gui_tools/cli' Making all in xsup_set_pwd make[3]: Entering directory `/open1x/xsupplicant-1.2.8/gui_tools/cli/xsup_set_pwd' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DLILENDIAN=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_PWD_RESET=1 -DOPENSSL_NO_KRB5=1 -DLINUX=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_IWLIB_H=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSSL=1 -DLINUX_FRAMER=1 -I. -I. -g -O2 -Wall -c `test -f 'xsup_set_pwd.c' || echo './'`xsup_set_pwd.c 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 > We can give more accurate indications if you run "make clean" and than"make", and post here the whole output. |