At 08:49 AM 6/4/99 +0100, Jessen, Per wrote:

>I believe one thing you'll need to do is upgrade your diald to the
>latest version - 0.99 or thereabouts. 

I tried to build 0.99 under Redhat 5.2 and it didn't work.  There's a
problem with an include file:

  ---------------------
$ make depend
cc -E -M *.c > .depend
proxy_tap.c:20: linux/netlink.h: No such file or directory
make: *** [depend] Error 1
  ---------------------

There's a netlink.h in "linux-2.0.36/include/net/netlink.h" though, and
this will get the "make depend" step to work without errors, but then the
"make" step blows up for a number of reasons:

  ----------------------
cc -O2 -Wall -pipe -DTCP_WRAPPERS    -c timer.c -o timer.o
timer.c: In function `validate_function':
timer.c:87: warning: comparison of distinct pointer types lacks a cast
timer.c:88: warning: comparison of distinct pointer types lacks a cast
  ----------------------

and:

  ----------------------
cc -O2 -Wall -pipe -DTCP_WRAPPERS    -c proxy_tap.c -o proxy_tap.o
In file included from proxy_tap.c:20:
/usr/src/linux-2.0.36/include/net/netlink.h:12: warning: `struct sk_buff'
declared inside parameter list
/usr/src/linux-2.0.36/include/net/netlink.h:12: warning: its scope is only
this definition or declaration,
/usr/src/linux-2.0.36/include/net/netlink.h:12: warning: which is probably
not what you want.
/usr/src/linux-2.0.36/include/net/netlink.h:13: warning: `struct sk_buff'
declared inside parameter list
/usr/src/linux-2.0.36/include/net/netlink.h:15: warning: `struct sk_buff'
declared inside parameter list
proxy_tap.c: In function `proxy_tap_init':
proxy_tap.c:124: storage size of `nl' isn't known
proxy_tap.c:140: `NETLINK_TAPBASE' undeclared (first use this function)
proxy_tap.c:140: (Each undeclared identifier is reported only once
proxy_tap.c:140: for each function it appears in.)
proxy_tap.c:124: warning: unused variable `nl'
make: *** [proxy_tap.o] Error 1
  ----------------------

Rather than learn enough Linux development to fix this stuff last night, I
downloaded the RPM with 0.16-5a in it and installed that.  Works like a
charm!  Needs some tuning, but it's dialing as needed, and hanging up when
the time expires, just like I wanted it to!

-- Mike "I pay by the call, not by the minute, so a 2 minute timeout is a
bit short... ;^)" Bartman --
*****************************************************************************
*       Mike Bartman       *   Puzzles Pondered    Obfuscation Obliterated  *
* Omniphiles International *  Confusion Canceled      Opinions Offered      *
*      [EMAIL PROTECTED]       *   Options Outlined       Smiles Stimulated     *
*---------------------------------------------------------------------------*
*            "We do it all!  No job too small!  No price too high!          *
****************************************************************************
*

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to