Problems compiling scooty on Linux and HP-UX

Ingo Fiß (fiss@informatik.uni-bremen.de)
Thu, 15 May 1997 08:27:07 +0200

Hi,

i have some problems compiling scotty and tkined on S.U.S.E-Linux 2.xx(PC)
and HP-UX 9.?(Apollo).
The compiler on linux-PC reports this :
_____
WS612:/scotty-2.1.5/unix # make
cc -c -O -PIC -I. -I./../tnm/generic -I/usr/include/tcl
-DTNMLIB=\"/usr/lib/tnm2.1.5\" ./../tnm/generic/tnmInit.c
cc: unrecognized option `-PIC'
In file included from ./../tnm/generic/tnmInit.c:14:
../tnm/generic/tnmInt.h:40: parse error before `*'
./../tnm/generic/tnmInit.c: In function `InitVars':
./../tnm/generic/tnmInit.c:65: warning: passing arg 4 of `Tcl_SetVar2' makes
pointer from integer without a cast
./../tnm/generic/tnmInit.c: In function InitRc':
./../tnm/generic/tnmInit.c:164: warning: assignment makes pointer from
integer without a cast
./../tnm/generic/tnmInit.c:169: warning: assignment makes pointer from
integer without a cast
./../tnm/generic/tnmInit.c:177: warning: assignment makes pointer from
integer without a cast
./../tnm/generic/tnmInit.c:219: warning: assignment makes pointer from
integer without a cast
./../tnm/generic/tnmInit.c:224: `Tcl_Channel' undeclared (first use this
function)
./../tnm/generic/tnmInit.c:224: (Each undeclared identifier is reported only
once
./../tnm/generic/tnmInit.c:224: for each function it appears in.)
./../tnm/generic/tnmInit.c:224: parse error before `channel'
./../tnm/generic/tnmInit.c:225: `channel' undeclared (first use this function)
make: *** [tnmInit.o] Error 1
WS612:/scotty-2.1.5/unix #
_____
On HP-UX the compiler told the same. Must i use a compiler switch ? I don't
know.
Pleas help.

Regards

Ingo Fiss

--
!! 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.