[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Bug#17565: kdelibs doesn't link libkdecore.la.closure
From:       Donnie Cranford <kde-solaris () mediaone ! net>
Date:       2000-12-22 4:58:21
[Download RAW message or body]

Mathias,

The problem that I have seen is that res_init is calling a function that
doesnt exist in Solaris 8. IF you can grab the source for ksock.cpp for
KDE 2.0.1 and do a diff it will show you where the res_init changes were.
I simply deleted these changes and all compiled well after that.
I have emailed Zogje abou the problem and we are working on a fix. 

On 22 Dec 2000 mathias@atoll-net.de wrote:

> Package: kdelibs
> Version: 2.1beta
> Severity: normal
> Installed from: 
> 
> The output from make:
> 
> make[3]: Entering directory `/raid/kde2.1beta_source/kdelibs-2.1-beta1/kdecore'
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../libltdl/ -I../dcop -I../kdecore -I../kdeui \
> -I../kssl -I/usr/local/qt2/include -I/usr/openwin/include \
> -I/raid/kde2.1beta1/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS \
> -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith \
> -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -frtti \
> -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c libkdecore_la_closure.cpp \
>                 -fPIC -DPIC -o .libs/libkdecore_la_closure.o
> libtool: link: warning: `-version-info' is ignored for programs
> g++ -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith \
> -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -frtti \
> -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o \
> .libs/libkdecore.la.closure .libs/libkdecore_la_closure.o .libs/libintl.o \
> .libs/kdebug.o .libs/kstddirs.o .libs/kconfigbase.o .libs/kstyle.o \
> .libs/kglobalaccel.o .libs/netwm.o .libs/kconfig.o .libs/ksimpleconfig.o \
> .libs/kdesktopfile.o .libs/kconfigbackend.o .libs/kapp.o .libs/kuniqueapp.o \
> .libs/ksock.o .libs/kprocess.o .libs/kprocctrl.o .libs/klocale.o .libs/krfcdate.o \
> .libs/fakes.o .libs/kiconeffect.o .libs/kicontheme.o .libs/kiconloader.o \
>                 .libs/kstdaccel.o .libs/kwin.o
> .libs/kwinmodule.o .libs/krootprop.o .libs/kcharsets.o .libs/kpixmap.o \
> .libs/kckey.o .libs/kaccel.o .libs/kcrash.o .libs/kurl.o .libs/kregexp.o \
> .libs/kglobal.o .libs/kglobalsettings.o .libs/dmalloc.o .libs/kallocator.o \
> .libs/vsnprintf.o .libs/kmimesourcefactory.o .libs/kinstance.o .libs/kpalette.o \
> .libs/kipc.o .libs/klibloader.o .libs/ktempfile.o .libs/ksavefile.o \
> .libs/krandomsequence.o .libs/kstringhandler.o .libs/kcompletion.o \
> .libs/kcmdlineargs.o .libs/kaboutdata.o .libs/kcompletionbase.o \
> .libs/knotifyclient.o .libs/kaudioplayer.o .libs/kdestyle.o \
> .libs/kdcoppropertyproxy.o .libs/kpixmapprovider.o .libs/kurldrag.o \
> .libs/kpixmapsplitter.o .libs/libkdecore_la_meta_unload.o  -L/usr/local/qt2/lib \
> -L/usr/openwin/lib ../libltdl/.libs/libltdlc.a -ldl ../dcop/.libs/libDCOP.so \
> -L/raid/kde2.1beta1/lib -lqt -lpng -lz /usr/local/lib/libjpeg.so -lXext -lX11 \
> -lsocket -lnsl -lSM -lICE -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 \
> -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib -l!
!
> stdc++ -lm -lgcc -Wl,-R -Wl,/raid/kde2.1beta1/lib -Wl,-R -Wl,/usr/local/lib
> Undefined                       first referenced
> symbol                             in file
> res_init                            .libs/ksock.o  (symbol belongs to implicit \
>                 dependency /usr/lib/libresolv.so.2)
> ld: fatal: Symbol referencing errors. No output written to \
>                 .libs/libkdecore.la.closure
> collect2: ld returned 1 exit status
> 
> I'm using Solaris 8 and qt 2.2.3 (compiled from the sources with gcc 2.95.2)
> 
> I've found a problem which looks a bit similar in bug 
> #7972 - but this bug was an older version of KDE and 
> the suggested patch doesn't solve my problem. 
> 
> The problem doesn't occur with KDE 2.0.1 and QT 2.2.2. 
> 
> Mathias
> 
> (submitted via bugs.kde.org)
> 
> 
> > > Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
> 

 
> > Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic