[Thunar-dev] Problems building new Thunar snapshot

Erik Harrison erikharrison at gmail.com
Wed Nov 9 22:44:26 CET 2005


On 11/9/05, Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> wrote:
> Erik Harrison wrote:
> >>Add
> >>
> >>#define _XOPEN_SOURCE 500
> >>
> >>to the top of tdb.c and check if that fixes the problem.
>
> Somehow my last mails don't show up on the mailinglist, so I CC you,
> just to be sure.

Ditto

>
> > Indeed, it does fix the problem building tdb. I should have done that myself.
> >
> > In file included from ../thunar-vfs/thunar-vfs-info.h:28,
> >                  from ../thunar-vfs/thunar-vfs.h:27,
> >                  from thunar-vfs-enum-types.c:6:
> > ../thunar-vfs/thunar-vfs-mime-info.h: In function `thunar_vfs_mime_info_ref':
> > ../thunar-vfs/thunar-vfs-mime-info.h:83: warning: implicit declaration
> > of function `exo_atomic_inc'
> > make[3]: *** [libthunar_vfs_1_la-thunar-vfs-enum-types.lo] Error 1
> > make[3]: Leaving directory `/home/erik/tmp/Thunar-0.1.3svn-r00136/thunar-vfs'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/home/erik/tmp/Thunar-0.1.3svn-r00136/thunar-vfs'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/erik/tmp/Thunar-0.1.3svn-r00136'
> > make: *** [all] Error 2
> >
> > Is my exo version out of date?
>
> I was wondering how you were able to build libexo, because it also uses
> G_INLINE_FUNC. Nevertheless, its outdated.

Alrighty there. Where should I pick up a newer version. I seem to have
misplaced my SVN checkout.

>
> >>>Building with --disable-debug bypasses all of that, and compilation
> >>>succeeds, but then I get a lot of linker errors.
> >>>
> >>>.libs/libthunar_vfs_1_la-thunar-vfs-job.o(.text+0x0): In function
> >>>`g_bit_nth_lsf':
> >>>/usr/include/glib-2.0/glib/gutils.h:247: multiple definition of `g_bit_nth_lsf'
> >>
> >>Meh. Somehow your compiler/linker combo doesn't handle extern inline
> >>functions properly. What versions of gcc/binutils do you use?
> >
> > binutils 2.15
> > GCC 3.4.3 and I also tried 3.3.4
>
> Hm, I have 3.4.2/2.15 here (though not 100% upstream versions). It even
> worked on Debian/testing (3.3.x/2.15 IIRC), so it's weird that it
> doesn't work for you. Can you send me your glibconfig.h?


Surely surely.

Attatched
>
> Benedikt
>


--
Erik

"If Beethoven had been killed in a plane crash at the age of 22, it
would have changed the history of music... and of aviation."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibconfig.h
Type: application/octet-stream
Size: 5231 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20051109/e47d7b53/attachment.obj>


More information about the Thunar-dev mailing list