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

List:       kde-devel
Subject:    Issues compiling KDELIBS 3.2.3 using GCC 3.3.3 on Solaris 8 x86
From:       ken mays <maybird1776 () yahoo ! com>
Date:       2004-08-26 7:00:44
Message-ID: 20040826070044.74269.qmail () web41813 ! mail ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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!


[Attachment #5 (text/html)]

<DIV>I'm sorry if I am trying to contact all of you, but I was waiting \
for&nbsp;several months for a straight answer between the KDE developers and the \
community (even Sun) on this basic question in which all past&nbsp;answers (pre-KDE \
3.2.x) </DIV> <DIV>don't work on Solaris 8 x86. So I first wanted to address the \
expert developers&nbsp;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.</DIV> <DIV>&nbsp;</DIV>
<DIV>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):</DIV> <DIV>&nbsp;</DIV>
<DIV>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.</DIV> <DIV>&nbsp;</DIV>
<DIV>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.</DIV> <DIV>&nbsp;</DIV>
<DIV>gmake[1]: Entering directory \
`/export/medusa/kenmays/build/kdelibs-3.2.3/khtml'<BR>/bin/bash ../libtool --silent \
--mode=link --tag=CXX g++&nbsp; -gstabs+ -fpermissive -<BR>fpic -Wnon-virtual-dtor \
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-<BR>strings -O2 -O3 \
-mcpu=i486 -march=i486 -mfpmath=387 -fPIC -fno-exceptions -fno-c<BR>heck-new \
-fno-common&nbsp; -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL \
-DQT_N<BR>O_COMPAT -DQT_NO_TRANSLATION&nbsp;&nbsp;&nbsp; -o libkhtml.la -rpath \
/opt/csw/kde-gcc/lib -vers<BR>ion-info 6:0:2 -no-undefined&nbsp;&nbsp; \
-L/opt/csw/kde-gcc/lib -L/opt/csw/kde-gcc/lib&nbsp; kh<BR>tmlview.lo khtml_part.lo \
khtml_run.lo khtml_factory.lo khtml_settings.lo khtml_e<BR>vents.lo khtml_ext.lo \
khtml_pagecache.lo khtml_iface.lo khtml_printsettings.lo k<BR>htmlimage.lo \
khtml_iface_skel.lo kjserrordlg.lo htmlpageinfo.lo ./xml/libkhtmlxm<BR>l.la \
./html/libkhtmlhtml.la ./rendering/libkhtmlrender.la ./css/libkhtmlcss.la \
.<BR>/misc/libkhtmlmisc.la  ecma/libkjs_html.la ./dom/libkhtmldom.la&nbsp; \
../kparts/libkpa<BR>rts.la ../kdeprint/libkdeprint.la ../kutils/libkutils.la \
../kwallet/client/libkw<BR>alletclient.la<BR>ld: warning: file \
/export/medusa/kenmays/build/kdelibs-3.2.3/kparts/.libs/libkpa<BR>rts.so: linked to \
../kparts/.libs/libkparts.so: attempted multiple inclusion of<BR>file<BR>ld: fatal: \
relocation error: R_386_GOTOFF: file \
.libs/libkhtml.lax/libkhtmlxml.a<BR>/dom_docimpl.o: symbol getAttrName(unsigned \
short): relocation must bind locally</DIV> <DIV>collect2: ld returned 1 exit \
status<BR>gmake[1]: *** [libkhtml.la] Error 1<BR>gmake[1]: Leaving directory \
`/export/medusa/kenmays/build/kdelibs-3.2.3/khtml'<BR>gmake: *** [all-recursive] \
Error 1<BR>bash-2.03$</DIV> <DIV>&nbsp;</DIV>
<DIV>---&gt; 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</DIV> <DIV>else is willing to assist me on what will fix this issue (the \
official way).</DIV> <DIV>&nbsp;</DIV>
<DIV>Ken Mays</DIV>
<DIV>&nbsp;</DIV><p>
		<hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/50x/*http://promotions.yahoo.com/new_mail/static/efficiency.html">Yahoo! \
Mail</a> - 50x more storage than other providers!



>> Visit http://mail.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