I am attempting to compile (version 2.4.2-32) MetaKit, which is included in (version 0.0.17) Simgear. (I am utilizing cygwin to create binaries on a PC.) The "../unix/configure" command appears to work fine. However, the "make" command creates the following error message:
g++ -c -O2 -I../unix/../include -I/usr/include ../unix/../tcl/mk4tcl.cpp -DDLL_ EXPORT -DPIC In file included from ../unix/../tcl/mk4tcl.cpp:22: ../unix/../tcl/stubtcl.h:3: syntax error before `*' ../unix/../tcl/stubtcl.h:4: syntax error before `*' ../unix/../tcl/stubtcl.h: In function `int MyInitStubs(Tcl_Interp *)': ../unix/../tcl/stubtcl.h:15: syntax error before `*' ../unix/../tcl/stubtcl.h:20: `struct MyInitStubs(Tcl_Interp *)::HeadOfInterp' ha s no member named `stubTable' ../unix/../tcl/stubtcl.h:20: `struct MyInitStubs(Tcl_Interp *)::HeadOfInterp' ha s no member named `stubTable' ../unix/../tcl/stubtcl.h:20: `TCL_STUB_MAGIC' undeclared (first use this functio n) ../unix/../tcl/stubtcl.h:20: (Each undeclared identifier is reported only once ../unix/../tcl/stubtcl.h:20: for each function it appears in.) ../unix/../tcl/stubtcl.h:26: `tclStubsPtr' undeclared (first use this function) ../unix/../tcl/stubtcl.h:26: `struct MyInitStubs(Tcl_Interp *)::HeadOfInterp' ha s no member named `stubTable' ../unix/../tcl/stubtcl.h:34: `tclPlatStubsPtr' undeclared (first use this functi on) ../unix/../tcl/mk4tcl.cpp: In function `struct Tcl_Obj * GetAsObj(const c4_RowRe f &, const c4_Property &, Tcl_Obj * = 0)': ../unix/../tcl/mk4tcl.cpp:347: implicit declaration of function `int Tcl_SetByte ArrayObj(...)' ../unix/../tcl/mk4tcl.cpp: In function `int SetAsObj(Tcl_Interp *, const c4_RowR ef &, const c4_Property &, Tcl_Obj *)': ../unix/../tcl/mk4tcl.cpp:401: implicit declaration of function `int Tcl_GetByte ArrayFromObj(...)' ../unix/../tcl/mk4tcl.cpp:401: initialization to `const t4_byte *' from `int' la cks a cast ../unix/../tcl/mk4tcl.cpp: In method `bool TclSelector::MatchOneString(int, cons t char *, const c4_String &)': ../unix/../tcl/mk4tcl.cpp:1261: implicit declaration of function `int Tcl_String CaseMatch(...)' ../unix/../tcl/mk4tcl.cpp:1261: warning: cannot pass objects of type `const c4_S tring' through `...' ../unix/../tcl/mk4tcl.cpp: In method `void TclSelector::ExactKeyProps(const c4_R owRef &)': ../unix/../tcl/mk4tcl.cpp:1324: conversion to `char *' from `const char *' disca rds qualifiers make: *** [mk4tcl.o] Error 1 Hoyt A. Fleming@HOYT'S_DESKTOP /usr/local/source/simgear/metakit/builds $ Does anyone know what I need to do to avoid the TCL errors? Thank you in advance (from a FlightGear newbee) for your help. Hoyt Fleming
<<attachment: winmail.dat>>