gnome-pim compile failure: is this a bug in gnome-pim or glib?



I'm the maintainer (well, adopter) of gnome-pim for Debian, and have thus
far been unable to even compile version 1.4.0. It comes down to this error:

gcc -shared  GnomeCal-common.lo GnomeCal-stubs.lo calendar-conduit.lo calobj.lo alarm.lo calendar.lo timeutil.lo -Wl,--whole-archive ../libversit/.libs/libversit.al -Wl,--no-whole-archive  -lpisock -L/usr/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl -lc  -Wl,-soname -Wl,libcalendar_conduit.so.0 -o .libs/libcalendar_conduit.so.0.0.0
alarm.lo: In function `g_bit_nth_lsf':
/home/hosehead/src/gnome-pim/gnome-pim-1.4.0/gncal/alarm.c(.text+0x0): multiple definition of `g_bit_nth_lsf'
calobj.lo(.text+0x0):/home/hosehead/src/gnome-pim/gnome-pim-1.4.0/gncal/calobj.c: first defined here
alarm.lo: In function `g_bit_nth_msf':
/usr/include/glib-1.2/glib.h(.text+0x2c): multiple definition of `g_bit_nth_msf'calobj.lo(.text+0x2c):/usr/include/glib-1.2/glib.h: first defined here
alarm.lo: In function `g_bit_storage':
/usr/include/glib-1.2/glib.h(.text+0x60): multiple definition of `g_bit_storage'calobj.lo(.text+0x60):/usr/include/glib-1.2/glib.h: first defined here
collect2: ld returned 1 exit status

(You can find more information at bugs.debian.org/93226)

Something is wrong with glib, specifically with respect to 'inline' vs
'static inline'. 

Please note that we're using gcc 2.95.4 20010319 (A debian prerelease);
this could have something to do with it.

Please CC: me on any replies, I'm not subscribed to this list.

Joe




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]