[Kde-perl] compiling PerlQt for Solaris 8 with gcc
Bernie Hsiung
bernie at pico.apple.com
Wed Jul 6 02:23:17 CEST 2005
Hello,
I've been trying to compile PerlQt 3.008 on Solaris 8 using gcc
3.3.2, based on Qt 3.3.4, and I've run into strange problem. I was
able to get the corresponding setup to compile on a Linux installation.
While compiling, I get errors that look like this (this portion is
the first one that produces errors):
/bin/bash ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-
virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-
arith -Wmissing-prototypes -Wwrite-strings -O2 -fno-exceptions -fno-
check-new -fno-common -L/tools/freeware/qt/qt-3.3.4/build/SunOS_5.8/
lib -L/tools/freeware/perlqt/perlqt-3.008/objs-SunOS_5.8/my.libs -o
libsmokeqt.la -rpath /tools/freeware/perlqt/perlqt-3.008/build/
SunOS_5.8/lib -version-info 3:1:2 -no-undefined -L/tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib -L/tools/freeware/perlqt/perlqt-3.008/
build/SunOS_5.8/lib -L/tools/freeware/perlqt/perlqt-3.008/objs-
SunOS_5.8/my.libs -I. -R /tools/freeware/perlqt/perlqt-3.008/build/
SunOS_5.8/lib -R /tools/freeware/qt/qt-3.3.4/build/SunOS_5.8/lib -R /
tools/freeware/perlqt/perlqt-3.008/objs-SunOS_5.8/my.libs
smokedata.lo x_1.lo x_2.lo x_3.lo x_4.lo x_5.lo x_6.lo x_7.lo x_8.lo
x_9.lo x_10.lo x_11.lo x_12.lo x_13.lo x_14.lo x_15.lo x_16.lo
x_17.lo x_18.lo x_19.lo x_20.lo -lqt-mt -ldl -ljpeg -lresolv -lpng -
lz -lm -lSM -lICE -lXext -lX11 -lsocket -lnsl -lSM -lICE -lrt -
lpthread -lGLU -lGL -lSM -lICE -L/usr/lib -R/usr/lib -lX11 -lXext -
lXmu -lXt -lXi -lsocket -lsocket -lnsl -lnsl -lm
Text relocation remains referenced
against symbol offset in file
<unknown> 0x48c .libs/libsmokeqt.lax/
libjpeg.a/jcparam.o
<unknown> 0x490 .libs/libsmokeqt.lax/
libjpeg.a/jcparam.o
<unknown> 0x494 .libs/libsmokeqt.lax/
libjpeg.a/jcparam.o
<unknown> 0x498 .libs/libsmokeqt.lax/
libjpeg.a/jcparam.o
...
[and so on, eventually becoming]
.div 0x10f4 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qclipboard_x11.o)
.div 0x568 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qcolor_x11.o)
.div 0x578 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qcolor_x11.o)
.div 0x588 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qcolor_x11.o)
.div 0xd04 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qcolor_x11.o)
.div 0xd2c /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qcolor_x11.o)
.div 0xd58 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qcolor_x11.o)
.div 0x244 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qpixmap_x11.o)
.div 0xdbc /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qpixmap_x11.o)
.div 0x1034 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qpixmap_x11.o)
.div 0x105c /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qpixmap_x11.o)
.div 0x116c /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qpixmap_x11.o)
.div 0x1194 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qpixmap_x11.o)
.div 0x1298 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qpixmap_x11.o)
.div 0x20d0 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qpixmap_x11.o)
.div 0x57c /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qpaintdevice_x11.o)
.div 0x5a8 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qpaintdevice_x11.o)
.div 0x3934 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qpainter_x11.o)
[and that sort of thing]
...
.div 0x90 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qcanvas.o)
.div 0xb8 /tools/freeware/qt/
qt-3.3.4/build/SunOS_5.8/lib/libqt-mt.a(qcanvas.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
make[3]: *** [libsmokeqt.la] Error 1
make[3]: Leaving directory `/tools/freeware/perlqt/perlqt-3.008/smoke/
qt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tools/freeware/perlqt/perlqt-3.008/smoke'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tools/freeware/perlqt/perlqt-3.008'
make: *** [all] Error 2
I've tried recompiling Qt and PerlQt with the -fpic / -fPIC options,
but there's no change in the errors. Any thoughts as to what I might
try next, or what I'm missing?
Thanks!
Bernie Hsiung
ECS System Administrator
Phone: 408-974-2089
Email: bernie at apple.com
More information about the Kde-perl
mailing list