Fix linking with "ld --no-add-needed"

Bug #698205 reported by Michael Bienia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Indicator Display Objects
Fix Released
Medium
Cody Russell
ido (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

From http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/ido_0.1.14-0ubuntu1_lubuntu32.buildlog:

make[3]: Entering directory `/build/user-ido_0.1.14-0ubuntu1-i386-SPjWY3/ido-0.1.14/example'
  CC messagedialog-messagedialog.o
  LINK messagedialog
/usr/bin/ld: messagedialog-messagedialog.o: undefined reference to symbol 'gtk_init'
/usr/bin/ld: note: 'gtk_init' is defined in DSO /usr/lib/libgtk-x11-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgtk-x11-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [messagedialog] Error 1

Related branches

Revision history for this message
Michael Bienia (geser) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ido - 0.1.14-0ubuntu2

---------------
ido (0.1.14-0ubuntu2) natty; urgency=low

  * debian/patches/01_fix-add-needed-linking.patch:
    Fix linking of the examples with "ld --add-needed" (lp: #698205)
 -- Michael Bienia <email address hidden> Thu, 06 Jan 2011 18:39:43 +0100

Changed in ido (Ubuntu):
status: New → Fix Released
Revision history for this message
Michael Bienia (geser) wrote :

As I can't make an upstream branch to get those merged, here is diff with them.

summary: - Fix linking with "ld --add-needed"
+ Fix linking with "ld --no-add-needed"
Cody Russell (bratsche)
Changed in ido:
assignee: nobody → Cody Russell (bratsche)
importance: Undecided → Medium
status: New → Fix Committed
Cody Russell (bratsche)
Changed in ido:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.