! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
build failure with ld --no-ad-needed
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2009-11-04 22:35:25 CET
Created attachment 2654 
fix  build failure with ld --no-add-needed

Hi,

a Debian user reported that exo didn't built with a quite pedantic ld, using
--no-add-needed by default. I wanted to try other xfce components, and
xfdesktop didn't built either, but just needed a small fix which I'm attaching.

Cheers,
Comment 1 Brian J. Tarricone (not reading bugmail) 2009-11-05 00:58:18 CET
That's not going to work for pre X11R7 servers.  Use XDT_LIBX11_REQUIRE or whatever it is.
Comment 2 Yves-Alexis Perez editbugs 2009-11-05 07:41:38 CET
Created attachment 2655 
fix build failure with binutils-gold

Updated to use XDT_CHECK_LIBX11_REQUIRE()
Comment 3 Yves-Alexis Perez editbugs 2009-11-05 07:48:18 CET
Created attachment 2656 
fix failure with --add-needed (binutils-gold)

Uh, sorry, the previous one was against exo. This is the correct one.
Comment 4 Lionel Le Folgoc 2010-10-25 20:00:48 CEST
*** Bug 6235 has been marked as a duplicate of this bug. ***
Comment 5 Jérôme Guelfucci editbugs 2011-03-29 21:39:05 CEST
This is fixed in git master.

Bug #5952

Reported by:
Yves-Alexis Perez
Reported on: 2009-11-04
Last modified on: 2011-03-29
Duplicates (1):
  • 6235 xfdesktop indirectly links to libX11

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
2 users

Version

Attachments

fix build failure with ld --no-add-needed (1.19 KB, text/plain)
2009-11-04 22:35 CET , Yves-Alexis Perez
no flags
fix build failure with binutils-gold (2.46 KB, patch)
2009-11-05 07:41 CET , Yves-Alexis Perez
no flags
fix failure with --add-needed (binutils-gold) (1.19 KB, patch)
2009-11-05 07:48 CET , Yves-Alexis Perez
no flags

Additional information