This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x编译工具链的疑问

Other Parts Discussed in Thread: AM3352

我用sdk6.0的编译工具链编译应用程序,但是在ubuntu14.10和ubuntu12.04下表现不一样(都是32位的系统)


我的工程有一个嵌套的Makefile,在ubuntu12.04下可以正常的编译,但是在ubuntu14.10下面编译会出错,出错如下:

----------------------------------------------
make -C /home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/
make[1]: Entering directory '/home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337'
make -C src/
make[2]: Entering directory '/home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/src'
============================
---Building Application.
============================
make[2]: Leaving directory '/home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/src'
make -C src/phy || exit 1;  make -C src/main || exit 1;  make -C src/mdio || exit 1;  make -C src/led || exit 1;  make -C src/md5 || exit 1;
make[2]: Entering directory '/home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/src/phy'
==================
--Building phy.
==================
/home/canon/am3352/switch_platform_sdk/linux-devkit/i686-arago-linux/usr/bin/arm-linux-gnueabihf-gcc  -I/home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/lib/mdio -I/home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/../../incl /home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/src/phy/phy.c /home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/lib/mdio/*.c -o /home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/build/bin/phy
/home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/src/phy/phy.c:9:19: fatal error: stdio.h: 没有那个文件或目录
compilation terminated.
/home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/lib/mdio/mdio.c:9:19: fatal error: stdio.h: 没有那个文件或目录
compilation terminated.
Makefile:13: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337/src/phy'
Makefile:32: recipe for target 'app' failed
make[1]: *** [app] Error 1
make[1]: Leaving directory '/home/canon/am3352/switch_platform_sdk/core/hw_layer/QCA8337'
Makefile:43: recipe for target 'hw' failed
make: *** [hw] Error 2

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

这是什么原因造成的?