[gnome-bluetooth] compile problems with libbtctl-0.4.1

Stefan Zechmeister stefan.zechmeister at gmx.at
Fri Jul 30 16:05:55 BST 2004


same problem here like philip maciver already reported!
this happens on fedora core 1 with gtk updated to 2.4 and 
the bluez libs at version bluez-libs 2.8 and bluez-utils 2.7.

any hints?

thanks
stefan

> Hi I'm getting the following error when trying to compile libbtctl
>
>========================================================================
>gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -I../intl -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
>-INONE/include -I/usr/local/include/pygtk-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
>-I/usr/include/python2.2 -I/usr/local/include -DDATA_DIR=\"/usr/local/share/libbtctl\" -DGETTEXT_PACKAGE=\"libbtctl\" -g
>-O2 -MT btctl-py.lo -MD -MP -MF .deps/btctl-py.Tpo -c btctl-py.c  -fPIC -DPIC -o .libs/btctl-py.o
>btctl.c:203: error: `freefunc' undeclared here (not in a function)
>btctl.c:203: error: initializer element is not constant
>btctl.c:203: error: (near initialization for `PyBtctlController_Type.tp_free')
>btctl.c:203: error: parse error before numeric constant
>btctl.c:318: error: initializer element is not constant
>btctl.c:318: error: (near initialization for `PyBtctlObex_Type.tp_free')
>btctl.c:318: error: parse error before numeric constant
>btctl.c:442: error: initializer element is not constant
>btctl.c:442: error: (near initialization for `PyBtctlObexClient_Type.tp_free')
>btctl.c:442: error: parse error before numeric constant
>make[3]: *** [btctl-py.lo] Error 1
>make[3]: Leaving directory `/home/pmaciver/bluetooth/libbtctl-0.4.1/src'
>make[2]: *** [all] Error 2
>make[2]: Leaving directory `/home/pmaciver/bluetooth/libbtctl-0.4.1/src'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/pmaciver/bluetooth/libbtctl-0.4.1'
>make: *** [all] Error 2
>========================================================================




More information about the gnome-bluetooth mailing list