Ignacio Vazquez-Abrams
2001-Sep-02 10:59 UTC
[vorbis] ao-python 0.0.2 not building under latest libs
I decided to take a break from trying to get the encoding working in order to update my libraries to the latest versions I tried to build ao-python from both SRPM and tarball, and here's what I got: --- + python setup.py install --root=/var/tmp/pyao-buildroot --record=INSTALLED_FILES running install running build running build_ext building 'aomodule' extension creating build creating build/temp.linux-i686-1.5 creating build/temp.linux-i686-1.5/src gcc -g -O2 -fPIC -I /usr/local/include -I/usr/include/python1.5 -c src/aomodule.c -o build/temp.linux-i686-1.5/src/aomodule.o In file included from src/aomodule.c:1: src/aomodule.h:108:8: warning: extra tokens at end of #endif directive In file included from src/aomodule.c:1: src/aomodule.h:11: parse error before `ao_device_t' src/aomodule.h:11: warning: no semicolon at end of struct or union src/aomodule.h:12: warning: data definition has no type or storage class src/aomodule.h:16: parse error before `*' src/aomodule.h:16: warning: data definition has no type or storage class src/aomodule.h:19: parse error before `*' src/aomodule.c:3: parse error before `*' src/aomodule.c: In function `dict_to_options': src/aomodule.c:8: `ao_option_t' undeclared (first use in this function) src/aomodule.c:8: (Each undeclared identifier is reported only once src/aomodule.c:8: for each function it appears in.) src/aomodule.c:8: `head' undeclared (first use in this function) src/aomodule.c:8: invalid lvalue in assignment src/aomodule.c:9: parse error before `int' src/aomodule.c:23: `ret' undeclared (first use in this function) src/aomodule.c: In function `py_ao_new': src/aomodule.c:45: `ao_option_t' undeclared (first use in this function) src/aomodule.c:45: `c_options' undeclared (first use in this function) src/aomodule.c:46: `ao_device_t' undeclared (first use in this function) src/aomodule.c:46: `dev' undeclared (first use in this function) src/aomodule.c:47: `retobj' undeclared (first use in this function) src/aomodule.c:89: parse error before `)' src/aomodule.c:89: parse error before `)' src/aomodule.c: At top level: src/aomodule.c:95: parse error before `*' src/aomodule.c: In function `py_ao_dealloc': src/aomodule.c:97: `self' undeclared (first use in this function) src/aomodule.c: In function `py_ao_get_driver_info': src/aomodule.c:125: `ao_info_t' undeclared (first use in this function) src/aomodule.c:125: `info' undeclared (first use in this function) src/aomodule.c:126: parse error before `*' src/aomodule.c:131: `ao_self' undeclared (first use in this function) src/aomodule.c:131: parse error before `)' src/aomodule.c:160: `retdict' undeclared (first use in this function) src/aomodule.c: In function `py_ao_play': src/aomodule.c:179: `ao_self' undeclared (first use in this function) src/aomodule.c:179: parse error before `)' error: command 'gcc' failed with exit status 1 --- I did some editing and managed to get the one on src/aomodule.h:108, but I'm stumped on the others. Can anyone help? -- Ignacio Vazquez-Abrams <ignacio@openservices.net> --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Jack Moffitt
2001-Sep-02 11:02 UTC
[vorbis] ao-python 0.0.2 not building under latest libs
> I decided to take a break from trying to get the encoding working in order to > update my libraries to the latest versions I tried to build ao-python from > both SRPM and tarball, and here's what I got:You need cvs ao-python I think. It didn't get updated for the new api before the release. jack. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Apparently Analagous Threads
- libao patch: Minor clean up / Byte-order proposal
- ao patch (fwd)
- patch to add device-option to ogg123 rc file
- [kcarnold@xiph.org: [xiph-cvs] cvs commit: vorbis/vorbis-tools/libao ao_alsa.c ao_oss.c audio_out.c audio_out.h]
- ogg123: close_dsp_on_suspend and next_on_SIGUSR1 patches submission