UPDATE: Compiling GTK/Perl with Perl 5.004 on Solaris

UPDATE: Compiling GTK/Perl with Perl 5.004 on Solaris

Post by Mohamed Hendaw » Thu, 03 Sep 1998 04:00:00



FYI:

Thanks to everyone who responded to this (Kenneth Albanowski, David
Monniaux, Greg Onufer).  I did successfully compile GTK/Perl 0.3 actually on
Solaris 2.51 with perl 5.004_04.  I had to recompile Perl with the
-fPIC option.  Once I did that, the Makefile generated for GTK/Perl
automatically contained -fPIC (without any hacking) and everything
worked fine.

-Moe

Quote:> I cannot compile GTK/Perl 0.2.04 on Solaris 2.51 with perl
5.004_04.  I get
> the following
> error:

> ld: fatal: too many symbols require "small" PIC references:
>     have 4543, maximum 2048 -- recompile some modules -K PIC.

> Any idea what this could mean?  I have tried this with all permutations of
> GTK/Perl 0.2.04 and 0.3 and GTK 1.0.5 and 1.1.1.

> One additional note:  I tried hacking the CCFLAGS in the Makefile
to include
> "-fpic".  I still get the same problem though.