I'm trying to build wncksync on Mandriva-2010.0 (since I need it as a dependency for netbook-launcher-efl).
During the make process I'm getting the following error:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_DISABLE_DEPRECATED -g -O2 -lm -MT libgiowncksync_la-gapplaunchhandlerdbus.lo -MD -MP -MF .deps/libgiowncksync_la-gapplaunchhandlerdbus.Tpo -c gapplaunchhandlerdbus.c -fPIC -DPIC -o .libs/libgiowncksync_la-gapplaunchhandlerdbus.o
gapplaunchhandlerdbus.c:36: error: expected ')' before '*' token
gapplaunchhandlerdbus.c: In function 'g_app_launch_handler_dbus_register_type':
gapplaunchhandlerdbus.c:46: error: 'launch_handler_iface_init' undeclared (first use in this function)
gapplaunchhandlerdbus.c:46: error: (Each undeclared identifier is reported only once
gapplaunchhandlerdbus.c:46: error: for each function it appears in.)
gapplaunchhandlerdbus.c:46: error: 'G_TYPE_DESKTOP_APP_INFO_LAUNCH_HANDLER' undeclared (first use in this function)
gapplaunchhandlerdbus.c: At top level:
gapplaunchhandlerdbus.c:99: error: expected ')' before '*' token
gapplaunchhandlerdbus.c:137: error: expected ')' before '*' token
gapplaunchhandlerdbus.c: In function 'g_app_launch_handler_dbus_register':
gapplaunchhandlerdbus.c:146: error: 'G_DESKTOP_APP_INFO_LAUNCH_HANDLER_EXTENSION_POINT_NAME' undeclared (first use in this function)
make[2]: *** [libgiowncksync_la-gapplaunchhandlerdbus.lo] Error 1
make[2]: Leaving directory `/home/ob/tmp/wncksync-0.2.8/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ob/tmp/wncksync-0.2.8'
make: *** [all] Error 2
Oliver
you need a patch glib also. See the gio patch included in trunk.