Re: [tkined] tnmRpc.c error

phil (phil@Belgium.EU.net)
Fri, 02 Jan 1998 15:31:21 +0000

First off all, a happy and promising 98 !!!!!!!

Next : thanks for the patch enlisted below, it helped and i'm running scotty
fluently, although

When I want to change the attributes (clicking the right button on an item) i
get the next errorbox

------------------------------------
Error: invalid command name
"tk_menuSetFocus (.tkined0.canvas.popup)"
------------------------------------

Any comment where i should uncomment

Tnx

Juergen Schoenwaelder wrote:

> phil <phil@Belgium.EU.net> said:
>
> phil> While trying to compile scotty i ran into the next error
>
> phil> ...
> phil> cc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include
> phil> ./../tnm/generic/tnmRpc.c
> phil> ./../tnm/generic/tnmRpc.c:62: field `__errno_location' declared as a
> phil> function
> phil> make: *** [tnmRpc.o] Error 1
>
> You can solve this problem by removing the definition of errno (which
> is not used anyway) in tnm/generic/tnmRpc.c. Below is a patch for this
> problem.
> Juergen
>
> *** tnm/generic/tnmRpc.c.orig Tue Sep 24 08:03:18 1996
> --- tnm/generic/tnmRpc.c Tue Dec 23 09:49:11 1997
> ***************
> *** 49,54 ****
> --- 49,55 ----
> * Definitions for the simple RPC protocol.
> */
>
> + #if 0
> #define TNM_RPC_CALL 1
> #define TNM_RPC_SEND 2
> #define TNM_RPC_RESULT 3
> ***************
> *** 68,73 ****
> --- 69,75 ----
> int len; /* The length of the argument. */
> char *arg; /* The bytes containing the argument. */
> } Tnm_RpcArg;
> + #endif
>
> /*
> * Forward declarations for procedures defined later in this file:
> --
> !! 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.

--
                 --------- ____                           -----
                 -------- /      /   /   ___    ___  _/_ ------
                 ------- /----  /   /  /   /  /___/  /  -------
                 ------ /____  /___/  /   /  /___   /  --------
                 -----                                ---------
Philippe Duthoit                                     tel: +32 (0)16 395 694
Pop-Engineer                                         fax: +32 (0)70 233 808
EUnet Belgium N.V./S.A.                           http://www.Belgium.EU.net
Interleuvenlaan 5, B-3001 Leuven     mailto:Philippe.Duthoit@Belgium.EU.net

--
!! 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.