[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] creating uClinux kernel image
Hi Elynum
>I tried it and that fixed those errors. Now I'm getting another error after I installed the compiler tools. Here's what I'm getting.
>
>drivers/spi/spi.o: In function `spi_char_exit':
>/root/uClinux-2.4.x/drivers/spi/spi_char.c(.text+0x14): undefined reference to `spi_dev_ioctl'
>drivers/spi/spi.o: In function `spi_open':
>/root/uClinux-2.4.x/drivers/spi/spi_char.c(.text+0x48): undefined reference to `spi_dev_open'
>drivers/spi/spi.o: In function `spi_close':
>/root/uClinux-2.4.x/drivers/spi/spi_char.c(.text+0x84): undefined reference to `spi_dev_release'
>drivers/spi/spi.o: In function `spi_read':
>/root/uClinux-2.4.x/drivers/spi/spi_char.c(.text+0xac): undefined reference to `spi_dev_read'
>drivers/spi/spi.o: In function `spi_write':
>/root/uClinux-2.4.x/drivers/spi/spi_char.c(.text+0xd0): undefined reference to `spi_dev_write'
>make[1]: *** [linux] Error 1
>make[1]: Leaving directory `/root/uClinux-2.4.x'
>make: *** [linux] Error 1
>
>
>Can you tell me what I'm doing wrong again?
>
>
I believe you actually enable the "SPI character driver" under SPI
support. If you disable SPI support or SPI character driver, this should
resolve this problem
Regards,
Jason
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/