Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129907 - gnash fails to start when compiled with --as-needed
Summary: gnash fails to start when compiled with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2006-04-14 00:58 UTC by Patrizio Bassi
Modified: 2006-05-11 03:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-04-14 00:58:23 UTC
gnash
gnash: symbol lookup error: /usr/lib/libgnashserver.so.0: undefined symbol: _ZN5gnash9color_newERKNS_7fn_callE

nothing to add , pretty clear.

blocks bug 129413
Comment 1 Patrizio Bassi 2006-04-16 02:40:32 UTC
it seems that as needed breaks whole application:

kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/kde3/libklashpart.so: undefined symbol: init_libklashpart
kdecore (KLibLoader): WARNING: La libreria libklashpart non offre una funzionalit
Comment 2 Patrizio Bassi 2006-04-16 02:40:32 UTC
it seems that as needed breaks whole application:

kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/kde3/libklashpart.so: undefined symbol: init_libklashpart
kdecore (KLibLoader): WARNING: La libreria libklashpart non offre una funzionalità init_libklashpart.
konqueror: WARNING: There was an error loading the module Klash, embedded Gnash player for KDE.
The diagnostics is:
La libreria libklashpart non offre una funzionalità init_libklashpart.
Comment 3 Patrizio Bassi 2006-05-11 03:33:11 UTC
0.7.1 has compile issues too.

