Re: Various issues with 2.5.2-dj6

From: Dave Jones (davej@suse.de)
Date: Thu Jan 31 2002 - 20:34:07 EST


On Thu, Jan 31, 2002 at 04:43:48PM -0500, Nathan wrote:
> > > Issue 2: Two IEEE1934 modules needed to have "#include
> > > <linux/interrupt.h>" added (host.c and another one I forget)
> > Can you send the gcc error messages of these ?
> > (A patch would be nice too)
> >
> GCC error messages:
>
> gcc -D__KERNEL__
> -I/home/expsoft/src/linux-kernel/linux-2.5/linux/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686 -DMODULE -DMODVERSIONS -include
> /home/expsoft/src/linux-kernel/linux-2.5/linux/include/linux/modversions.h
> -DKBUILD_BASENAME=hosts -c
> -o hosts.o hosts.c
> hosts.c: In function `hpsb_ref_host_Rsmp_b2d7a7ae':
> hosts.c:53: `current' undeclared (first use in this function)
> hosts.c:53: (Each undeclared identifier is reported only once
> hosts.c:53: for each function it appears in.)
> hosts.c:63: warning: implicit declaration of function
> `preempt_schedule_Rsmp_707f93dd'

 Looks like another preempt problem to me, as hosts.c doesn't
 reference current in my tree fwics. The error on line 63
 looks suspect too.

 You may also get away with include sched.h instead of interrupt.h
 (which indirectly includes sched.h amongst other things).

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:01:41 EST