[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Adding SPI Driver causes Kernel to Hang



> microblaze-uclinux-gcc  -c -Os -g -fomit-frame-pointer -pipe -fno-common
> -fno-builtin -Wall  -mno-xl-soft-mul -mno-xl-soft-div -mxl-barrel-shift
> -mcpu=v6.00.b   -DEMBED
> -I/home/mstanisz/petalinux-svn/software/petalinux-dist
> -I/home/mstanisz/petalinux-svn/software/petalinux-dist/include
> -I/home/mstanisz/petalinux-svn/software/petalinux-dist/include -Dlinux
> -D__linux__ -Dunix -D__uClinux__ -DLINUX -o spi_init.o spi_init.c
> In file included from
> /home/mstanisz/petalinux-svn/software/petalinux-dist/include/linux/device.h:14,
>                  from spi_init.c:12:
> /home/mstanisz/petalinux-svn/software/petalinux-dist/include/linux/ioport.h:18:
> error: parse error before "resource_size_t"

After asking cscope for the definition of 'resource_size_t'
linux/types.h seems to be (one of) your missing header file(s). You
might want to run 'make cscope' to build a valid cscope database in the
kernel source top directory and run 'cscope' to find possible further
missing definitions.

Hope that helps!?

Nicolas

-- 
gpg public key: ID 0xACBC3B35, jabber: nicolas@xxxxxxxxx
 -- frykten for herren er opphav til kunnskap --

Attachment: pgpxCckSwU4hT.pgp
Description: PGP signature