[U-Boot-Users] Difference between ppc-linux-gcc and ppc_82xx-gcc?

Sam Song samsongshu at yahoo.com.cn
Fri Sep 16 13:27:39 CEST 2005


Hi all,

I encountered a compiling problem on fw_printenv tool
in u-boot-1.1.3 tools directory. When setting 
CROSS_COMPILE=ppc-linux-, there would be a problem 
but not for CROSS_COMPILE=ppc_82xx-. Well, the funny
thing is that both settings work fine to compile
a MPC8272ADS image if I disable fw_printenv 
compilinig in tools/Makefile.

......
thfw_env_main.c:55: (Each undeclared identifier is
reported only once
fw_env_main.c:55: for each function it appears in.)
fw_env_main.c:59: warning: implicit declaration of
function `strcmp'
fw_env_main.c:63: `EXIT_SUCCESS' undeclared (first use
in this function)
fw_env_main.c:68: `EXIT_FAILURE' undeclared (first use
in this function)
fw_env_main.c:73: warning: implicit declaration of
function `fprintf'
fw_env_main.c:73: `stderr' undeclared (first use in
this function)
make[2]: *** [fw_printenv] Error 1
make[2]: Leaving directory
`/home/sam/work-folder/u-boot-1.1.3/tools/env'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/home/sam/work-folder/u-boot-1.1.3/tools'
make: *** [tools] Error 2
[root at sam u-boot-1.1.3]

Did anyone encounter this case? How it could be?

Hope some people take care this difference in the same
situation. I tried ELDK3.0 and ELDK3.1.1 and both 
failed like this. A lesson learned? !

Thanks,

Sam


	

	
		
___________________________________________________________ 
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 
http://cn.mail.yahoo.com





More information about the U-Boot mailing list