patchGnome Chemistry Utils - Patches: patch #7677, 0.13.5 won't build with...


You are not allowed to post comments on this tracker with your current authentication level.

patch #7677: 0.13.5 won't build with LDFLAGS="-Wl,--no-undefined"

Submitted by:  Funda Wang <fundawang>
Submitted on:  Sun 27 Nov 2011 04:14:52 PM UTC  
Category:  None Priority:  6
Status:  Done Privacy:  Public
Assigned to:  Jean Bréfort <jean_brefort> Open/Closed:  Closed

Mon 28 Nov 2011 06:30:38 AM UTC, comment #5:

Fixed in trunk.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sun 27 Nov 2011 07:10:09 PM UTC, comment #4:

The two other patches are applied (not commited yet). I have no more gtk_ or gdk_ (except gdk_pixbuf) direct calls in gcu. Just gcu might still have gtk in its dependance due to goffice.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sun 27 Nov 2011 06:02:33 PM UTC, comment #3:

There are some other patches in the same place, maybe you should give a look also:

Fix build with latest glib.

Remove extra DESTDIR when installing pixmaps.

Funda Wang <fundawang>
Sun 27 Nov 2011 05:11:08 PM UTC, comment #2:

OK, seems I missed some calls. I'll removed them for next release. Thanks for reporting.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sun 27 Nov 2011 04:16:28 PM UTC, comment #1:

the dep on libgcu could be found at:

You will see:
.libs/application.o: In function `gcu::Application::RemoveDocument(gcu::Document*)':
/home/iurt/rpm/BUILD/gnome-chemistry-utils-0.13.5/libs/gcu/ undefined reference to `gtk_main_level'

So, gtk is still required for libgcu.

Funda Wang <fundawang>
Sun 27 Nov 2011 04:14:52 PM UTC, original submission:

I'm building gchemutils 0.13.5 with Mageia Cauldron. Due to old linking libs in multiple files, it builds failed when specifying LDFLAGS="-Wl,--no-undefined".

I've put the required patches here:

I know libgcu and libgcugtk is being splitted, but it seems that it has not been split finally, because libgcu still has dep on gdk. Since there is no such detection on gdk in, you may want to add this detection later.

Always try building with LDFLAGS="-Wl,--no-undefined", especially with shared libs.

Funda Wang <fundawang>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by fundawang (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-11-28 jean_brefort StatusNone => Done
        Assigned toNone => jean_brefort
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.3