这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 编译错误,请帮忙啊

共7条 1/1 1 跳转至

编译错误,请帮忙啊

菜鸟
2003-12-17 19:50:48     打赏
ccarm -mapcs-32 -mlittle-endian -march=armv4 -nostdi nc -O2 -fno-builtin -fvolatile -Wall -I/h -I. -IC:\Tornado_ARM\target\config\a ll -IC:\Tornado_ARM\target/h -IC:\Tornado_ARM\target/src/config -IC:\Tornado_ARM \target/src/drv -DCPU=ARMARCH4 -DTOOL_FAMILY=gnu -DTOOL=gnu -DARMEL -I../../../ CODE/INCLUDE -I../../../CODE/SSP/INCLUDE -I../../../CODE/MAINTAIN/INCLUDE -I../. ./../CODE/PLATFORM/INCLUDE -I../../../CODE/URP/INCLUDE/PUB -I../../../CODE/URP/I NCLUDE/PRIVATE -g -DDEV_TYPE=0xFFFF -DVERSION_TYPE=2 -DEOS_OS_TYPE=2 -DEOS_CPU_T YPE=5 -O2 -DRW_MULTI_THREAD -D_REENTRANT -fvolatile -fno-builtin -fno-for-scope -Wall -Woverloaded-virtual -Wcast-qual -c ../../../CODE/SSP/RDB/ Trans/Rdb_TransTable.cpp -o obj/Rdb_TransTable.o In file included from C:/Tornado_ARM/target/h/new.h:6, from C:/Tornado_ARM/target/h/stl_algobase.h:52, from C:/Tornado_ARM/target/h/stl_tree.h:56, from C:/Tornado_ARM/target/h/map:31, from ../../../CODE/SSP/RDB/Rdb_Common.h:34, from ../../../CODE/SSP/RDB/Trans/Rdb_TransTable.cpp:36: C:/Tornado_ARM/target/h/new:32: `operator new' takes type `size_t' as first para meter C:/Tornado_ARM/target/h/new:33: `operator new' takes type `size_t' as first para meter C:/Tornado_ARM/target/h/new:36: `operator new' takes type `size_t' as first para meter C:/Tornado_ARM/target/h/new:37: `operator new' takes type `size_t' as first para meter C:/Tornado_ARM/target/h/new:42: `operator new' takes type `size_t' as first para meter C:/Tornado_ARM/target/h/new:43: `operator new' takes type `size_t' as first para meter make.exe: *** [obj/Rdb_TransTable.o] Error 0x1 make.exe: *** No rule to make target `target_all'. Stop.



关键词: 编译     错误     帮忙     Tornado     target    

菜鸟
2003-12-17 20:43:00     打赏
2楼
最好付上出错的源代码段和平台描述

菜鸟
2003-12-17 20:57:00     打赏
3楼
使用的是tornado2.2 for arm 源文件Rdb_TransTable.cpp是用C++写的,其中new.h和stl_algobase.h等出错时提到的文件在安装的时候没有,是从tornado2.0 for arm里拷贝过来的,现在想手工修改一下但不知道是什么错误,new应该是一个系统的头文件,我查了VC里的new对函数的定义都是差不多的,第一个参数都是size_t

菜鸟
2003-12-17 21:25:00     打赏
4楼
size_t的定义是否包含

菜鸟
2003-12-17 22:15:00     打赏
5楼
包含了

菜鸟
2003-12-18 17:05:00     打赏
6楼
哦 我看看 谢谢

菜鸟
2003-12-20 01:34:00     打赏
7楼
还是不行 是不是我的编译器不支持C++啊,或者是那些拷贝过来的头文件跟库里的实体不对应?

共7条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]