I did run LiS 2.16 on RHAS3.0 kernel 2.4.21-4.EL .


The trick is in   include/sys/LiS/linux-mdep.h
Because RHAS3.0 kernel use the list framework of 2.5

So I add a :
#define KERNEL_RHAS3 1
in include/sys/LiS/config.h

and in include/sys/LiS/linux-mdep.h
Ligne 734:

/*  -------------------------------------------------------------------  */

/*
 *  timers
 */
#if defined(KERNEL_2_5) || defined(KERNEL_RHAS3)
#define TL_NEXT(tl)  (struct timer_list *)(tl).entry.next
#define TL_PREV(tl)  (struct timer_list *)(tl).entry.prev
#elif defined(KERNEL_2_3)
#define TL_NEXT(tl)  (struct timer_list *)(tl).list.next
#define TL_PREV(tl)  (struct timer_list *)(tl).list.prev
#else
#define TL_NEXT(tl)  (tl).next
#define TL_PREV(tl)  (tl).prev
#endif


#endif                          /* __KERNEL__ */



All that AFTER configure .. so I was able to build and run .. 

I tried on 2.16.13

Did not find the time to change configure script to detect that.

Hope this helps,

Nicolas THOMAS



Paul Landay <[EMAIL PROTECTED]> writes:

>>Date: Wed, 5 Nov 2003 16:48:49 -0800 (PST)
>>From: Matthew Gierlach <[EMAIL PROTECTED]>
>>To: David Grothe <[EMAIL PROTECTED]>, robinkent <[EMAIL PROTECTED]>
>>
>>Hi Dave:
>>
>>       Well it appears that Red Hat has done the unspeakable. Not only
>>       did they back port 2.5 kernel code, they also snarfed in some
>>       2.6 kernel code. Red Hat is distributing this highly irregular
>>       version of the Linux kernel as the base OS for their going
>>       forward Red Hat Enterprise 3.0 Linux product.
>>
>>       More troublesome is that many of our customers are expecting
>>       STREAMs based products to be supported on RH E3.0. LiS will
>>       not compile on RH E3.0 because of this (and perhaps other)
>>       abomination.
>>
>>       Since RH has announced end of life and discontinued support of
>>       RH 8.0/9.0 and is standardizing their future offerings on E3.0,
>>       there does not seem to be much of an option other than to adapt
>>       LiS to E3.0.
>>
>>       Your thoughts and suggested actions will be appreciated.
>>
>>       Gratefully, Matt Gierlach - Adax, Inc.
>
> I haven't tried RHEL3 for intel yet, but we
> are using LiS 2.16.15 with RHEL3-s390 with
> no problems, at least with base LiS functions.
>
> Paul Landay
>
> _______________________________________________
> Linux-streams mailing list
> [EMAIL PROTECTED]
> http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams


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

Reply via email to