[Bug 1161055] [NEW] gcc does not link properly under Linuxmint 14 but works correct under LMDE
Launchpad Bug Tracker
1161055 at bugs.launchpad.net
Tue Jan 27 15:57:57 UTC 2015
You have been subscribed to a public bug:
I tried the example from (under Linuxmint 14):
http://arbingersys.blogspot.de/2009/07/missing-gobject-tutorial-sample.html
I entered the compiler command as described:
gcc `pkg-config --libs gtk+-2.0` `pkg-config --cflags gtk+-2.0` maman-bar.c
I received a lot of errors "undefined references ..."
I tried the same under LMDE:
No error! Everything compiled!
Further investigation showed, that under Linuxmint 14
will comile correctly, if i modify the command to:
gcc maman-bar.c `pkg-config --libs gtk+-2.0` `pkg-config --cflags gtk+-2.0`.
Note that i moved the naming of the source-file closer to the command "gcc".
So it seems to be in issue with the Ubuntu-based Mint-version.
Please compare also to bug-report: #1056340
** Affects: gcc-defaults (Ubuntu)
Importance: Undecided
Status: New
** Tags: gcc linker
--
gcc does not link properly under Linuxmint 14 but works correct under LMDE
https://bugs.launchpad.net/bugs/1161055
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
More information about the foundations-bugs
mailing list