![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problems installing expect utilty | vikas027 | Shell Programming and Scripting | 5 | 07-06-2009 02:56 PM |
| Expect: Beginner help with spawn and expect | Vryali | Shell Programming and Scripting | 1 | 05-21-2009 12:51 PM |
| strange expect script behavior, or am i misunderstanding expect scripting? | v1k0d3n | Shell Programming and Scripting | 2 | 12-10-2008 04:31 PM |
| Expect and auto expect command | arun_v | Shell Programming and Scripting | 0 | 03-29-2006 07:31 AM |
| Installing expect | sounder123 | Shell Programming and Scripting | 1 | 10-26-2004 08:52 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Here is the error message!!
/export/home/tbnaadh/tcl/expect-5.43 $ make test
/opt/SUNWspro/WS6U2/bin/acc -c -I. -I. -I/qawac/home/tbnaadh/tcl/tcl8.5.7/generic -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/expor t/home/tbnaadh/tcl/usr/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/export/home/tbnaadh/tcl/usr/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" exp_command.c "/qawac/home/tbnaadh/tcl/tcl8.5.7/generic/tclInt.h", line 66: warning: typedef redeclared: ptrdiff_t "/qawac/home/tbnaadh/tcl/tcl8.5.7/generic/tclPort.h", line 27: cannot find include file: "tclUnixPort.h" "/qawac/home/tbnaadh/tcl/tcl8.5.7/generic/tclIntPlatDecls.h", line 98: syntax error before or at: * "/qawac/home/tbnaadh/tcl/tcl8.5.7/generic/tclIntPlatDecls.h", line 98: syntax error before or at: * "/qawac/home/tbnaadh/tcl/tcl8.5.7/generic/tclIntPlatDecls.h", line 98: warning: old-style declaration or incorrect type for: TclpRea ddir "/qawac/home/tbnaadh/tcl/tcl8.5.7/generic/tclIntPlatDecls.h", line 113: warning: dubious tag declaration: struct in_addr "/qawac/home/tbnaadh/tcl/tcl8.5.7/generic/tclIntPlatDecls.h", line 394: syntax error before or at: Tcl_DirEntry "/qawac/home/tbnaadh/tcl/tcl8.5.7/generic/tclIntPlatDecls.h", line 394: cannot recover from previous errors *** Error code 10 make: Fatal error: Command failed for target `exp_command.o' Last edited by anaga; 06-18-2009 at 12:11 PM.. |
|
||||
|
I downloaded the Expect from "http://expect.nist.gov/#unix.". I have the below said header file on my system.
/qawac/home/tbnaadh/tcl/tcl8.5.7/unix/tclUnixPort.h Why isn't make could not figure out this header file. ---------- Post updated at 11:09 AM ---------- Previous update was at 09:02 AM ---------- Now getting a different error. i have added the absolute path in tclPort.h file as shown below #if defined(__WIN32__) # include "tclWinPort.h" #else # include "/export/home/tbnaadh/tcl/tcl8.5.7/unix/tclUnixPort.h" #endif Now i am getting the below error while "make" /export/home/tbnaadh/tcl/expect-5.43 $ make /opt/SUNWspro/WS6U2/bin/acc -c -I. -I. -I/qawac/home/tbnaadh/tcl/tcl8.5.7/generic -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/expor t/home/tbnaadh/tcl/usr/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/export/home/tbnaadh/tcl/usr/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" exp_inter.c "exp_inter.c", line 294: undefined symbol: TCL_REG_BOSONLY "exp_inter.c", line 866: undefined symbol: TCL_REG_BOSONLY *** Error code 2 make: Fatal error: Command failed for target `exp_inter.o' |
|
||||
|
fpmurphy,
I dont have much experience. Can you pleae make me understandable by the above statement. What should I run @ command prompt? |
| Sponsored Links | ||
|
|