D-Bus HEAD doesn't compile

Ralf Habacker ralf.habacker at freenet.de
Mon Jan 1 13:31:02 PST 2007


John (J5) Palmieri schrieb:
> This is related to the recent commits for the window port.  We need to
> be careful to make sure that CVS is dogfoodable after commits:
>
>   * dbus/dbus-sysdeps-unix.c: moved _dbus_atomic_inc/dec()
> from dbus/dbus-sysdeps.c, windows version of _dbus_atomic_inc/dec()
> is in dbus-sysdeps-win.c (not in this patch).
>
>
> ./.libs/libdbus-convenience.a  
> ./.libs/libdbus-convenience.a(dbus-sysdeps-unix.o): In function
> `_dbus_atomic_dec':
> /home/quinticent/devel/sugar-jhbuild/source/dbus/dbus/dbus-sysdeps-unix.c:1466: undefined reference to `atomic_exchange_and_add'
> ./.libs/libdbus-convenience.a(dbus-sysdeps-unix.o): In function
> `_dbus_atomic_inc':
> /home/quinticent/devel/sugar-jhbuild/source/dbus/dbus/dbus-sysdeps-unix.c:1443: undefined reference to `atomic_exchange_and_add'
> collect2: ld returned 1 exit status
> make[3]: *** [dbus-test] Error 1
> make[3]: Leaving directory
> `/home/quinticent/devel/sugar-jhbuild/source/dbus/dbus'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/quinticent/devel/sugar-jhbuild/source/dbus/dbus'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/quinticent/devel/sugar-jhbuild/source/dbus'
> make: *** [all] Error 2
>
> Please fix this in HEAD (make sure you compile with tests, checks and
> asserts and that you run make check before checking in. Cheers.
>
>   
I have moved the related function to dbus-sysdeps-unix.c Should be 
compilable now.

Ralf





More information about the dbus mailing list