I use the SVN-20090611 version of the LFS book and OpenSuSE 10.3 host
system. I cannot install Expect-5.43. When doing Configure all is OK, but
when making make gives error:
"gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\"
-DSCRIPTDIR=\"/tools/lib/expect5.43\"
-DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST
-DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" exp_main_exp.c
exp_main_exp.c:12:17: error: tcl.h: No such file or directory
In file included from expect_tcl.h:15,
from exp_main_exp.c:13:
expect_comm.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'char'
expect_comm.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
In file included from exp_main_exp.c:13:
expect_tcl.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
expect_tcl.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
expect_tcl.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'FILE'
expect_tcl.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'char'
expect_tcl.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
expect_tcl.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
expect_tcl.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
expect_tcl.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'Tcl_Interp'
expect_tcl.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
expect_tcl.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'void'
expect_tcl.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
expect_tcl.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
expect_tcl.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
expect_tcl.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'void'
expect_tcl.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'char'
expect_tcl.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'void'
expect_tcl.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'void'
expect_tcl.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'void'
expect_tcl.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'void'
exp_main_exp.c: In function 'main':
exp_main_exp.c:23: error: 'Tcl_Interp' undeclared (first use in this
function)
exp_main_exp.c:23: error: (Each undeclared identifier is reported only once
exp_main_exp.c:23: error: for each function it appears in.)
exp_main_exp.c:23: error: 'interp' undeclared (first use in this function)
exp_main_exp.c:26: error: 'TCL_ERROR' undeclared (first use in this
function)
exp_main_exp.c:28: warning: incompatible implicit declaration of built-in
function 'exit'
exp_main_exp.c:33: warning: incompatible implicit declaration of built-in
function 'exit'
exp_main_exp.c:39: error: 'exp_interactive' undeclared (first use in this
function)
exp_main_exp.c:40: error: 'Tcl_Obj' undeclared (first use in this function)
exp_main_exp.c:40: error: expected expression before ')' token
exp_main_exp.c:41: error: 'exp_cmdfile' undeclared (first use in this
function)
exp_main_exp.c:43: error: 'exp_cmdfilename' undeclared (first use in this
function)
make: *** [exp_main_exp.o] Error 1"
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page