Scotty-2.1.5 compile error...

Robert Adye (radye@synapse.net)
Fri, 08 Nov 1996 16:00:33 -0500

>I am attempting to compile on a BSDI 2.1 box. I used the same compiler
options for TK4.1p1 and Tcl7.5p1. Both Tk and Tcl >compiled without
problems. Any clues from the userbase.

>shlicc2 -c -O -I. -I./../tnm/generic -I/usr/local/include
-DTNMLIB=\"/usr/con
>trib/lib/tnm2.1.5\" ./../tnm/generic/tnmInit.c
>shlicc2 -c -O -I. -I./../tnm/generic -I/usr/local/include
./../tnm/generic/tn
>mUtil.c
>shlicc2 -c -O -I. -I./../tnm/generic -I/usr/local/include
./../tnm/generic/tn
>mJob.c
>shlicc2 -c -O -I. -I./../tnm/generic -I/usr/local/include
-DTKINEDLIB=\"/usr/
>contrib/lib/tkined1.4.5\" ./../tnm/generic/tnmIned.c
>shlicc2 -c -O -I. -I./../tnm/generic -I/usr/local/include
./../tnm/generic/tn
>mSyslog.c
>shlicc2 -c -O -I. -I./../tnm/generic -I/usr/local/include
./../tnm/generic/tn
>mIcmp.c
>shlicc2 -c -O -I. -I./../tnm/generic -I/usr/local/include
./../tnm/generic/tn
>mDns.c
>./../tnm/generic/tnmDns.c: In function `DnsInit':
>./../tnm/generic/tnmDns.c:160: `INADDR_LOOPBACK' undeclared (first use
this func
>tion)

Please disregard the above message. Someone sent me the patch Juergen put
out for FreeBSD users. The patch works for BSDI also. However there is a
new error listed below and I am novice enough to need help on this one.

ad1# make install
Making directory /usr/contrib/lib/tnm2.1.5
Installing scotty2.1.5 and tnm2.1.5.so
Making directory /usr/contrib/lib/tnm2.1.5/library
Installing ./../tnm/library/README
Installing ./../tnm/library/dialog.tcl
Installing ./../tnm/library/output.tcl
Installing ./../tnm/library/snmp.tcl
Installing ./../tnm/library/monitor.tcl
Installing ./../tnm/library/obsolete.tcl
Installing ./../tnm/library/init.tcl
initialization failed: couldn't load file "/usr/contrib/lib/tnm2.1.5.so":
can't
resolve undefined symbols: Inappropriate file type or format
*** Error code 1

Stop.

Cheers.........Robert

Robert Adye
Director Customer / Technical Support
Directeur des services a la clientele et de l'assistance technique
Synapse.net
Synapse Internet [Gatineau, Quebec, Canada]