Re: [tkined] scotty compile errors on Solaris

Mani Chinnappan (mani@fore.com)
Tue, 20 Apr 1999 10:42:07 -0700

Hi,

I've enclosed complete error output below.
What am using:

tcl - 8.0.3
tk - 8.0.3
scotty - 2.1.9
Sloaris 2.4

etherstat is defined in unix/ether.x

Hope this info helps,
/Mani

nilgiris% make
gcc -c -O -fPIC -I. -I./../tnm/generic -I/export/home/tcl8.0.3/generic
./../tnm/generic/tnmSunRpc.c
./../tnm/generic/tnmSunRpc.c:70: parse error before `etherstat'
./../tnm/generic/tnmSunRpc.c:70: warning: no semicolon at end of struct or union
./../tnm/generic/tnmSunRpc.c:72: parse error before `}'
./../tnm/generic/tnmSunRpc.c:72: warning: data definition has no type or storage
class
./../tnm/generic/tnmSunRpc.c:74: parse error before `*'
./../tnm/generic/tnmSunRpc.c:74: warning: data definition has no type or storage
class
./../tnm/generic/tnmSunRpc.c: In function `SunrpcOpenEtherd':
./../tnm/generic/tnmSunRpc.c:245: `p' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:245: (Each undeclared identifier is reported only
once
./../tnm/generic/tnmSunRpc.c:245: for each function it appears in.)
./../tnm/generic/tnmSunRpc.c:246: `etherstat' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:246: `res' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:247: parse error before `struct'
./../tnm/generic/tnmSunRpc.c:252: `timeout' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:259: `addr' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:271: `ETHERPROG' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:271: `ETHERVERS' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:285: parse error before `)'
./../tnm/generic/tnmSunRpc.c: In function `SunrpcCloseEtherd':
./../tnm/generic/tnmSunRpc.c:318: `p' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:319: `q' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c: In function `SunrpcEtherd':
./../tnm/generic/tnmSunRpc.c:371: `p' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:372: `etherstat' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:372: `res' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:438: `NBUCKETS' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c: In function `SunrpcRstat':
./../tnm/generic/tnmSunRpc.c:478: storage size of `statp' isn't known
./../tnm/generic/tnmSunRpc.c:493: `RSTATPROG' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:493: `RSTATVERS_TIME' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:500: `RSTATPROC_STATS' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:501: `xdr_statstime' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c: In function `SunrpcMount':
./../tnm/generic/tnmSunRpc.c:635: `mountlist' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:635: parse error before `ml'
./../tnm/generic/tnmSunRpc.c:650: `MOUNTPROG' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:650: `MOUNTVERS' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:657: `MOUNTPROC_DUMP' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:658: `xdr_mountlist' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:658: `ml' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c: In function `SunrpcExports':
./../tnm/generic/tnmSunRpc.c:696: `exports' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:696: parse error before `ex'
./../tnm/generic/tnmSunRpc.c:697: `groups' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:715: `MOUNTPROG' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:715: `MOUNTVERS' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:722: `MOUNTPROC_EXPORT' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:723: `xdr_exports' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:723: `ex' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:732: `gr' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c: In function `PcnfsInfo':
./../tnm/generic/tnmSunRpc.c:925: `v2_info_args' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:925: parse error before `a'
./../tnm/generic/tnmSunRpc.c:926: `v2_info_results' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:926: `res' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:927: parse error before `int'
./../tnm/generic/tnmSunRpc.c:936: `a' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:946: `PCNFSDPROG' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:946: `PCNFSDV2' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:965: `fp' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:966: `i' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:968: `procs' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c: In function `PcnfsQueue':
./../tnm/generic/tnmSunRpc.c:1024: `v2_pr_queue_results' undeclared (first use
this function)
./../tnm/generic/tnmSunRpc.c:1024: `pr_qr' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:1025: `v2_pr_queue_args' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1025: parse error before `pr_args'
./../tnm/generic/tnmSunRpc.c:1026: `pr_queue_item' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1026: `pr_item' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1028: `pr_args' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1041: `PCNFSDPROG' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1041: `PCNFSDV2' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1056: `PI_RES_NO_SUCH_PRINTER' undeclared (first
use this function)
./../tnm/generic/tnmSunRpc.c:1059: `PI_RES_FAIL' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1062: `PI_RES_OK' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c: In function `PcnfsList':
./../tnm/generic/tnmSunRpc.c:1145: `v2_pr_list_results' undeclared (first use
this function)
./../tnm/generic/tnmSunRpc.c:1145: `pr_ls' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:1146: `pr_list_item' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1146: `pr_item' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1155: `PCNFSDPROG' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1155: `PCNFSDV2' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c: In function `PcnfsStatus':
./../tnm/generic/tnmSunRpc.c:1231: `v2_pr_status_args' undeclared (first use
this function)
./../tnm/generic/tnmSunRpc.c:1231: parse error before `pr_stat'
./../tnm/generic/tnmSunRpc.c:1232: `v2_pr_status_results' undeclared (first use
this function)
./../tnm/generic/tnmSunRpc.c:1232: `pr_sr' undeclared (first use this function)
./../tnm/generic/tnmSunRpc.c:1234: `pr_stat' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1244: `PCNFSDPROG' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1244: `PCNFSDV2' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1259: `PI_RES_NO_SUCH_PRINTER' undeclared (first
use this function)
./../tnm/generic/tnmSunRpc.c:1262: `PI_RES_FAIL' undeclared (first use this
function)
./../tnm/generic/tnmSunRpc.c:1265: `PI_RES_OK' undeclared (first use this
function)
*** Error code 1
make: Fatal error: Command failed for target `tnmSunRpc.o'
nilgiris%

> From schoenw@ibr.cs.tu-bs.de Tue Apr 20 01:19:49 1999
> Date: Tue, 20 Apr 1999 10:19:34 +0200
> From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
> To: mani@fore.com
> CC: tkined@ibr.cs.tu-bs.de
> Subject: Re: [tkined] scotty compile errors on Solaris
>
>
> >>>>> Mani Chinnappan writes:
>
> Mani> The file tnmSunRpc.c seems to be producing the errors below.
> Mani> Anyone solution for this?
>
> Some text from the README:
>
> : 5. Support and bug fixes:
> : -------------------------
> :
> : We are generally interested in receiving bug reports or suggestions
> : for improvements. When reporting bugs, please provide a good
> : description how to reproduce the bug and indicate which version of Tcl
> : and Scotty you are using plus the operating system name and version.
> : Bugs with a detailed bug report are usually fixed soon.
>
> Your bug report is one of those bug reports we receive which do not
> contain enough information to do anything about it.
>
> BTW, its easy to use grep et al. to find out that etherstat is defined
> in unix/ether.x which gets compiled to unix/ether.h using rpcgen. This
> may point you into the right direction to solve the problem.
>
> Juergen
> --
> Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
> Technical University Braunschweig, Dept. Operating Systems & Computer Networks
> Bueltenweg 74/75, 38106 Braunschweig, Germany. (Tel. +49 531 / 391
3289)

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.