[kde-solaris] Compiling kdelibs 3.03 on Solaris 8 Fails

James Tappin kde-solaris@mail.kde.org
Wed Oct 2 13:06:01 2002


On Wed, 2 Oct 2002 06:56:39 -0400 (EDT)
Tim Evans <tkevans@tkevans.com> wrote:

TE> Text relocation remains                         referenced
TE>     against symbol                  offset      in file
TE> <unknown>                           0x734      
TE> /usr/local/lib/libz.a(inflate.o)
TE> 
TE> [ lots of repetitive messages elided ]
TE> 
TE> strcpy                              0x1738     
TE> /usr/local/lib/libz.a(gzio.o) ld: fatal: relocations remain against
TE> allocatable but non-writable sections collect2: ld returned 1 exit
TE> status

Try to build a shared libz (or at least a libz compiled with -Fpic
option). The solaris linker is rather fussy about making shared libs
using static libraries).

James
-- 
+------------------------+-------------------------------+---------+
| James Tappin           | School of Physics & Astronomy |  O__    |
| sjt@star.sr.bham.ac.uk | University of Birmingham      | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722                  |         |
+--------------------------------------------------------+---------+