[vorbis] ao-python 0.0.2 not building under latest libs

Ignacio Vazquez-Abrams ignacio at openservices.net
Sun Sep 2 10:59:51 PDT 2001



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 at 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 at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis mailing list