[Expect] Building expect on tru64 unix 5.1b
by Didier Godefroy other posts by this author
Jun 7 2008 4:04AM messages near this date
view in the new Beta List Site
[Expect] Calling Expect Script Using Exec in PHP
|
[Expect] SSH Win32 console application
Hello all,
I couldn't build expect on tru64 unix v5.1b.
Getting a lot of errors.
I installed the latest tcl before doing expect, so I have tcl 8.5.2
installed.
Can anyone help me get this fixed?
exp_main_exp.c: In function 'main':
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'
gcc -c -I. -I. -I/usr/local/tcl/tcl8.5.2/generic
-DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/usr/local/lib/expect5.43\"
-DEXECSCRIPTDIR=\"/usr/local/lib/expect5.43\" -DTCL_DEBUGGER
-DUSE_NON_CONST -DSTTY_BIN=\"/usr/local/bin/stty\" -mieee
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64
-DDFLT_STTY="\"sane\"" exp_command.c
In file included from exp_command.c:62:
/usr/local/tcl/tcl8.5.2/generic/tclInt.h:66: error: conflicting types for
'ptrdiff_t'
/usr/opt/TWWfsw/gcc402/bin/../lib/gcc/alpha-dec-osf5.1/4.0.2/include/sys/typ
es.h:84: error: previous declaration of 'ptrdiff_t' was here
In file included from /usr/local/tcl/tcl8.5.2/generic/tclInt.h:3836,
from exp_command.c:62:
/usr/local/tcl/tcl8.5.2/generic/tclPort.h:27:28: error: tclUnixPort.h: No
such file or directory
In file included from /usr/local/tcl/tcl8.5.2/generic/tclInt.h:3838,
from exp_command.c:62:
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:98: error: syntax error
before '*' token
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:98: error: syntax error
before '*' token
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:98: warning: data
definition has no type or storage class
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:113: warning: 'struct
in_addr' declared inside parameter list
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:113: warning: its scope is
only this definition or declaration, which is probably not what you want
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:388: error: syntax error
before 'Tcl_DirEntry'
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:388: warning: no semicolon
at end of struct or union
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:391: warning: 'struct
in_addr' declared inside parameter list
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:447: error: syntax error
before '}' token
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:447: warning: data
definition has no type or storage class
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:452: error: syntax error
before '*' token
/usr/local/tcl/tcl8.5.2/generic/tclIntPlatDecls.h:452: warning: data
definition has no type or storage class
In file included from exp_command.c:72:
exp_command.h:117: error: syntax error before 'WAIT_STATUS_TYPE'
exp_command.h:117: warning: no semicolon at end of struct or union
exp_command.h:183: error: syntax error before '}' token
exp_command.h:183: warning: data definition has no type or storage class
exp_command.h:197: error: syntax error before '*' token
exp_command.h:198: error: syntax error before '*' token
exp_command.h:199: error: syntax error before 'ExpState'
exp_command.h:200: error: syntax error before 'ExpState'
exp_command.h:243: error: syntax error before 'ExpState'
exp_command.h:243: warning: no semicolon at end of struct or union
exp_command.h:245: error: syntax error before '}' token
exp_command.h:274: error: syntax error before '*' token
exp_command.h:275: error: syntax error before '*' token
exp_command.h:309: error: syntax error before '*' token
exp_command.h:309: error: syntax error before 'ExpState'
exp_command.h:309: warning: data definition has no type or storage class
exp_command.h:310: error: syntax error before '*' token
exp_command.h:310: warning: data definition has no type or storage class
exp_command.h:311: error: syntax error before '*' token
exp_command.h:311: warning: data definition has no type or storage class
exp_command.h:312: error: syntax error before '*' token
exp_command.h:314: error: syntax error before '*' token
exp_command.h:314: warning: data definition has no type or storage class
exp_command.h:315: error: syntax error before '*' token
exp_command.h:315: warning: data definition has no type or storage class
exp_command.h:316: error: syntax error before '*' token
exp_command.h:316: warning: data definition has no type or storage class
exp_command.h:318: error: syntax error before '*' token
exp_command.h:319: error: syntax error before '*' token
exp_command.h:320: error: syntax error before '*' token
exp_command.h:321: error: syntax error before '*' token
exp_command.h:321: warning: data definition has no type or storage class
exp_command.h:322: error: syntax error before '*' token
exp_command.h:322: warning: data definition has no type or storage class
exp_command.h:325: error: syntax error before '*' token
exp_command.h:326: error: syntax error before '*' token
In file included from exp_command.c:73:
exp_log.h:41: error: syntax error before '*' token
exp_log.h:46: error: syntax error before '*' token
In file included from exp_command.c:74:
exp_event.h:3: error: syntax error before 'ExpState'
exp_event.h:4: error: syntax error before 'ExpState'
exp_event.h:10: error: syntax error before '*' token
exp_event.h:11: error: syntax error before '*' token
exp_event.h:12: error: syntax error before '*' token
exp_event.h:14: error: syntax error before '*' token
exp_event.h:15: error: syntax error before '*' token
exp_event.h:16: error: syntax error before '*' token
exp_event.h:17: error: syntax error before '*' token
exp_event.h:18: error: syntax error before '*' token
exp_command.c:132: error: syntax error before 'ExpState'
exp_command.c:132: warning: no semicolon at end of struct or union
exp_command.c:133: warning: data definition has no type or storage class
exp_command.c:134: error: syntax error before '*' token
exp_command.c:134: warning: data definition has no type or storage class
exp_command.c:135: error: syntax error before '*' token
exp_command.c:135: warning: data definition has no type or storage class
exp_command.c:140: error: syntax error before '}' token
exp_command.c:140: warning: data definition has no type or storage class
exp_command.c:179: error: conflicting types for 'expStateCurrent'
exp_command.h:310: error: previous declaration of 'expStateCurrent' was here
exp_command.c: In function 'expStateCurrent':
exp_command.c:189: warning: return from incompatible pointer type
exp_command.c: At top level:
exp_command.c:192: error: syntax error before '*' token
exp_command.c: In function 'expStateCheck':
exp_command.c:195: error: syntax error before 'ExpState'
exp_command.c:200: error: invalid type argument of '-> '
exp_command.c:201: error: invalid type argument of '-> '
exp_command.c:205: warning: return makes pointer from integer without a cast
exp_command.c: At top level:
exp_command.c:208: error: syntax error before '*' token
exp_command.c: In function 'expStateFromChannelName':
exp_command.c:216: error: 'esPtr' undeclared (first use in this function)
exp_command.c:216: error: (Each undeclared identifier is reported only once
exp_command.c:216: error: for each function it appears in.)
exp_command.c:222: error: 'tsdPtr' undeclared (first use in this function)
exp_command.c:222: error: syntax error before ')' token
exp_command.c:236: error: syntax error before ')' token
exp_command.c: At top level:
exp_command.c:244: error: syntax error before 'WAIT_STATUS_TYPE'
exp_command.c:244: warning: data definition has no type or storage class
exp_command.c:245: error: syntax error before '{' token
exp_command.c: In function 'exp_state_prep_for_invalidation':
exp_command.c:257: error: syntax error before 'ExpState'
exp_command.c:263: error: invalid type argument of '-> '
exp_command.c: At top level:
exp_command.c:306: error: syntax error before 'ExpState'
exp_command.c:306: warning: data definition has no type or storage class
exp_command.c:307: error: syntax error before '{' token
exp_command.c:311: warning: parameter names (without types) in function
declaration
exp_command.c:311: warning: data definition has no type or storage class
exp_command.c:312: error: syntax error before '}' token
exp_command.c:313: error: syntax error before '-> ' token
exp_command.c:313: error: conflicting types for 'expCloseOnExec'
expect_tcl.h:46: error: previous declaration of 'expCloseOnExec' was here
exp_command.c:313: warning: data definition has no type or storage class
exp_command.c:314: error: syntax error before '-> ' token
exp_command.c: In function 'exp_close':
exp_command.c:320: error: syntax error before 'ExpState'
exp_command.c:323: error: invalid type argument of '-> '
exp_command.c:327: error: invalid type argument of '-> '
exp_command.c:333: error: invalid type argument of '-> '
exp_command.c:341: error: invalid type argument of '-> '
exp_command.c:342: error: invalid type argument of '-> '
exp_command.c:342: error: invalid type argument of '-> '
exp_command.c:343: error: invalid type argument of '-> '
exp_command.c:343: error: invalid type argument of '-> '
exp_command.c:343: error: invalid type argument of '-> '
exp_command.c:345: error: invalid type argument of '-> '
exp_command.c:345: error: invalid type argument of '-> '
exp_command.c:351: error: invalid type argument of '-> '
exp_command.c:369: error: invalid type argument of '-> '
exp_command.c:370: error: invalid type argument of '-> '
exp_command.c:371: error: invalid type argument of '-> '
exp_command.c: At top level:
exp_command.c:386: error: syntax error before 'ExpState'
exp_command.c:386: warning: data definition has no type or storage class
exp_command.c:387: error: syntax error before '{' token
exp_command.c:394: error: syntax error before 'ExpState'
exp_command.c:394: warning: data definition has no type or storage class
exp_command.c:395: error: syntax error before '{' token
exp_command.c:403: error: syntax error before 'ExpState'
exp_command.c:403: warning: data definition has no type or storage class
exp_command.c:404: error: syntax error before '{' token
exp_command.c: In function 'expStdinoutGet':
exp_command.c:413: error: 'tsdPtr' undeclared (first use in this function)
exp_command.c:413: error: syntax error before ')' token
exp_command.c: At top level:
exp_command.c:418: error: syntax error before '*' token
exp_command.c: In function 'expDevttyGet':
exp_command.c:421: error: 'tsdPtr' undeclared (first use in this function)
exp_command.c:421: error: syntax error before ')' token
exp_command.c: In function 'exp_init_spawn_id_vars':
exp_command.c:430: error: 'tsdPtr' undeclared (first use in this function)
exp_command.c:430: error: syntax error before ')' token
exp_command.c: In function 'exp_init_spawn_ids':
exp_command.c:450: error: syntax error before 'any_placeholder'
exp_command.c:459: error: 'tsdPtr' undeclared (first use in this function)
exp_command.c:459: error: syntax error before ')' token
exp_command.c:474: error: 'any_placeholder' undeclared (first use in this
function)
exp_command.c: At top level:
exp_command.c:537: error: syntax error before 'ExpState'
exp_command.c:537: warning: data definition has no type or storage class
exp_command.c:539: error: syntax error before '{' token
exp_command.c: In function 'Exp_SpawnCmd':
exp_command.c:562: error: invalid operands to binary *
exp_command.c:811: warning: cast from pointer to integer of different size
exp_command.c:817: warning: cast from pointer to integer of different size
exp_command.c:848: error: request for member 'channel_orig' in something not
a structure or union
exp_command.c:849: error: request for member 'leaveopen' in something not a
structure or union
exp_command.c:855: error: request for member 'sys_waited' in something not a
structure or union
exp_command.c:856: error: request for member 'wait' in something not a
structure or union
exp_command.c:859: error: request for member 'name' in something not a
structure or union
exp_command.c:869: error: request for member 'fd_slave' in something not a
structure or union
exp_command.c:877: error: request for member 'fd_slave' in something not a
structure or union
exp_command.c:990: error: request for member 'name' in something not a
structure or union
exp_command.c:1234: error: request for member 'pid' in something not a
structure or union
exp_command.c:1234: error: request for member 'wait' in something not a
structure or union
exp_command.c:1235: error: request for member 'registered' in something not
a structure or union
exp_command.c:1236: error: request for member 'channel' in something not a
structure or union
exp_command.c: In function 'Exp_ExpPidCmd':
exp_command.c:1251: error: invalid operands to binary *
exp_command.c:1266: warning: assignment from incompatible pointer type
exp_command.c:1269: error: request for member 'pid' in something not a
structure or union
exp_command.c: In function 'slow_write':
exp_command.c:1343: error: syntax error before 'ExpState'
exp_command.c: In function 'human_write':
exp_command.c:1454: error: syntax error before 'ExpState'
exp_command.c: At top level:
exp_command.c:1531: error: syntax error before 'ExpState'
exp_command.c:1531: warning: data definition has no type or storage class
exp_command.c:1532: error: syntax error before '{' token
exp_command.c:1536: error: syntax error before 'if'
exp_command.c:1548: error: conflicting types for 'fd'
exp_command.c:1534: error: previous declaration of 'fd' was here
exp_command.c:1548: warning: initialization makes integer from pointer
without a cast
exp_command.c:1548: error: initializer element is not constant
exp_command.c:1548: warning: data definition has no type or storage class
exp_command.c:1549: error: conflicting types for 'exp_state_list_pool'
exp_command.c:1496: error: previous definition of 'exp_state_list_pool' was
here
exp_command.c:1549: error: invalid type argument of '-> '
exp_command.c:1549: warning: data definition has no type or storage class
exp_command.c:1550: error: syntax error before '-> ' token
exp_command.c: In function 'exp_free_state':
exp_command.c:1567: error: dereferencing pointer to incomplete type
exp_command.c:1570: error: dereferencing pointer to incomplete type
exp_command.c:1571: warning: assignment makes integer from pointer without a
cast
exp_command.c: In function 'exp_free_state_single':
exp_command.c:1579: error: dereferencing pointer to incomplete type
exp_command.c:1580: warning: assignment makes integer from pointer without a
cast
exp_command.c: In function 'exp_i_add_state':
exp_command.c:1678: error: syntax error before 'ExpState'
exp_command.c:1683: error: dereferencing pointer to incomplete type
exp_command.c: In function 'exp_i_parse_states':
exp_command.c:1704: warning: assignment from incompatible pointer type
exp_command.c: At top level:
exp_command.c:1755: error: syntax error before 'ExpState'
exp_command.c:1755: warning: data definition has no type or storage class
exp_command.c:1758: error: syntax error before '{' token
exp_command.c:1761: warning: initialization makes integer from pointer
without a cast
exp_command.c:1761: error: initializer element is not constant
exp_command.c:1761: warning: data definition has no type or storage class
exp_command.c:1763: error: syntax error before '-> ' token
exp_command.c:1766: warning: parameter names (without types) in function
declaration
exp_command.c:1766: error: conflicting types for 'exp_i_add_state'
exp_command.c:1679: error: previous definition of 'exp_i_add_state' was here
exp_command.c:1766: warning: data definition has no type or storage class
exp_command.c:1768: error: syntax error before 'return'
exp_command.c: In function 'Exp_SendObjCmd':
exp_command.c:1808: error: 'tsdPtr' undeclared (first use in this function)
exp_command.c:1808: error: syntax error before ')' token
exp_command.c:1809: error: invalid operands to binary *
exp_command.c:1920: warning: assignment from incompatible pointer type
exp_command.c:1946: error: dereferencing pointer to incomplete type
exp_command.c:1947: error: dereferencing pointer to incomplete type
exp_command.c:1950: error: request for member 'name' in something not a
structure or union
exp_command.c:1977: error: request for member 'fdout' in something not a
structure or union
exp_command.c:1984: error: request for member 'fdout' in something not a
structure or union
exp_command.c: In function 'Exp_CloseObjCmd':
exp_command.c:2279: error: invalid operands to binary *
exp_command.c:2325: warning: assignment from incompatible pointer type
exp_command.c:2329: error: request for member 'fd_slave' in something not a
structure or union
exp_command.c:2330: error: request for member 'fd_slave' in something not a
structure or union
exp_command.c:2331: error: request for member 'fd_slave' in something not a
structure or union
exp_command.c:2333: error: request for member 'fdin' in something not a
structure or union
exp_command.c:2345: error: request for member 'fdin' in something not a
structure or union
exp_command.c: At top level:
exp_command.c:2465: error: syntax error before 'WAIT_STATUS_TYPE'
exp_command.c:2465: warning: no semicolon at end of struct or union
exp_command.c:2467: error: conflicting types for 'next'
exp_command.h:244: error: previous declaration of 'next' was here
exp_command.c:2468: error: syntax error before '}' token
exp_command.c:2468: warning: data definition has no type or storage class
exp_command.c: In function 'fork_clear_all':
exp_command.c:2475: warning: assignment from incompatible pointer type
exp_command.c:2475: error: dereferencing pointer to incomplete type
exp_command.c:2476: error: dereferencing pointer to incomplete type
exp_command.c: In function 'fork_init':
exp_command.c:2485: error: dereferencing pointer to incomplete type
exp_command.c:2486: error: dereferencing pointer to incomplete type
exp_command.c: In function 'fork_add':
exp_command.c:2496: warning: assignment from incompatible pointer type
exp_command.c:2496: error: dereferencing pointer to incomplete type
exp_command.c:2497: error: dereferencing pointer to incomplete type
exp_command.c:2502: error: invalid application of 'sizeof' to incomplete
type 'struct forked_proc'
exp_command.c:2503: error: dereferencing pointer to incomplete type
exp_command.c:2504: warning: assignment from incompatible pointer type
exp_command.c: In function 'Exp_WaitCmd':
exp_command.c:2534: error: storage size of 'esTmp' isn't known
exp_command.c:2561: warning: assignment from incompatible pointer type
exp_command.c:2569: error: dereferencing pointer to incomplete type
exp_command.c:2576: error: dereferencing pointer to incomplete type
exp_command.c:2577: error: dereferencing pointer to incomplete type
exp_command.c:2585: error: dereferencing pointer to incomplete type
exp_command.c:2585: error: dereferencing pointer to incomplete type
exp_command.c:2586: error: dereferencing pointer to incomplete type
exp_command.c:2604: error: dereferencing pointer to incomplete type
exp_command.c:2613: warning: assignment from incompatible pointer type
exp_command.c:2616: warning: assignment from incompatible pointer type
exp_command.c:2616: error: dereferencing pointer to incomplete type
exp_command.c:2617: error: dereferencing pointer to incomplete type
exp_command.c:2619: error: dereferencing pointer to incomplete type
exp_command.c:2619: error: dereferencing pointer to incomplete type
exp_command.c:2620: error: dereferencing pointer to incomplete type
exp_command.c:2650: error: dereferencing pointer to incomplete type
exp_command.c:2650: error: dereferencing pointer to incomplete type
exp_command.c:2651: error: dereferencing pointer to incomplete type
exp_command.c:2651: error: dereferencing pointer to incomplete type
exp_command.c:2658: error: dereferencing pointer to incomplete type
exp_command.c:2665: error: dereferencing pointer to incomplete type
exp_command.c:2665: error: dereferencing pointer to incomplete type
exp_command.c:2665: error: dereferencing pointer to incomplete type
exp_command.c:2666: error: dereferencing pointer to incomplete type
exp_command.c:2666: error: dereferencing pointer to incomplete type
exp_command.c:2668: error: dereferencing pointer to incomplete type
exp_command.c:2668: error: dereferencing pointer to incomplete type
exp_command.c:2668: error: dereferencing pointer to incomplete type
exp_command.c:2669: error: dereferencing pointer to incomplete type
exp_command.c:2669: error: dereferencing pointer to incomplete type
exp_command.c:2669: error: dereferencing pointer to incomplete type
exp_command.c:2670: error: dereferencing pointer to incomplete type
exp_command.c:2670: error: dereferencing pointer to incomplete type
exp_command.c:2672: error: dereferencing pointer to incomplete type
exp_command.c:2672: error: dereferencing pointer to incomplete type
exp_command.c:2672: error: dereferencing pointer to incomplete type
exp_command.c:2673: error: dereferencing pointer to incomplete type
exp_command.c:2673: error: dereferencing pointer to incomplete type
exp_command.c:2673: error: dereferencing pointer to incomplete type
exp_command.c:2678: error: dereferencing pointer to incomplete type
exp_command.c:2682: error: dereferencing pointer to incomplete type
exp_command.c:2683: error: dereferencing pointer to incomplete type
exp_command.c:2686: error: dereferencing pointer to incomplete type
exp_command.c:2687: error: dereferencing pointer to incomplete type
exp_command.c:2688: error: dereferencing pointer to incomplete type
exp_command.c: In function 'Exp_DisconnectCmd':
exp_command.c:2737: error: 'tsdPtr' undeclared (first use in this function)
exp_command.c:2737: error: syntax error before ')' token
exp_command.c:2774: error: 'stdinout' undeclared (first use in this
function)
exp_command.c:2787: error: invalid operands to binary *
exp_command.c:2790: error: request for member 'valid' in something not a
structure or union
exp_command.c:2792: error: request for member 'registered' in something not
a structure or union
exp_command.c:2793: error: request for member 'channel' in something not a
structure or union
exp_command.c: In function 'Exp_OpenCmd':
exp_command.c:2978: error: invalid operands to binary *
exp_command.c:3001: warning: assignment from incompatible pointer type
exp_command.c:3008: error: request for member 'fdin' in something not a
structure or union
exp_command.c:3015: error: request for member 'pid' in something not a
structure or union
exp_command.c:3016: error: request for member 'pid' in something not a
structure or union
exp_command.c:3017: error: request for member 'pid' in something not a
structure or union
exp_command.c:3018: error: request for member 'sys_waited' in something not
a structure or union
exp_command.c:3018: error: request for member 'user_waited' in something not
a structure or union
exp_command.c:3032: warning: cast to pointer from integer of different size
*** Exit 1
Stop.
--
Didier Godefroy
mailto:dg@[...].net
_______________________________________________
Expect mailing list
Expect@[...].com
http://listserv.ActiveState.com/mailman/listinfo/expect
|