[Kde-perl] compiling PerlQt for Solaris 8 with gcc
Ashley Winters
jahqueel at yahoo.com
Wed Jul 6 03:44:07 CEST 2005
--- Bernie Hsiung <bernie at pico.apple.com> wrote:
> 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):
> 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?
My first idea is that the error comes from linking against the static
library libqt-mt.a. Do you have the shared library version of Qt to
link against? If so, could you attach the error from doing that?
Ashley
__________________________________
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
More information about the Kde-perl
mailing list