ao-python build problems
A warning and an error in build:
building 'aomodule' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/include/python2.7 -c src/aomodule.c -o build/temp.linux-x86_64-2.7/src/aomodule.o src/aomodule.c: In function ‘dict_to_options’: src/aomodule.c:18:3: warning: passing argument 2 of ‘PyDict_Next’ from incompatible pointer type [enabled by default] /usr/include/python2.7/dictobject.h:114:17: note: expected ‘Py_ssize_t *’ but argument is of type ‘int *’
The above easily fixed by changing variable declaration.
src/aomodule.c: In function ‘py_ao_driver_info’: src/aomodule.c:188:39: error: dereferencing pointer to incomplete type
This one appears to be because ao_device is an opaque type in the public api, so its contents cannot be obtained directly. Attached patch has tentative solution.
error: command 'gcc' failed with exit status 1