/bin/sh ../../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++  -O3 -mtune=pentium3 -march=pentium3 -pipe
-fomit-frame-pointer -mmmx -msse -Wall -ljpeg -lpng -logg -lz -L/usr/lib -lxml2 -lz -lm -lSDL -lSDL_mixer -L/usr/lib
-lpthread -lkdeui -lkdecore -L/usr/kde/3.5/lib -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect
-Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort -o libklashpart.la -rpath /usr/lib/kde3 -avoid-version
-L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -R /usr/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib
klash_part.lo  -lSDL_mixer -lrt -lX11 -lXi -lXmu
i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../crti.o
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/crtbeginS.o  .libs/klash_part.o  -Wl,--rpath -Wl,/usr/lib -Wl,--rpath
-Wl,/usr/kde/3.5/lib -Wl,--rpath -Wl,/usr/qt/3/lib /usr/lib/libjpeg.so -lpng /usr/lib/libogg.so -L/usr/lib
/usr/lib/libxml2.so -lz /usr/lib/libSDL.so -lpthread /usr/kde/3.5/lib/libkdeui.so /usr/kde/3.5/lib/libkdecore.so
-L/usr/kde/3.5/lib -L/usr/qt/3/lib /usr/lib/libSDL_mixer.so -lrt /usr/lib/libX11.so /usr/lib/libXi.so
/usr/lib/libXmu.so -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.0
-L/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../.. /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/libstdc++.so -lm -lc -lgcc_s
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../crtn.o  -mtune=pentium3
-march=pentium3 -mmmx -msse -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed
-Wl,-hashvals -Wl,-zdynsort -Wl,-soname -Wl,libklashpart.so -o .libs/libklashpart.so
i686-pc-linux-gnu-ar cru .libs/libklashpart.a  klash_part.o
i686-pc-linux-gnu-ranlib .libs/libklashpart.a
creating libklashpart.la
(cd .libs && rm -f libklashpart.la && ln -s ../libklashpart.la libklashpart.la)
i686-pc-linux-gnu-g++ -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -Wall -Wl,-O1
-Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort -o .libs/klash
klash.o  -L/usr/lib -L/usr/kde/3.5/lib /usr/lib/libjpeg.so /usr/lib/libogg.so /usr/lib/libxml2.so -lm
/usr/lib/libSDL.so /usr/kde/3.5/lib/libkdeui.so /usr/kde/3.5/lib/libkdecore.so
../../backend/.libs/libgnashbackend.so ../../server/.libs/libgnashserver.so ../../server/.libs/libgnashasobjs.so
../../libgeometry/.libs/libgnashgeo.so ../../libbase/.libs/libgnashbase.so /usr/lib/libSDL_mixer.so
/usr/lib/libX11.so /usr/lib/libXi.so /usr/lib/libXmu.so -L/usr/qt/3/lib -L/usr/i686-pc-linux-gnu/bin
-L/usr/i686-pc-linux-gnu/lib -L/usr/lib/mysql -L/usr/X11R6/lib -lresolv -lutil -lpng -lpng12 -lrt -lz -lvga -lgpm
-lslang -lncurses -lpthread -ldl -Wl,--rpath -Wl,/usr/lib/opengl/xorg-x11/lib
klash.o: In function `__static_initialization_and_destruction_0(int, int)':klash.cpp:(.text+0x119): undefined
reference to `QMetaObjectCleanUp::QMetaObjectCleanUp(char const*, QMetaObject* (*)())'
klash.o: In function `EmbedWidget::qt_property(int, int, QVariant*)':klash.cpp:(.text+0x2c3): undefined reference to
`QGLWidget::qt_property(int, int, QVariant*)'
klash.o: In function `EmbedWidget::staticMetaObject()':klash.cpp:(.text+0x351): undefined reference to
`QGLWidget::staticMetaObject()'
:klash.cpp:(.text+0x3a9): undefined reference to `QMetaObject::new_metaobject(char const*, QMetaObject*, QMetaData
const*, int, QMetaData const*, int, QMetaProperty const*, int, QMetaEnum const*, int, QClassInfo const*, int)'
:klash.cpp:(.text+0x3c3): undefined reference to `QMetaObjectCleanUp::setMetaObject(QMetaObject*&)'
klash.o: In function `EmbedWidget::trUtf8(char const*, char const*)':klash.cpp:(.text+0x3d6): undefined reference to
`qApp'
:klash.cpp:(.text+0x40c): undefined reference to `QApplication::translate(char const*, char const*, char const*,
QApplication::Encoding) const'
:klash.cpp:(.text+0x431): undefined reference to `QString::fromUtf8(char const*, int)'
klash.o: In function `EmbedWidget::tr(char const*, char const*)':klash.cpp:(.text+0x456): undefined reference to
`qApp'
:klash.cpp:(.text+0x489): undefined reference to `QApplication::translate(char const*, char const*, char const*,
QApplication::Encoding) const'
:klash.cpp:(.text+0x4b1): undefined reference to `QString::fromLatin1(char const*, int)'
klash.o: In function `EmbedWidget::about()':klash.cpp:(.text+0x4ea): undefined reference to `QString::QString(char
const*)'
:klash.cpp:(.text+0x4fb): undefined reference to `QString::QString(char const*)'
:klash.cpp:(.text+0x50f): undefined reference to `QMessageBox::about(QWidget*, QString const&, QString const&)'
:klash.cpp:(.text+0x522): undefined reference to `QString::shared_null'
:klash.cpp:(.text+0x52c): undefined reference to `QStringData::deleteSelf()'
:klash.cpp:(.text+0x53f): undefined reference to `QString::shared_null'
:klash.cpp:(.text+0x549): undefined reference to `QStringData::deleteSelf()'
:klash.cpp:(.text+0x564): undefined reference to `QString::shared_null'
:klash.cpp:(.text+0x56e): undefined reference to `QStringData::deleteSelf()'
:klash.cpp:(.text+0x581): undefined reference to `QString::shared_null'
:klash.cpp:(.text+0x58b): undefined reference to `QStringData::deleteSelf()'
klash.o: In function `main':klash.cpp:(.text+0x609): undefined reference to `QApplication::QApplication(int&,
char**)'
:klash.cpp:(.text+0xf30): undefined reference to `QApplication::eventLoop()'
:klash.cpp:(.text+0xf47): undefined reference to `QEventLoop::processEvents(unsigned int, int)'
klash.o: In function `EmbedWidget::qt_invoke(int, QUObject*)':klash.cpp:(.text+0x13f3): undefined reference to
`QGLWidget::qt_invoke(int, QUObject*)'
:klash.cpp:(.text+0x14be): undefined reference to `QGLWidget::staticMetaObject()'
:klash.cpp:(.text+0x1516): undefined reference to `QMetaObject::new_metaobject(char const*, QMetaObject*, QMetaData
const*, int, QMetaData const*, int, QMetaProperty const*, int, QMetaEnum const*, int, QClassInfo const*, int)'
:klash.cpp:(.text+0x1530): undefined reference to `QMetaObjectCleanUp::setMetaObject(QMetaObject*&)'
klash.o: In function `EmbedWidget::explain(QString const&)':klash.cpp:(.text+0x1554): undefined reference to
`QString::QString(QString const&)'
:klash.cpp:(.text+0x1574): undefined reference to `QObject::activate_signal(int, QString)'
:klash.cpp:(.text+0x1587): undefined reference to `QString::shared_null'
:klash.cpp:(.text+0x1591): undefined reference to `QStringData::deleteSelf()'
:klash.cpp:(.text+0x15a1): undefined reference to `QGLWidget::staticMetaObject()'
:klash.cpp:(.text+0x15f9): undefined reference to `QMetaObject::new_metaobject(char const*, QMetaObject*, QMetaData
const*, int, QMetaData const*, int, QMetaProperty const*, int, QMetaEnum const*, int, QClassInfo const*, int)'
:klash.cpp:(.text+0x1613): undefined reference to `QMetaObjectCleanUp::setMetaObject(QMetaObject*&)'
:klash.cpp:(.text+0x1632): undefined reference to `QString::shared_null'
:klash.cpp:(.text+0x163c): undefined reference to `QStringData::dele

[cut]
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-11 03:55:25 UTC
I have a new as-needed patch to the ebuild that should fix this bug. Please try out