When trying to build STk-3.0b2 on my sparc 2 running SunOS4.1.3 using gcc-2.6.3
the build fails with the following error:
gcc -O2 -DSTK_VERSION=\"3.0b2\" -DMACHINE=\"SunOS-4.1.X-sun4\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSUNOS4 -DHAVE_PIXMAP=1 -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -I. -I../Tk -I../Tcl -I../Mp -I/usr/X11R6/include -c tcl-lib.c -o tcl-lib.o
tcl-lib.c: In function `Tcl_SetVar':
tcl-lib.c:198: `STk_STRINGIFY' undeclared (first use this function)
tcl-lib.c:198: (Each undeclared identifier is reported only once
tcl-lib.c:198: for each function it appears in.)
tcl-lib.c: At top level:
tcl-lib.c:290: parse error before `Tcl_CreateCommand'
tcl-lib.c:291: conflicting types for `Tcl_CreateCommand'
/usr/X11R6/include/tcl.h:486: previous declaration of `Tcl_CreateCommand'
tcl-lib.c: In function `Tcl_CreateCommand':
tcl-lib.c:360: `Tcl_Command' undeclared (first use this function)
tcl-lib.c:360: parse error before `W'
tcl-lib.c: In function `Tcl_GetCommandName':
tcl-lib.c:385: parse error before `Tcl_Command'
make[1]: *** [tcl-lib.o] Error 1
make[1]: Leaving directory `/vol3/src/TclTk/STk/STk-3.0/Src'
make: *** [src] Error 2
Any hints?
Thanks in advance,
--
------------------------------------------------------------------------------
Mr Andrew Dorrell
School of Electrical Engineering *
University of Technology, Sydney *
PO Box 123 *
Broadway NSW 2007 .
AUSTRALIA
* /---\ Whoo?
Phone: 61 2 330 2395 (o o) /
Fax: 61 2 330 2435 ( : )
email: andrewd_at_ee.uts.edu.au ^ ^
OR dorrell_at_ihf.uts.edu.au
------------------------------------------------------------------------------
Received on Wed Jan 24 1996 - 06:00:17 CET