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

Re: Re: [microblaze-uclinux] creating uClinux kernel image



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?
> 
> From: Jason Wu <wu@itee.uq.edu.au>
> Date: 2005/09/27 Tue PM 10:32:26 EDT
> To: microblaze-uclinux@itee.uq.edu.au
> Subject: Re: [microblaze-uclinux] creating uClinux kernel image
> 
> Hi Elynum
> 
> >I don't have that.  That is the problem but I didn't think I needed that.  I have the xilinx tools on a windows computer.  I've been just doing the kernel stuff in linux.   Do I have to install the xilinx 7.1 tools in Linux?
> >
> So you don't have mb-gcc tool-chain install in your linux machine, is 
> this correct?
> You do need to install the latest mb-gcc tool-chain, in order to compile 
> uClinux kernel.
> You can download the mb-gcc tool-chain from website below.
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/Toolchain/linux_binaries.html
> Once you extract the archive, you need to set up the path with
> $ export PATH=/usr/local/microblaze-elf-tools/bin:${PATH}
> 
> 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/