[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Error building v0.40-rc2
Chris Robson wrote:
>
> simply untarring the distro, running make menuconfig and then make the
> following error occurs, what needs to be done to
> correct......thanks.....chris
>
> microblaze-uclinux-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -D__KERNEL__
> -DTEXT_BASE=0x23fc0000 -I/petalinux-dist/u-boot/include -fno-builtin
> -ffreestanding -nostdinc -isystem
> /petalinux-v0.40-rc2/tools/linux-i386/microblaze-uclinux-tools/bin/../lib/gcc/microblaze-uclinux/3.4.1/include
>
> -pipe -ffixed-r31 -D__microblaze__ -mno-xl-soft-mul -mno-xl-soft-div
> -mxl-barrel-shift -mcpu=v4.00.a -c -o asm.o
> /petalinux-v0.40-rc2/software/petalinux-dist/u-boot/post/cpu/asm.S
> In file included from
> /petalinux-v0.40-rc2/software/petalinux-dist/u-boot/include/config.h:2,
> from
> //petalinux-v0.40-rc2/software/petalinux-dist/u-boot/include/common.h:35,
> from hello_world.c:24:
> //petalinux-dist/u-boot/include/configs/petalogix-microblaze-auto.h:100:3:
> #error UART not defined
this is the same error as was discussed sometimes.
Please look at your hw design. Go there and rerun
make -f system.make libsclean
make -f system.make libs
and run
petalinux-copy-autoconfig
The problem is that you use any older design which don't have updated Kconfig.auto for U-BOOT
support. I'll take a look at it too.
The second way is of course disable U-BOOT in menuconfig.
Thanks,
Michal
> gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x23fc0000
> -DUSE_HOSTCC -O -c mkimage.c
> make[2]: *** [hello_world.o] Error 1
> make[2]: Leaving directory
> `/develop/PETALINUX/petalinux-v0.40-rc2/software/petalinux-dist/u-boot/examples'
> make[1]: *** [examples] Error 2
>
>
>
>
> ------------------------------------------------------------------------
> Hotmail® goes with you. Get it on your BlackBerry or iPhone.
> <http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009>
--
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/