Skip to contentSkip to conversation

Why compile ERROR.

U-Boot-Users Hsia Jason 2 participants 2 messages Feb 15, 2006 – Feb 17, 2006

lore
Share & tools
lore

Hsia Jason

author
#0 lore raw

*I just want to compile the source code for the board mx1ads,which has been supported.*
*And I did the follows.But errors occured*

p.s.
The cross_compiler is supplied by ELDK3.1.1(arm_linux_eldk3.1.1).

*[user at Jason u-boot-1.1.3]$ make distclean*
*[user at Jason u-boot-1.1.3]$ make mx1ads_config*
*[user at Jason u-boot-1.1.3]$ make all
*make[1]: Entering directory `/home/user/workspace/u-boot-1.1.3/tools' ln -s ../common/environment.c environment.c
ln -s ../lib_generic/crc32.c crc32.c
gcc -M -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x08400000 -DUSE_HOSTCC environment.c img2srec.c mkimage.c crc32.c envcrc.cgen_eth_addr.c bmp_logo.c > .depend
make[1]: Leaving directory /home/user/workspace/u-boot-1.1.3/tools' make[1]: Entering directory /home/user/workspace/u-boot-1.1.3/tools' make[1]: `.depend' is up to date.
make[1]: Leaving directory /home/user/workspace/u-boot-1.1.3/tools' make[1]: Entering directory /home/user/workspace/u-boot-1.1.3/examples'
/opt/eldk-3.1.1-arm/usr/bin/arm-linux-gcc -M -g -Os -fno-strict-aliasing
-fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x08400000 -I/home/user/workspace/u-boot-1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/eldk-3.1.1-arm/usr/bin/../lib/gcc-lib/arm-linux/3.3.3/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes hello_world.c stubs.c > .depend
make[1]: Leaving directory /home/user/workspace/u-boot-1.1.3/examples' make[1]: Entering directory /home/user/workspace/u-boot-1.1.3/examples' make[1]: `.depend' is up to date.
make[1]: Leaving directory /home/user/workspace/u-boot-1.1.3/examples' make[1]: Entering directory /home/user/workspace/u-boot-1.1.3/post'
/opt/eldk-3.1.1-arm/usr/bin/arm-linux-gcc -M -g -Os -fno-strict-aliasing
-fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x08400000 -I/home/user/workspace/u-boot-1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/eldk-3.1.1-arm/usr/bin/../lib/gcc-lib/arm-linux/3.3.3/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes cache_8xx.S cache.c codec.c cpu.c dsp.c ether.c i2c.c memory.c post.c rtc.c spr.c sysmon.c tests.c uart.c usb.c watchdog.c > .depend
make[1]: Leaving directory /home/user/workspace/u-boot-1.1.3/post' make[1]: Entering directory /home/user/workspace/u-boot-1.1.3/post' make[1]: `.depend' is up to date.
make[1]: Leaving directory /home/user/workspace/u-boot-1.1.3/post' make[1]: Entering directory /home/user/workspace/u-boot-1.1.3/post/cpu' make[1]: *** No rule to make target asm.S', needed by .depend'. Stop. make[1]: Leaving directory `/home/user/workspace/u-boot-1.1.3/post/cpu'
make: *** [depend] Error 2

*What's the matter?How to resolve?*
*H..............elp!*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060215/c6ec1e2f/attachment.htm

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

*I just want to compile the source code for the board mx1ads,which has been supported.*
*And I did the follows.But errors occured*

Tested with U-Boot-1.1.4 and top of tree: both build just fine.

Quoted 4 lines

p.s.
The cross_compiler is supplied by ELDK3.1.1(arm_linux_eldk3.1.1).

*[user at Jason u-boot-1.1.3]$ make distclean*

Bad command: please omit the trailing '*'.

Quoted 1 line

*[user at Jason u-boot-1.1.3]$ make mx1ads_config*

Bad command: please omit the trailing '*'.

Quoted 1 line

*[user at Jason u-boot-1.1.3]$ make all

Works fine here.

Quoted 3 lines

Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

And stop posting HTML here!!!

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is much easier to suggest solutions when you know nothing