On my Solaris box w/ Sun cc, I did this after xmkmf -a

perl -i.bak -pe 's/PICFLAGS\s*=.*/PICFLAGS = -KPIC/' `find . -name Makefile`

(some sub Makefiles hardwired -fPIC for cc, which doesn't work, and this
 catches that as well)

you'll need to do a 
        make clean
        make
        

On 17 Dec, Jean-Pierre.Chretien wrote:
> 
> Hello,
> 
> It's a bit off topic, but I get this:
> 
> ld: fatal: too many symbols require `small' PIC references:
>       have 2424, maximum 2048 -- recompile some modules -K PIC.
> 
> Thanks for a hint.
> 

Reply via email to