The IRDA authors were supposed to have fixed this problem by now.
LiS-2.9 takes care of it. It installs on RH 7.0 with no problems.
-- Dave
Huw Rogers wrote:
> Hi,
>
> The IRDA drivers included in RedHat 7
> (2.2.16-22) conflict with LiS 2.8.
>
> The problem is the definition of queue_t
> in IRDA, which conflicts with streams.
>
> To temporarily fix this to get LiS built and
> installed I changed all the IRDA queue_t
> declarations and usages to irda_queue_t with
> the following perl oneliner:
>
> find /usr/src/linux/include/net/irda /usr/src/linux/net/irda \( -name
> '*.c' -o -name '*.h' \) -print |
> xargs perl -pi -e 'BEGIN { undef $/; } s/\bqueue_t\b/irda_queue_t/;'
>
> LiS then built ok.
>
> IMHO this should get fixed in IRDA rather
> than in LiS, but its an issue that should be documented
> with LiS since RedHat 7 is so prevalent.
>
> Lastly, there are another two files with potentially
> conflicting queue_t declarations, although these didn't
> cause trouble this time:
>
> /usr/src/linux/./drivers/char/rio/daemon.h
> /usr/src/linux/./drivers/char/rio/typdef.h
>
> Regards,
>
> -Huw Rogers
Web archives for lists can be found at http://gsyc.escet.urjc.es/lists