Subject: Re: error building tk
To: None <hume.smith@dess.tallships.istar.ca>
From: Brad Salai <bsalai@law.roc.servtech.com>
List: netbsd-help
Date: 11/15/1997 18:32:53
Well, that didn't do it, but I found -fpic in the makefile, and changed it to -fPIC and am trying again.
Brad
> >Trying to make tcl/tk out of the package system was going well until here:
> >ld: Global Offset Table overflow (use `-fPIC')
> >ld: tkCanvPs.o: GOT overflow for relocation at 0x8c0
> >Adding -fPIC to the ld options produced invalid command option '-fPIC'
>
> you need to add -fPIC to the CFLAGS fed to gcc (and - groan - recompile all the .o). i'm surprised ./configure --enable-shared didn't do that.
>
> --
> Hume dot Smith at Dess dot Tallships dot IStar dot CA
> <URL:http://dess.tallships.istar.ca/%7Ehclsmith/>
>
> So what's so special about "head over heels", anyway?
>
>