[Foresight-devel] Re: Xfce/xfdesktop
Jonathan Smith
smithj at foresightlinux.org
Sat Feb 9 05:44:59 EST 2008
Mark Trompell wrote:
> Hi,
> since last upgrade of pixman, xfdesktop (and Thunar) are broken (or at
> least keeping pixmap from upgrading.
> Rebuilding xfdesktop now gives me:
> "/usr/bin/ld: .libs/xfce4_desktop_menu_la-desktop-menu-dentry.o:
> relocation R_X86 _64_PC32 against `desktop_menuspec_path_free' can not
> be used when making a shar ed object; recompile with -fPIC
> /usr/bin/ld: final link failed: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [xfce4_desktop_menu.la] Error 1
> "
> so it looks like I should use -fPIC to build at least if the suggestion
> is right.
> How do I tell conary to use -fPic on x86_64 in the recipe?
if it is telling you to use -fPIC on 64 bit, it should be used on 32 bit
as well.
simply add this line to the recipe, before any compilation is done:
r.macros.cflags += ' -fPIC'
smithj
More information about the Foresight-devel
mailing list