[kde-solaris] Compiling KDE 3.2.2 on Solaris, link error

Damien Uern morpheus_2606 at internode.on.net
Fri May 28 09:42:49 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 28 May 2004 04:25 am, Alex Stade wrote:
> On Thursday 27 May 2004 08:42 am, Damien Uern wrote:
> > read somewhere on this list that it might be caused by sed on Solaris 8,
> > but I just upgraded to the latest GNU sed and still get the problem. I
> > get warnings from the sed in perl  (5.6.0) though e.g.
>
> There is a problem with /bin/sed truncating output, for which you can
> use /usr/xpg4/bin/sed. You should not have to use GNU sed for this.
>
> > bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g"
> > doctreeprojectconfigwidgetbase.cpp.temp | /home/uern0001/bin/perl -pe
> > "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /home/uern0001/bin/perl -pe
> > "s,image([0-9][0-9]*)_data,img\$1_doctreeprojectconfigwidgetbase,g" >>
> > doctreeprojectconfigwidgetbase.cpp ;\
> > rm -f doctreeprojectconfigwidgetbase.cpp.temp ;\
> > if test "$ret" = 0; then echo '#include
> > "doctreeprojectconfigwidgetbase.moc"'
> >
> > >> doctreeprojectconfigwidgetbase.cpp; else rm -f
> >
> > doctreeprojectconfigwidgetbase.cpp ; exit $ret ; fi
> > Substitution pattern not terminated at -e line 1.
> > Substitution pattern not terminated at -e line 1.
>
> Not sure why you get that.
>

This is the part that actually seems to be my problem. I upgraded our perl 
from 5.6.0 to 5.8.4 and I don't get those warnings anymore. I also don't get 
the weird linking errors. So looks like I'll be able to get the rest of KDE 
installed!! *crosses fingers* (I'm building atm, Kdevelop still bombs, but 
not with linking errors) :)

I will probably have to recompile the whole lot again but with a newer libpng, 
and with freetype support and stuff so I can get decent looking icons/fonts. 

Thanks for your help,

Damien

