<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=287344415-19122002>Just
to follow up on my own posting... The problems stems from the fact that the Qt
code was compiled without the -fPIC option and as a result, the
libqassistantclient.a static library contained code that was not position
independent and the linker was unable to include it in the libqtcmodule.so
shared library. Once I rebuilt Qt with the -fPIC option to the QMAKE_CFLAGS
field of mkspecs/default/qmake.conf, PyQt built and seems to run just
fine...</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=287344415-19122002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=287344415-19122002>-
Peter</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=287344415-19122002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Peter Kropf
[mailto:pkropf@legato.com] <BR><B>Sent:</B> Thursday, December 12, 2002 1:01
PM<BR><B>To:</B> PyQT Mailing List (pykde@mats.gmd.de)<BR><B>Subject:</B>
[PyKDE] PyQt 3.5 build problems<BR><BR></FONT></DIV>
<P><FONT size=2>I'm having trouble building the latest PyQt on Solaris 5.8.
I'm using Qt 3.1.1, SIP 3.5 and PyQt 3.5. The problem looks to be on the
linking of libqtcmodule.so. The linker gives an error message as:</FONT></P>
<P><FONT size=2> ld: fatal: relocations remain against allocatable but
non-writable sections</FONT> <BR><FONT size=2> collect2: ld returned 1
exit status</FONT> </P>
<P><FONT size=2>I've attached the trace from make. Has anyone else encountered
any problems like this? </FONT></P>
<P><FONT size=2>Thanks!</FONT> </P>
<P><FONT size=2>- Peter</FONT> </P></BLOCKQUOTE></BODY></HTML>