[U-Boot-Users] u-boot not compiling on Fedora core 6

Midhun Agnihotram agnimidhun at gmail.com
Thu Jun 7 08:19:16 CEST 2007


Hi,

  I think your PATH is not set properly and also may the "Tool-prefix"
in the Makefile. According to what you have done, it is using the
native gcc and the libraries (those that come with Fedora) rather than
the newly installed toolchain from Macraigor. As you have installed
the arm tool chain, you will need to change the tool prefix
accordingly (eg. arm-elf-) in the Makefile. Also add the folder which
contains the <Tool-Prefix>-gcc (eg. arm-elf-gcc) to the PATH variable.

  I guess this should work.

 Let me know if you still have the problem after you try this.

Thanks & Regards,
Midhun Agnihotram.

On 6/6/07, Ganesh Chandra Patro <ganesh.patro at softdel.com> wrote:
> Hi,
> I am not able to compile u-boot under fedora core 6 installation.
>
> Here is the error snap
>
> [root at Linux u-boot-1.1.6]# make lpc2294_config
> Configuring for lpc2294 board...
> [root at Linux u-boot-1.1.6]# make
> for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
> make[1]: Entering directory `/home/gcp/u-boot-1.1.6/tools'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/gcp/u-boot-1.1.6/tools'
> make[1]: Entering directory `/home/gcp/u-boot-1.1.6/examples'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/gcp/u-boot-1.1.6/examples'
> make[1]: Entering directory `/home/gcp/u-boot-1.1.6/post'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/gcp/u-boot-1.1.6/post'
> make[1]: Entering directory `/home/gcp/u-boot-1.1.6/post/cpu'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/gcp/u-boot-1.1.6/post/cpu'
> make -C tools all
> make[1]: Entering directory `/home/gcp/u-boot-1.1.6/tools'
> make[1]: *** No rule to make target
> `/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h', needed by
> `img2srec.o'.  Stop.
> make[1]: Leaving directory `/home/gcp/u-boot-1.1.6/tools'
> make: *** [tools] Error 2
> [root at Linux u-boot-1.1.6]#
>
> I installed my tool chain by doing
> rpm -iv mcgr-arm-gnutools-4.0-0.i386.rpm downloaded from Macraigor cygwin
> site
>
> please let me know which makefile and where I should give the path to make
> this available to gcc
>
> Ganesh
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>




More information about the U-Boot mailing list