configure: error: flex missing yypop_buffer_state - upgrade to version 2.5.33 or later
I'm also reading that cwiid would have to be cross-compiled for Arm, and I don't know how to do that. Does anyone know where I can get Cwiid precompiled for angstrom?
Thanks--
CFLAGS += -I/usr/include/python2.7/ -I../libcwiid \
include it in the LDLIBS:
LDLIBS += -lpython -lcwiid -lbluetooth -ldl -lpthread
add it to the LDLIBS:
LDFLAGS += -L/usr/include/python2.7/ -L../libcwiid -rdynamic
And comment these lines out in ifdef PYTHON section:
# CFLAGS += -I/usr/include/python^[[?1034h2.7
# LDLIBS += -lpython^[[?1034h2.7
if I try and import cwiid from python, I get this error:
ImportError: libcwiid.so.1: cannot open shared object file: No such file or directory
But if I run
LD_PRELOAD=/usr/local/lib/libcwiid.so python wiimotetest.py
then it works. I've tried running ldconfig, I'm not sure how I can get the library properly installed, but this works as a workaround.