[Error] route/cls/ematch_syntax.y:31.9-16: syntax error, unexpected identifier, expecting string
[Error]
Fedora 10에서 wpa_supplicant 빌드시, 아래와 같은 Error가 발생하였다.
make[2]: Entering directory `/home/steo/FH7200B/src.rev2342/hmc/tools/wpa_supplicant/libnl-3.2.22'
Making all in include
make[3]: Entering directory `/home/steo/FH7200B/src.rev2342/hmc/tools/wpa_supplicant/libnl-3.2.22/include'
make[4]: Entering directory `/home/steo/FH7200B/src.rev2342/hmc/tools/wpa_supplicant/libnl-3.2.22'
make[4]: Leaving directory `/home/steo/FH7200B/src.rev2342/hmc/tools/wpa_supplicant/libnl-3.2.22'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/steo/FH7200B/src.rev2342/hmc/tools/wpa_supplicant/libnl-3.2.22/include'
Making all in lib
make[3]: Entering directory `/home/steo/FH7200B/src.rev2342/hmc/tools/wpa_supplicant/libnl-3.2.22/lib'
make[4]: Entering directory `/home/steo/FH7200B/src.rev2342/hmc/tools/wpa_supplicant/libnl-3.2.22'
make[4]: Leaving directory `/home/steo/FH7200B/src.rev2342/hmc/tools/wpa_supplicant/libnl-3.2.22'
GEN route/cls/ematch_syntax.c
route/cls/ematch_syntax.y:31.9-16: syntax error, unexpected identifier, expecting string
make[3]: *** [route/cls/ematch_syntax.c] Error 1
make[3]: Leaving directory `/home/steo/FH7200B/src.rev2342/hmc/tools/wpa_supplicant/libnl-3.2.22/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steo/FH7200B/src.rev2342/hmc/tools/wpa_supplicant/libnl-3.2.22'
make[1]: *** [libnl] Error 2
make[1]: Leaving directory `/home/steo/FH7200B/src.rev2342/hmc/tools/wpa_supplicant'
make: *** [wpa_supplicant] Error 2
[Solved]
bison tool의 version 호환성 때문에 발생하는 error이다.
아래와 같이 bison source code를 build & install해 준다.
Download source
# wget http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gz
Extract tar
# tar –xvzf bison-2.5.1.tar.gz
Build & Install
# cd bison-2.5.1
# ./configure
# make
# make install
[BCM7231] parse iwlist (0) | 2013.11.07 |
---|---|
[BCM7231] WIFI usage (with wireless_toos and wpa-supplicant) (0) | 2013.11.05 |