Everything compiles fine except the file "src/tk/html/htmltcl.c
What am I missing? Here is the error message:

Compiling htmltcl.c                       [-Wall -g -DUSE_DOUBLE_BUFFERING]
htmltcl.c: In function ‘configureCmd’:
htmltcl.c:1402:9: error: ‘HTML_DEFAULT_CSS’ undeclared (first use in this
function)
htmltcl.c:1402:9: note: each undeclared identifier is reported only once
for each function it appears in
htmltcl.c: In function ‘handlerCmd’:
htmltcl.c:2164:18: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
htmltcl.c:2169:18: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
htmltcl.c: In function ‘htmlstyleCmd’:
htmltcl.c:2794:27: error: ‘HTML_DEFAULT_CSS’ undeclared (first use in this
function)
htmltcl.c:2794:5: warning: passing argument 2 of ‘Tcl_SetResult’ from
incompatible pointer type [enabled by default]
/usr/include/tcl8.5/tclDecls.h:1392:14: note: expected ‘char *’ but
argument is of type ‘struct Tk_OptionSpec *’
htmltcl.c:2796:34: error: ‘HTML_DEFAULT_QUIRKS’ undeclared (first use in
this function)
htmltcl.c: In function ‘htmlVersionCmd’:
htmltcl.c:2829:27: error: ‘HTML_SOURCE_FILES’ undeclared (first use in this
function)
htmltcl.c:2829:5: warning: passing argument 2 of ‘Tcl_SetResult’ from
incompatible pointer type [enabled by default]
/usr/include/tcl8.5/tclDecls.h:1392:14: note: expected ‘char *’ but
argument is of type ‘struct Tk_OptionSpec *’
htmltcl.c: In function ‘Tkhtml_Init’:
htmltcl.c:2999:29: error: ‘HTML_DEFAULT_TCL’ undeclared (first use in this
function)
htmltcl.c:2999:5: warning: passing argument 2 of ‘Tcl_EvalEx’ from
incompatible pointer type [enabled by default]
/usr/include/tcl8.5/tclDecls.h:1744:13: note: expected ‘const char *’ but
argument is of type ‘struct Tk_OptionSpec *’
make[2]: *** [htmltcl.o] Error 1
make[1]: *** [recursive] Error 1
make: *** [all] Error 2

Reply via email to