[U-Boot-Users] problem of u-boot make

yanzhijun yanzhijun at ptsc.com.cn
Fri Aug 29 05:11:39 CEST 2003


hi,can you see where is the problem?
my compiled environment is red hat linux ,and i have installed a arm cross compiler in my machine ,and export $PATH.But now when i want to compile u-boot with cpu arm ,it troubled me .first i do like this :
#make lubbock_config
then:
#make 
here are some of the informations :
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/yzj/u-boot-0.4.0/post/cpu'
make[1]: Entering directory `/home/yzj/u-boot-0.4.0/examples'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/yzj/u-boot-0.4.0/examples'
make[1]: Entering directory `/home/yzj/u-boot-0.4.0/tools'
gcc -Wall -pedantic -I../include -I.. -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
/tmp/cc1TzDSI.s: Assembler messages:
/tmp/cc1TzDSI.s:390: Warning: Bad .section directive: want a,w,x in string
/tmp/cc1TzDSI.s:390: Error: Rest of line ignored. First ignored character is `M'.
/tmp/cc1TzDSI.s:762: Warning: Bad .section directive: want a,w,x in string
/tmp/cc1TzDSI.s:762: Error: Rest of line ignored. First ignored character is `M'.
make[1]: *** [img2srec.o] Error 1
make[1]: Leaving directory `/home/yzj/u-boot-0.4.0/tools'
make: *** [subdirs] Error 1

I don`t know what is the problem. I want to compile with arm-linux-gcc ,while it shows gcc ? can anyone tell me ? 
thanks ! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20030829/8cff6c7f/attachment.htm 


More information about the U-Boot mailing list