>>>>> Ilia Bunin writes:
Ilia> Hello! I have AIX 4.2, Tcl 8.0.4, Scotty 2.1.10. The product
Ilia> compiled through tcl2c loads tnm2.1.10.so to send snmp traps.
Ilia> This works perfectly on Solaris, but the same configuration has
Ilia> problems with AIX. I configure Tcl with --disable-shared
Ilia> --enable-static, also --enable-shared, for configure of scotty
Ilia> it doesn't matter, its Makefile doesn't change (with
Ilia> enable-shared)
The scotty package assumes that dynamic loadings works. So you have to
use --enable-shared I think. I am not familiar with AIX - but from
what I have heard, AIX dynamic loading is really strange (to say it
nicely).
Ilia> When running even the sources through tclsh (without compiling)
Ilia> after tnm2.1.10.so has been loaded, there is tclsh error: no
Ilia> value given for parameter snmp when calling proc ..., while this
Ilia> proc doesn't have parameters at all. It cold be connected to
Ilia> init.tcl, because I used another init.tcl from other platform,
Ilia> and got : no value given for parameter ~global? (or something
Ilia> else) when calling proc ...
Ilia> There was a workaround written in porting.notes about AIX, it
Ilia> says to add -bnoentry to SHLIB_LD, for Aix loader, but in Tcl
Ilia> 8.0.4 it is there already
Ilia> Additional strange behaviour of scotty - after every puts it
Ilia> adds a line "file" and after exit it writes : Usage - history
Ilia> file
Ilia> Could you please advise about this matter.
There is little I can do since I have the luck to have no access to
AIX. (And I do not plan to change this. ;-) You really need help from
an AIX guru who understands how dynamic loading works on AIX.
/js
-- Juergen Schoenwaelder Technical University Braunschweig <schoenw@ibr.cs.tu-bs.de> Dept. Operating Systems & Computer Networks Phone: +49 531 391 3289 Bueltenweg 74/75, 38106 Braunschweig, Germany Fax: +49 531 391 5936 <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>-- !! 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.
This archive was generated by hypermail 2b29 : Thu Jan 03 2002 - 14:56:26 MET