Hi! On Thu, Oct 28, 2004 at 07:25:13PM +0200, Paolo Mantegazza wrote: > >same problem with linux-2.4.26 and gcc-3.2
> Well 3.2. is one I'm using and see nothing ... with 2.6. So there might > be something defined differently on 2.4s. Strange because if it was the > desc struct it shoul have given a worning for the declaration before of > it also. > I'll try to reinstall 2.4 and check it. It will be next week, I do not > want to stop stress testing for r2. You don't have to :) This patch fixes the warning for 2.4 - NOTE: not tested with 2.6 Marc -- #!/bin/sh set - `type $0` 'tr "[a-zA-Z]" "[n-za-mN-ZA-M]"';while [ "$2" != "" ];do \ shift;done; echo 'frq -a -rc '`echo "$0"| $1 `'>$UBZR/.`rpub signature|'`\ echo $1|$1`'`;rpub "Jr ner fvtangher bs obet. Erfvfgnapr vf shgvyr!"'|$1|sh
Index: rtai-core/include/asm-i386/rtai_hal.h =================================================================== RCS file: /cvs/rtai/vesuvio/rtai-core/include/asm-i386/rtai_hal.h,v retrieving revision 1.13 diff -u -p -r1.13 rtai_hal.h --- rtai-core/include/asm-i386/rtai_hal.h 14 Oct 2004 09:05:04 -0000 1.13 +++ rtai-core/include/asm-i386/rtai_hal.h 28 Oct 2004 16:56:28 -0000 @@ -158,6 +158,7 @@ static inline unsigned long long rtai_u6 #if defined(__KERNEL__) && !defined(__cplusplus) #include <linux/sched.h> #include <linux/interrupt.h> +#include <asm/desc.h> #include <asm/system.h> #include <asm/io.h> #include <asm/rtai_atomic.h>
