[kde-solaris] `allocatable but non-writable sections' in kdegraphics

Kilian A. Foth foth at informatik.uni-hamburg.de
Fri Aug 6 15:31:34 CEST 2004


Me again.

I'm still compiling KDE 3.3beta2 under Solaris8 vie 
konstruct-unstable. I managed to get kdepim to compile (see last
message) by addinf LDFLAGS=-liberty to its configure invocation.

Now I'm stuck in kdegraphics: 


make[5]: Entering directory `/export/scratch/source/konstruct/kde/kdegraphics/work/kdegraphics-3.2.92/kghostview'
/bin/bash ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -I/opt/pkg/kde3.3-beta2/include -I/opt/pkg/qt-3.3.1/include -I/usr/X11R6/include -L/opt/pkg/kde3.3-beta2/lib -L/opt/pkg/qt-3.3.1/lib -L/usr/X11R6/lib -I/opt/pkg/kde3.3-beta2/include -I/opt/pkg/qt-3.3.1/include -I/usr/X11R6/include -L/opt/pkg/kde3.3-beta2/lib -L/opt/pkg/qt-3.3.1/lib -L/usr/X11R6/lib -I/opt/include -L/opt/lib -O2 -pipe -L/opt/lib -I/opt/include -O2 -pipe -L/opt/lib -I/opt/include -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION   -L/opt/pkg/kde3.3-beta2/lib -L/usr/X11R6/lib -L/opt/pkg/qt-3.3.1/lib -L/opt/pkg/kde3.3-beta2/lib -L/usr/X11R6/lib -L/opt/pkg/qt-3.3.1/lib  -o libkghostviewlib.la -rpath /opt/pkg/kde3.3-beta2/lib -L/opt/pkg/qt-3.3.1/lib -L/opt/pkg/kde3.3-beta2/lib  ps.lo libkghostviewlib_la.all_cpp.lo  -lkio -lkparts -lkdeprint libdscparse.la 
Text relocation remains          referenced
    against symbol      offset    in file
<unknown>               0x2a4      .libs/libkghostviewlib_la.all_cpp.o
<unknown>               0x2a8      .libs/libkghostviewlib_la.all_cpp.o
<unknown>               0x2ac      .libs/libkghostviewlib_la.all_cpp.o
<unknown>               0x2b0      .libs/libkghostviewlib_la.all_cpp.o
<unknown>               0x2b4      .libs/libkghostviewlib_la.all_cpp.o
[10000 similar messages]
ceil    0x1fe3c   .libs/libkghostviewlib_la.all_cpp.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status

Previous messages here suggested two courses of action:

 - replacing `-z text' with `-z defs' in all Makefiles, configure
   scripts etc.

 - making sure the offending code was compiled with -fPIC.

The first didn't help; for the second: how can I tell what the
offending code is? What, really, is going on here?

-- 
Kilian Foth                                    Phone +49 40 42883-2518
AB NATS, FB Informatik                         Fax   +49 40 42883-2515
Universität Hamburg
Vogt-Kölln-Str. 30
22527 Hamburg


More information about the kde-solaris mailing list