[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] creating uClinux kernel image
Hi,
elynum@cox.net wrote:
> Thanks, Jason!
>
> 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?
You need to disable the SPI driver option in your kernel configuration.
$ make menuconfig
Kernel/Library/Defaults Selection --->
Customise Kernel Settings -->
characeter Devices -->
SPI support -->
and make sure it is disabled.
As a general rule, if you run "make menuconfig" and it gives displays an
option on the command line like
"SPI Support (Y/N) [N]"
You shold press enter, selecting the default, which is no. If in doubt,
leave it out!
Regards,
John
___________________________
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/