Dave:

> This version fixes a bug in waiting for canput flow control for write or
> putpmsg.  A process waiting on that event could not be killed.
>
> This version also integrates Brian's inet driver into the source tree at
> /usr/src/LiS/drivers/str/linux/inet.c.  His updated TLI related header
> files are in /usr/src/LiS/include/sys.  The inet driver is built and
> installed automatically as streams-inet.o if the kernel supports IPV6.

Including the inet driver has broken the build on Redhat Enterprise systems.
Just tried building this version on a Redhat Enterprise Linux 3.0 system
using Redhat's 2.4.21-4.EL kernel sources, and it failed with the following
error:

streams-inet.o
In file included from /lib/modules/2.4.21-4.ELcustom/build/include/net/sock.h:95,
                 from inet.c:76:
/lib/modules/2.4.21-4.ELcustom/build/include/net/irda/irda.h:80:1: warning: "ASSERT" 
redefined
In file included from /home/bala/LiS-2.17.2/include/sys/LiS/module.h:32,
                 from inet.c:66:
/home/bala/LiS-2.17.2/include/sys/LiS/linux-mdep.h:287:1: warning: this is the 
location of the previous definition
inet.c: In function `ss_opt_negotiate':
inet.c:1535: structure has no member named `ttl'
inet.c: In function `ss_conn_ind':
inet.c:2813: structure has no member named `ttl'
make[1]: *** [streams-inet.o] Error 1
make: *** [modules] Error 2

Redhat has changed the name of the `ttl' field of the inet_opt structure
($LINUX_SRC/include/net/sock.h) to `uc_ttl'. In other words, I'm able to
build if I make the following change to inet.c:

hugo:~/LiS-2.17.2/drivers/str/linux> diff inet.c.orig inet.c
1535c1535
<                               sk->protinfo.af_inet.ttl = ss->options.ttl;
---
>                               sk->protinfo.af_inet.uc_ttl = ss->options.ttl;
2813c2813
<               opt.ttl = (ulong *) &sk->protinfo.af_inet.ttl;
---
>               opt.ttl = (ulong *) &sk->protinfo.af_inet.uc_ttl;


Bala
_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to