求教个BSP包编译错误的问题

中文QNX 讨论: 欢迎大家灌水,讨论有关QNX 问题。
回复
bun
New Member
帖子: 7
注册时间: 周三 9月 01, 2010 10:17 pm

求教个BSP包编译错误的问题

帖子 bun » 周四 9月 02, 2010 7:45 pm

QNX:6.5,30天评估版
对应IDE版本:QNX Momentics IDE Version: 4.7.0

下了三个BSP包:
bsp-nto640-freescale-mpc8313e-rdb-1.0.0-200910301149.zip
bsp-nto640-freescale-mpc8323e-rdb-trunk.zip
bsp-nto640-freescale-mpc8349e-mds-trunk.zip
只有8323的能正常编译通过,8313和8349都有错误提示,问题相同:


编译bsp-freescale-mpc8313e-src提示:
-DVARIANT_be -DBUILDENV_qss ../../amd/a29f004_ident.c
In file included from ../../public/sys/f3s_mtd.h:44,
from ../../amd/a29f004_ident.c:26:
D:/ide-4.7-workspace/bsp-freescale-mpc8313e-src/src/hardware/flash/mtd-flash/../../../../install/usr/include/sys/syspage.h:36:42: error: operator '==' has no left operand
cc: D:/QNX650/host/win32/x86/usr/lib/gcc/powerpc-unknown-nto-qnx6.5.0/4.4.2/cc1 caught signal 1
make[6]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8313e-src/src/hardware/flash/mtd-flash/ppc/a.be'
make[6]: *** [a29f004_ident.o] Error 1
make[5]: *** [install] Error 2
make[5]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8313e-src/src/hardware/flash/mtd-flash/ppc'
make[4]: *** [install] Error 2
make[4]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8313e-src/src/hardware/flash/mtd-flash'
make[3]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8313e-src/src/hardware/flash'
make[3]: *** [install] Error 2
make[2]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8313e-src/src/hardware'
make[2]: *** [install] Error 2
make[1]: *** [install] Error 2
make[1]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8313e-src/src'
make: *** [install] Error 2

好象是NOR FLASH驱动有问题。

编译bsp-freescale-mpc8313e提示:
Error: Unable to to find startup: startup-mpc8313e-rdb
Build Failed.

但是在project.bld中已经将Create startup sym file设置为Yes了

编译bsp-freescale-mpc8349mds-src提示:
-DVARIANT_be -DBUILDENV_qss ../../amd/a29f004_ident.c
In file included from ../../public/sys/f3s_mtd.h:44,
from ../../amd/a29f004_ident.c:26:
D:/ide-4.7-workspace/bsp-freescale-mpc8349mds-src/src/hardware/flash/mtd-flash/../../../../install/usr/include/sys/syspage.h:36:42: error: operator '==' has no left operand
cc: D:/QNX650/host/win32/x86/usr/lib/gcc/powerpc-unknown-nto-qnx6.5.0/4.4.2/cc1 caught signal 1
make[6]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8349mds-src/src/hardware/flash/mtd-flash/ppc/a.be'
make[6]: *** [a29f004_ident.o] Error 1
make[5]: *** [install] Error 2
make[5]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8349mds-src/src/hardware/flash/mtd-flash/ppc'
make[4]: *** [install] Error 2
make[4]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8349mds-src/src/hardware/flash/mtd-flash'
make[3]: *** [install] Error 2
make[3]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8349mds-src/src/hardware/flash'
make[2]: *** [install] Error 2
make[2]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8349mds-src/src/hardware'
make[1]: *** [install] Error 2
make[1]: Leaving directory `D:/ide-4.7-workspace/bsp-freescale-mpc8349mds-src/src'
make: *** [install] Error 2

是不是6.5编译6.4的BSP包就有问题?大侠们随便说

bun
New Member
帖子: 7
注册时间: 周三 9月 01, 2010 10:17 pm

帖子 bun » 周六 10月 16, 2010 6:07 pm

已解决,确实是IDE版本的原因

回复