[kde-solaris] Issues compiling KDELIBS 3.2.3 using GCC 3.3.3 on Solaris 8 x86

ken mays maybird1776 at yahoo.com
Thu Aug 26 09:00:44 CEST 2004


I'm sorry if I am trying to contact all of you, but I was waiting for several months for a straight answer between the KDE developers and the community (even Sun) on this basic question in which all past answers (pre-KDE 3.2.x) 
don't work on Solaris 8 x86. So I first wanted to address the expert developers in libkthml and GCC on why I am seeing a specific error. The rest of kdelibs-3.2.3 seems to compile fine. I have only seen 'relocation' errors when building the libkhtml.la file.
 
This is the failure reported on Solaris 8 x86 (fully patched) using GCC 3.3.3 to compile and KDELIBS 3.2.3 using Sun's 'as' and 'ld' binaries (assembler and linker):
 
This same code compiles **CLEANLY** on Solaris 8 SPARC using GCC 3.3.3 to compile KDELIBS 3.2.3 using Sun's ld and as binaries.
 
Note: When I removed '-rpath {directory}' from the string, the code will compile cleanly to create libkhtml.la' file. But, I could not find any accurate updated information to get this code to compile cleanly on Solaris 8 x86 using GCC 3.3.x/3.4.1 otherwise.
 
gmake[1]: Entering directory `/export/medusa/kenmays/build/kdelibs-3.2.3/khtml'
/bin/bash ../libtool --silent --mode=link --tag=CXX g++  -gstabs+ -fpermissive -
fpic -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-
strings -O2 -O3 -mcpu=i486 -march=i486 -mfpmath=387 -fPIC -fno-exceptions -fno-c
heck-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_N
O_COMPAT -DQT_NO_TRANSLATION    -o libkhtml.la -rpath /opt/csw/kde-gcc/lib -vers
ion-info 6:0:2 -no-undefined   -L/opt/csw/kde-gcc/lib -L/opt/csw/kde-gcc/lib  kh
tmlview.lo khtml_part.lo khtml_run.lo khtml_factory.lo khtml_settings.lo khtml_e
vents.lo khtml_ext.lo khtml_pagecache.lo khtml_iface.lo khtml_printsettings.lo k
htmlimage.lo khtml_iface_skel.lo kjserrordlg.lo htmlpageinfo.lo ./xml/libkhtmlxm
l.la ./html/libkhtmlhtml.la ./rendering/libkhtmlrender.la ./css/libkhtmlcss.la .
/misc/libkhtmlmisc.la ecma/libkjs_html.la ./dom/libkhtmldom.la  ../kparts/libkpa
rts.la ../kdeprint/libkdeprint.la ../kutils/libkutils.la ../kwallet/client/libkw
alletclient.la
ld: warning: file /export/medusa/kenmays/build/kdelibs-3.2.3/kparts/.libs/libkpa
rts.so: linked to ../kparts/.libs/libkparts.so: attempted multiple inclusion of
file
ld: fatal: relocation error: R_386_GOTOFF: file .libs/libkhtml.lax/libkhtmlxml.a
/dom_docimpl.o: symbol getAttrName(unsigned short): relocation must bind locally
collect2: ld returned 1 exit status
gmake[1]: *** [libkhtml.la] Error 1
gmake[1]: Leaving directory `/export/medusa/kenmays/build/kdelibs-3.2.3/khtml'
gmake: *** [all-recursive] Error 1
bash-2.03$
 
---> I am willing to dedicate some time and resources to fixing this problem on Solaris x86 with both GCC and/or KDE 3.2.3 (and even KDE 3.3.0 -if needed) if someone
else is willing to assist me on what will fix this issue (the official way).
 
Ken Mays
 

		
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-solaris/attachments/20040826/1f4c7e66/attachment.html


More information about the kde-solaris mailing list