[tkined] compiling scotty on solaris8-tcl/tk 8.4.1

Marco Horner Marco.Horner at gmx.de
Sat Nov 30 13:28:17 CET 2002


Hi to all,

after working with scotty on solaris7 i decided to upgrade my system to
solaris8.

Because of working with expect i've upgraded my tcl/tk- versions to
8.4.1.

Now my question:

Has anybody compiled scotty for solaris8 and tcl/tk 8.4.1??

Which version will work??


My errorcodes are the following:

1)scotty-2.1.11:

after typing make:

gcc -c -O  -fPIC  -I. -I./../tnm/generic -I/usr/local/include
./../tnm/generic/tnmSunRpc.c
./../tnm/generic/tnmSunRpc.c: In function `SunrpcError':
./../tnm/generic/tnmSunRpc.c:186: warning: initialization discards
qualifiers from pointer target type
./../tnm/generic/tnmSunRpc.c: In function `SunrpcProbe':
./../tnm/generic/tnmSunRpc.c:836: warning: assignment discards
qualifiers from pointer target type
gcc -c -O  -fPIC  -I. -I./../tnm/generic -I/usr/local/include
./../tnm/generic/tnmNtp.c
./../tnm/generic/tnmNtp.c:35: conflicting types for `ipaddr_t'
/usr/include/netinet/in.h:74: previous declaration of `ipaddr_t'
./../tnm/generic/tnmNtp.c: In function `NtpSplit':
./../tnm/generic/tnmNtp.c:366: warning: assignment discards qualifiers
from pointer target type
./../tnm/generic/tnmNtp.c:380: warning: assignment discards qualifiers
from pointer target type
*** Error code 1
make: Fatal error: Command failed for target `tnmNtp.o'




2) scotty-00-02-21 (with quick and dirty patching: searching for tcl/tk
8.2 in the configure-script to tcl/tk 8.4; i think scotty is designed
for 8.2, but i tried this ;-))

it compiles to the end with many warnings, e.g.
warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer
type
...


after typing make install, there is the following error:
...
Installing ./../tnm/mibs/TUBS-IBR-TNM-COMPAT
initialization failed: couldn't load file
"/usr/local/pkg/lib/tnm3.0.0.so": ld.so.1: ./scotty: fatal: relocation
error: file /usr/local/pkg/lib/tnm3.0.0.so: symbol TclpCreateDirectory:
referenced symbol not found
*** Error code 1
make: Fatal error: Command failed for target `tnm-install-mibs'

The file is at the right place.

##########################
Thank you for answering

Best regards

Marco







More information about the Tkined mailing list