Re: 2.5.19 - raid1 erros on compile

system_lists@nullzone.org
Thu, 30 May 2002 21:25:41 +0200


Well its not on raid1.c file.
It must be invoqued just from any funtion_structure_reference.

I'll wait a patch.

Thanks anyway

At 08:22 30/05/2002 +0200, Jens Axboe wrote:
>On Thu, May 30 2002, system_lists@nullzone.org wrote:
> >
> > I have problems compiling kernel with raid1 support.
> >
> > Any idea?
> >
> > thanks
> >
> > make[2]: Entering directory `/usr/src/linux-2.5.19/drivers/md'
> > gcc -D__KERNEL__ -I/usr/src/linux-2.5.19/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> > -pipe -mpreferred-stack-boundary=2
> > -march=i686 -DKBUILD_BASENAME=raid1 -c -o raid1.o raid1.c
> > raid1.c: In function `device_barrier':
> > raid1.c:412: `tq_disk' undeclared (first use in this function)
> > raid1.c:412: (Each undeclared identifier is reported only once
> > raid1.c:412: for each function it appears in.)
> > raid1.c: In function `make_request':
> > raid1.c:449: `tq_disk' undeclared (first use in this function)
> > raid1.c: In function `close_sync':
> > raid1.c:651: `tq_disk' undeclared (first use in this function)
>
>run_task_queue(&tq_disk) -> blk_run_queues()
>
>--
>Jens Axboe

-
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/