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:18:23
> >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?
>
>
It's especially surprising since this is from the pkg system, and the patches should make it build ok, no?
Anyway, I've made the change, and am rebuilding it now. Thanks for the suggestion.
Brad