problem with python binding?

Toby Smith thlsmith at iprimus.com.au
Thu May 20 23:01:35 PDT 2004


Hi,
I recently checked out dbus from cvs and it gives the
following error when compiling:

> pyrexc dbus_bindings.pyx
> /var/tmp/portage/dbus-cvs-0.21.99/work/dbus-cvs/python/dbus_bindings.pyx:412:56: C function declaration not allowed here
> make: [dbus_bindings.c] Error 1 (ignored)
> if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/include/python2.3  -DDBUS_API_SUBJECT_TO_CHANGE=1   -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT dbus_bindings.lo -MD -MP -MF ".deps/dbus_bindings.Tpo" \
>   -c -o dbus_bindings.lo `test -f 'dbus_bindings.c' || echo './'`dbus_bindings.c; \
> then mv -f ".deps/dbus_bindings.Tpo" ".deps/dbus_bindings.Plo"; \
> else rm -f ".deps/dbus_bindings.Tpo"; exit 1; \
> fi
> rm -f .libs/dbus_bindings.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.3 -DDBUS_API_SUBJECT_TO_CHANGE=1 -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT dbus_bindings.lo -MD -MP -MF .deps/dbus_bindings.Tpo -c ./dbus_bindings.c  -fPIC -DPIC -o dbus_bindings.o
> gcc: ./dbus_bindings.c: No such file or directory
> gcc: no input files
> make: *** [dbus_bindings.lo] Error 1

- Toby Smith




More information about the dbus mailing list