After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 550892 - mlview 0.8.1 fails to link when --as-needed LDFLAG is set
mlview 0.8.1 fails to link when --as-needed LDFLAG is set
Status: RESOLVED FIXED
Product: mlview
Classification: Other
Component: General
0.8.x
Other Linux
: Normal normal
: ---
Assigned To: mlview maintainers
mlview maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-04 19:17 UTC by Patrizio Bassi
Modified: 2010-04-05 08:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Patrizio Bassi 2008-09-04 19:17:38 UTC
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=nocona -mtune=nocona
-fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wl,-O1
-Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both
-o .libs/mlviewctl -Wl,--export-dynamic mlviewctl.o mlview-dbus-cli.o 
-L/usr/lib64 /usr/lib64/libxslt.so -pthread /usr/lib64/libeel-2.so
/usr/lib64/libgnomeui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so
/usr/lib64/libgailutil.so /usr/lib64/libglade-2.0.so
/usr/lib64/libbonoboui-2.so /usr/lib64/libgnome-keyring.so
/usr/lib64/libgnomecanvas-2.so /usr/lib64/libgnome-2.so /usr/lib64/libpopt.so
/usr/lib64/libpangoft2-1.0.so /usr/lib64/libbonobo-2.so
/usr/lib64/libgnomevfs-2.so /usr/lib64/libbonobo-activation.so
/usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so
-lrt /usr/lib64/libgtksourceview-1.0.so /usr/lib64/libgtk-x11-2.0.so
/usr/lib64/libgnomeprint-2-2.so /usr/lib64/libgdk-x11-2.0.so
/usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so -lm
/usr/lib64/libpangocairo-1.0.so /usr/lib64/libcairo.so
/usr/lib64/libart_lgpl_2.so /usr/lib64/libxml2.so /usr/lib64/libpango-1.0.so
/usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl
/usr/lib64/libglib-2.0.so ./.libs/libmlviewdbusclient.so -lz
creating mlviewctl
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=nocona -mtune=nocona
-fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wl,-O1
-Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both
-o .libs/mlview -Wl,--export-dynamic main.o  -L/usr/lib64 -pthread
./.libs/libmlview.so recent-files/.libs/libeggrecent.a /usr/lib64/libxslt.so
/usr/lib64/libeel-2.so /usr/lib64/libgnome-menu.so /usr/lib64/libfam.so
/usr/lib64/libgnome-desktop-2.so /usr/lib64/libstartup-notification-1.so
/usr/lib64/libXext.so /usr/lib64/libgnomeui-2.so /usr/lib64/libjpeg.so
/usr/lib64/libgailutil.so /usr/lib64/libglade-2.0.so
/usr/lib64/libbonoboui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so
/usr/lib64/libgnome-keyring.so /usr/lib64/libgnomecanvas-2.so
/usr/lib64/libgnome-2.so /usr/lib64/libpopt.so /usr/lib64/libbonobo-2.so
/usr/lib64/libgnomevfs-2.so /usr/lib64/libdbus-glib-1.so
/usr/lib64/libdbus-1.so /usr/lib64/libgnutls.so /usr/lib64/libtasn1.so
/usr/lib64/libgcrypt.so -lnsl /usr/lib64/libgpg-error.so -lresolv -lselinux
-lutil /usr/lib64/libbonobo-activation.so /usr/lib64/libORBitCosNaming-2.so
/usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so
/usr/lib64/libgtksourceview-1.0.so /usr/lib64/libgtk-x11-2.0.so
/usr/lib64/libgnomeprint-2-2.so -lrt /usr/lib64/libgdk-x11-2.0.so
/usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so
/usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so
/usr/lib64/libcairo.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so
/usr/lib64/libdirectfb.so /usr/lib64/libfusion.so /usr/lib64/libdirect.so
-lpthread /usr/lib64/libglitz.so /usr/lib64/libpng12.so
/usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libXau.so
/usr/lib64/libXdmcp.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libxml2.so
/usr/lib64/libpango-1.0.so -lm /usr/lib64/libgobject-2.0.so
/usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so -lz
./.libs/libmlview.so: undefined reference to `eel_gconf_get_string'
./.libs/libmlview.so: undefined reference to `glade_xml_signal_connect_data'
./.libs/libmlview.so: undefined reference to `glade_xml_new'
./.libs/libmlview.so: undefined reference to
`gtk_source_view_set_show_line_numbers'
./.libs/libmlview.so: undefined reference to `xsltParseStylesheetDoc'
./.libs/libmlview.so: undefined reference to `gtk_source_view_set_tabs_width'
./.libs/libmlview.so: undefined reference to `xsltFreeStylesheet'
./.libs/libmlview.so: undefined reference to
`gtk_source_languages_manager_get_language_from_mime_type'
./.libs/libmlview.so: undefined reference to `gtk_source_view_set_auto_indent'
./.libs/libmlview.so: undefined reference to `xsltApplyStylesheet'
./.libs/libmlview.so: undefined reference to `gtk_source_buffer_set_language'
./.libs/libmlview.so: undefined reference to
`gtk_source_buffer_end_not_undoable_action'
./.libs/libmlview.so: undefined reference to `eel_gconf_get_integer'
./.libs/libmlview.so: undefined reference to `eel_gconf_client_get_global'
./.libs/libmlview.so: undefined reference to `eel_gconf_get_boolean'
./.libs/libmlview.so: undefined reference to `glade_xml_signal_autoconnect'
./.libs/libmlview.so: undefined reference to `gtk_source_buffer_get_type'
./.libs/libmlview.so: undefined reference to `gtk_source_buffer_undo'
./.libs/libmlview.so: undefined reference to `gtk_source_view_set_margin'
./.libs/libmlview.so: undefined reference to `gtk_source_buffer_set_highlight'
./.libs/libmlview.so: undefined reference to `glade_xml_get_widget'
./.libs/libmlview.so: undefined reference to `gtk_source_language_get_type'
./.libs/libmlview.so: undefined reference to `gtk_source_view_new'
./.libs/libmlview.so: undefined reference to `gtk_source_view_set_show_margin'
./.libs/libmlview.so: undefined reference to
`gtk_source_buffer_begin_not_undoable_action'
./.libs/libmlview.so: undefined reference to `gtk_source_buffer_can_undo'
./.libs/libmlview.so: undefined reference to `gtk_source_buffer_can_redo'
./.libs/libmlview.so: undefined reference to `gtk_source_buffer_redo'
./.libs/libmlview.so: undefined reference to `gtk_source_view_get_type'
./.libs/libmlview.so: undefined reference to `gtk_source_languages_manager_new'
collect2: ld returned 1 exit status
make[3]: *** [mlview] Error 1
make[3]: Leaving directory
`/mnt/Dati/Gentoo/tmp/portage/app-editors/mlview-0.8-r1/work/mlview-0.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/mnt/Dati/Gentoo/tmp/portage/app-editors/mlview-0.8-r1/work/mlview-0.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/mnt/Dati/Gentoo/tmp/portage/app-editors/mlview-0.8-r1/work/mlview-0.8'
make: *** [all] Error 2

!!! ERROR: app-editors/mlview-0.8-r1 failed.


all infos are in http://bugs.gentoo.org/show_bug.cgi?id=179819 as well

removing that LDFLAG fixes the issue
Comment 1 Patrizio Bassi 2010-04-05 08:58:11 UTC
this got fixed by new patch as mentioned in http://bugs.gentoo.org/show_bug.cgi?id=179819