[U-Boot-Users] The -n compilation error!

Bharath G - CTD , Chennai bharathg at hcltech.com
Tue Nov 2 12:58:40 CET 2004


Hi,
	I just saw someone post a message on the similar to this error , had
deleted it though ,

 " option '-n' is ambiguous..... "

I had an error similar to that ....

My Dump 

------------

/opt/montavista/pro/devkit/ppc/82xx/bin/../lib/gcc-lib/powerpc-hardhat-linux
/3.3
.1/../../../../powerpc-hardhat-linux/bin/as: option `-n' is ambiguous
make[1]: *** [hello_world] Error 2
make[1]: Leaving directory `/root/Bharath/test/u-boot/examples'
make: *** [examples] Error 2

------------

if make examples throws an error,

I guess doing a  " make mrproper "  should fix your problem,

make mrproper
make BOARD_config
make all 

Also check to see if your CROSS COMPILE macro in the main Makefile is set
correctly, Alternatively you could do away with the examples directory by
removing it from SUBDIRS in the main Makefile

.Cheers.

Bharath.G
DISCLAIMER 
This message and any attachment(s) contained here are information that is confidential, proprietary to HCL Technologies 
and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the 
individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to 
read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, 
please notify the sender immediately by return e-mail and delete it from your computer





More information about the U-Boot mailing list