> I have tried to install scotty-2.1.6 on a SPARCstation 20 with Solaris
> 2.5.1, Tcl/Tk 8.0 (dynamically linked) and mSQL 1.0.11 (statically linked):
>
> ./configure --enable-gcc --enable-msql
> gmake 'CFLAGS=-O2 -DHAVE_RPCENT' fails:
>
> There is a problem with 'libmsql.a':
>
> /usr/ccs/bin/ld -G -z text tnmInit.o tnmUtil.o tnmJob.o tnmIned.o tnmSyslog.o tnmIc
> [...]
> Text relocation remains referenced
> against symbol offset in file
> free 0x67c /usr/local/Minerva/lib/libmsql.a(libmsql.o)
> [...]
>
> ld: fatal: relocations remain against allocatable but non-writable sections
> gmake: *** [tnm.so] Error 1
This problem is solved by changing the following line in 'Makefile':
SHLIB_LD = /usr/ccs/bin/ld -G -z text
to
SHLIB_LD = /usr/ccs/bin/ld -G
Don't ask me why, a Solaris wizard has told me that!
If this is a general problem on Solaris (SPARC) machines, 'configure'
should take care of it.
-- André Heynatz http://www.informatik.uni-bremen.de/~tron/-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.