> > Anyway here is the linking error:
> >
> >
> > /bin/bash ../../libtool --silent --mode=link --tag=CXX g++
> > -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
> > -Wwrite-strings -O2 -I/data/socusers/apps/kde/include
> > -I/usr/X11R6/include -L/data/socusers/apps/kde/lib -L/usr/X11R6/lib -O2
> > -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
> > -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
> > -L/data/socusers/apps/kde/lib -L/usr/X11R6/lib -o kdevelop-htdig
> > -L/data/socusers/apps/kde/lib  -R /data/socusers/apps/kde/lib
> > -R /data/socusers/apps/kde/lib htdigindex.o ../../lib/libkdevelop.la
> > -lkio -lkdeui
> > ld: warning:
> > file
> > /opt/apps/pkgs/gcc3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/../../../l
> >ib stdc++.so: linked to /opt/apps/pkgs/gcc3.2.1/lib/libstdc++.so:
> > attempted multiple inclusion of file
> > Undefined                       first referenced
> >  symbol                             in file
> > RemoveSubprojectDlgBase::~RemoveSubprojectDlgBase [in-charge deleting]
> > ()../../lib/.libs/libkdevelop.so
> > non-virtual thunk [nv:-40] to
> > RemoveSubprojectDlgBase::~RemoveSubprojectDlgBase [in-charge deleting]
> > ()../../lib/.libs/libkdevelop.so
> > SubclassesDlgBase::currentRelationChanged(QListBoxItem*)
> > ../../lib/.libs/libkdevelop.so
> > RemoveSubprojectDlgBase::~RemoveSubprojectDlgBase [in-charge]
> > ()../../lib/.libs/libkdevelop.so
> > non-virtual thunk [nv:-40] to
> > RemoveSubprojectDlgBase::~RemoveSubprojectDlgBase [in-charge]
> > ()../../lib/.libs/libkdevelop.so
> > MakeOptionsWidgetBase::languageChange()     
> > ../../lib/.libs/libkdevelop.so non-virtual thunk [nv:-40] to
> > EnvironmentVariablesWidgetBase::~EnvironmentVariablesWidgetBase
> > [in-charge deleting]()../../lib/.libs/libkdevelop.so
> > non-virtual thunk [nv:-40] to RunOptionsWidgetBase::~RunOptionsWidgetBase
> > [in-charge]()../../lib/.libs/libkdevelop.so
> > non-virtual thunk [nv:-40] to
> > EnvironmentVariablesWidgetBase::~EnvironmentVariablesWidgetBase
> > [in-charge] ()../../lib/.libs/libkdevelop.so
> > RunOptionsWidgetBase::browseMainProgram()
> > ../../lib/.libs/libkdevelop.so non-virtual thunk [nv:-40] to
> > RunOptionsWidgetBase::~RunOptionsWidgetBase [in-charge
> > deleting]()../../lib/.libs/libkdevelop.so
> > EnvironmentVariablesWidgetBase::EnvironmentVariablesWidgetBase[not-in-cha
> >rg e] (QWidget*, char const*, unsigned)../../lib/.libs/libkdevelop.so
> > SubclassesDlgBase::SubclassesDlgBase[not-in-charge](QWidget*, char
> > const*, bool, unsigned)../../lib/.libs/libkdevelop.so
> > SubclassesDlgBase::newRelation()      ../../lib/.libs/libkdevelop.so
> > EnvironmentVariablesWidgetBase::editVarClicked()
> > ../../lib/.libs/libkdevelop.so
> > EnvironmentVariablesWidgetBase::languageChange()
> > ../../lib/.libs/libkdevelop.so
> > RunOptionsWidgetBase::directoryRadioChanged()
> > ../../lib/.libs/libkdevelop.so RemoveSubprojectDlgBase::languageChange()
> >   ../../lib/.libs/libkdevelop.so non-virtual thunk [nv:-40] to
> > MakeOptionsWidgetBase::~MakeOptionsWidgetBase [in-charge
> > deleting]()../../lib/.libs/libkdevelop.so
> > non-virtual thunk [nv:-40] to SubclassesDlgBase::~SubclassesDlgBase
> > [in-charge deleting]()../../lib/.libs/libkdevelop.so
> > non-virtual thunk [nv:-40] to
> > MakeOptionsWidgetBase::~MakeOptionsWidgetBase
> > [in-charge]()../../lib/.libs/libkdevelop.so
> > non-virtual thunk [nv:-40] to SubclassesDlgBase::~SubclassesDlgBase
> > [in-charge]()../../lib/.libs/libkdevelop.so
> > SubclassesDlgBase::changeCurrentURL(QString
> > const&) ../../lib/.libs/libkdevelop.so
> > SubclassesDlgBase::removeRelation()      ../../lib/.libs/libkdevelop.so
> > SubclassesDlgBase::~SubclassesDlgBase [in-charge]
> > ()../../lib/.libs/libkdevelop.so
> > MakeOptionsWidgetBase::~MakeOptionsWidgetBase [not-in-charge]
> > ()../../lib/.libs/libkdevelop.so
> > EnvironmentVariablesWidgetBase::~EnvironmentVariablesWidgetBase
> > [not-in-charge]()../../lib/.libs/libkdevelop.so
> > SubclassesDlgBase::~SubclassesDlgBase [in-charge deleting]
> > ()../../lib/.libs/libkdevelop.so
> > MakeOptionsWidgetBase::~MakeOptionsWidgetBase [in-charge]
> > ()../../lib/.libs/libkdevelop.so
> > EnvironmentVariablesWidgetBase::~EnvironmentVariablesWidgetBase
> > [in-charge] ()../../lib/.libs/libkdevelop.so
> > RunOptionsWidgetBase::~RunOptionsWidgetBase [not-in-charge]
> > ()../../lib/.libs/libkdevelop.so
> > MakeOptionsWidgetBase::MakeOptionsWidgetBase[not-in-charge](QWidget*,
> > char const*, unsigned)../../lib/.libs/libkdevelop.so
> > RemoveSubprojectDlgBase::accept()     ../../lib/.libs/libkdevelop.so
> > MakeOptionsWidgetBase::~MakeOptionsWidgetBase [in-charge deleting]
> > ()../../lib/.libs/libkdevelop.so
> > EnvironmentVariablesWidgetBase::~EnvironmentVariablesWidgetBase
> > [in-charge deleting]()../../lib/.libs/libkdevelop.so
> > RunOptionsWidgetBase::~RunOptionsWidgetBase [in-charge]
> > ()../../lib/.libs/libkdevelop.so
> > SubclassesDlgBase::~SubclassesDlgBase [not-in-charge]
> > ()../../lib/.libs/libkdevelop.so
> > RunOptionsWidgetBase::~RunOptionsWidgetBase [in-charge deleting]
> > ()../../lib/.libs/libkdevelop.so
> > RemoveSubprojectDlgBase::RemoveSubprojectDlgBase[not-in-charge](QWidget*,
> > char const*, bool, unsigned)../../lib/.libs/libkdevelop.so
> > RunOptionsWidgetBase::RunOptionsWidgetBase[not-in-charge](QWidget*, char
> > const*, unsigned)../../lib/.libs/libkdevelop.so
> > RunOptionsWidgetBase::browseCustomDirectory()
> > ../../lib/.libs/libkdevelop.so RunOptionsWidgetBase::languageChange()
> > ../../lib/.libs/libkdevelop.so
> > RemoveSubprojectDlgBase::~RemoveSubprojectDlgBase [not-in-charge]
> > ()../../lib/.libs/libkdevelop.so
> > EnvironmentVariablesWidgetBase::removeVarClicked()
> > ../../lib/.libs/libkdevelop.so RemoveSubprojectDlgBase::reject()
> > ../../lib/.libs/libkdevelop.so
> > EnvironmentVariablesWidgetBase::addVarClicked()
> > ../../lib/.libs/libkdevelop.so SubclassesDlgBase::languageChange()
> > ../../lib/.libs/libkdevelop.so ld: fatal: Symbol referencing errors. No
> > output written
> > to .libs/kdevelop-htdig
> > collect2: ld returned 1 exit status
>
> Change your parts/doctreeview/Makefile;
>
> kdevelop_htdig_LDADD = $(top_builddir)/lib/libkdevelop.la $(LIB_KIO)
> $(LIB_KDEUI)
>
> to;
>
> kdevelop_htdig_LDADD = $(top_builddir)/lib/libkdevelop.la $(LIB_KIO)
> $(LIB_KDEUI) $top_builddir)/lib/project/libkdevproject.la
>
> Try again after that...

- -- 
 Bender: Grab a shovel. I'm only one skull short of a Mousketeer reunion.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAtu17XHT3QsqXjYQRAvMdAJ9RNsdBIGdq1SzQHcBkC3h8WJ+dpQCg9IQ3
b05ACXcwiISXsz65Db6NnT8=
=24ZT
-----END PGP SIGNATURE-----


More information about the kde-solaris mailing list