> Syntax error. ...
> make: 1254-004 The error code from the last command is 252. the
> relevant code in the .c file is (starting at line 101)
>
> static char defaultLibraryDir[sizeof(TCL_LIBRARY)+200] =
> TCL_LIBRARY;
>
> /* * Directory in which to look for packages (each package is
> typically * installed as a subdirectory of this directory). The
> symbol is defined by * Makefile. */
>
I understand from this error that the compiler stumbles across this line
after TCL_PKG_PATH has been substituted:
> static char pkgPath[sizeof(TCL_PACKAGE_PATH)+200] =
> TCL_PACKAGE_PATH;
>
> /* * The following table is used to map from Unix locale strings to
> encoding * files. If HAVE_LANGINFO is defined, then this is a
> fallback table when the * result from nl_langinfo isn't a recognized
> encoding. Otherwise this is the * first list checked for a mapping
> from env encoding to Tcl encoding name. */
>
> typedef struct LocaleTable { const char *lang; const char *encoding;
> } LocaleTable;
>
> I am guessing that it is getting confused with the quotes and escaped
> quotes.
Maybe you get the wiser by inspecting the preprocessed source file. You
could add to the Makefile a make target which dumps that. I'm unfamiliar
with the AIX compiler; gcc lets you do that with the option "-E"
(instead of "-c"). Please consult the manual for your compiler.
Regardless, this:
But I have hardcoded the varibale values in the .c file and
> that did not fix the problem.
is a perplexing result.
Erik.
So generally confused and hoping
> someone can help. Regards
>
>
>
>
--
elns@ nl | Merge the left part of these two lines into one,
xs4all. | respecting a character's position in a line.