Re: build issue #30 for v2.6.32-rc5 :linux/dst.h:520: error:dereferencing pointer to incomplete type

From: Randy Dunlap
Date: Fri Oct 16 2009 - 11:43:44 EST


On Fri, 16 Oct 2009 17:35:07 +0200 Toralf Förster wrote:

> Hello,
>
> the build (.config attached) failed, make ends with :
> ...
> CC [M] drivers/net/vmxnet3/vmxnet3_drv.o
> In file included from drivers/net/vmxnet3/vmxnet3_int.h:62,
> from drivers/net/vmxnet3/vmxnet3_drv.c:27:
> include/linux/dst.h: In function 'dst_bio_to_cmd':
> include/linux/dst.h:520: error: dereferencing pointer to incomplete type
> include/linux/dst.h:520: error: 'BIO_POOL_BITS' undeclared (first use in this function)
> include/linux/dst.h:520: error: (Each undeclared identifier is reported only once
> include/linux/dst.h:520: error: for each function it appears in.)
> include/linux/dst.h:521: error: dereferencing pointer to incomplete type
> include/linux/dst.h:522: error: dereferencing pointer to incomplete type
> include/linux/dst.h:525: error: dereferencing pointer to incomplete type
> make[3]: *** [drivers/net/vmxnet3/vmxnet3_drv.o] Error 1
> make[2]: *** [drivers/net/vmxnet3] Error 2
> make[1]: *** [drivers/net] Error 2
> make: *** [drivers] Error 2
>
> The build was made with :
> $>make randconfig; make clean; make
>
> Here's the config:


Hi,
I've already posted a vmxnet3 driver patch for this (yesterday).

---
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/