3107|4

73

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

求救:tornado 2.2 powerpc c++驱动问题。 [复制链接]

下面是编译信息:
vxrm *.o *.rpo ctdt.c symTbl.c vxApp* *.out *.pl
vxrm ..\prjComps.h ..\prjParams.h ..\prjConfig.c ..\linkSyms.c
vxrm ..\libs.nm ..\libs.size
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\Shared\CMiniMiteLongDmaSglPoolManager.cpp
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\Shared\COSMiniMiteDmaChannel.cpp
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\Shared\COSMiniMiteDmaSgl.cpp
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSDevice.cpp
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSGpibDevice.cpp
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDeviceManager\COSGpibDeviceManager.cpp
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDpc\COSDpc.cpp
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\VxWorks\COSMutex\COSMutex.cpp
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\VxWorks\COSSemaphore\COSSemaphore.cpp
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\VxWorks\COSThread\COSThread.cpp
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\VxWorks\Initialization\OSNiDeviceOSLayerInitialization.cpp
F:\tornado2.2\host\gnu\3.3\x86-win32\bin\ccppc -g -mcpu=8540 -mstrict-align -ansi -nostdli
b -fno-builtin -fno-defer-pop -fno-exceptions -fno-implement-inlines -Wall -I. -IF:\tornad
o2.2\target\h\ -DCPU=PPC85XX -DTOOL_FAMILY=gnu -DTOOL=gnu -D_DEBUG -DVXWORKS_BUILD -c F:\t
ornado2.2\proj\8541gnu\OSLayer\VxWorks\OSCppRuntime\OSCppRuntime.cpp
vxrm ..\prjObjs.lst
Generating ..\prjObjs.lst...
F:\\tornado2.2\\host\\gnu\\3.3\\x86-win32\\bin\\ccppc -r -nostdlib -Wl,-X -Wl,@..\prjObjs.
lst  -o partialImage.o
COSMiniMiteDmaSgl.o(.rodata+0x308):F:\tornado2.2\proj\8541gnu\OSLayer\Shared\COSMiniMiteDm
aSgl.cpp:79: multiple definition of `vtable for COSDmaSgl'
COSMiniMiteDmaChannel.o(.rodata+0x770):F:\tornado2.2\proj\8541gnu\OSLayer\Shared\COSMiniMi
teDmaChannel.cpp:224: first defined here
COSMiniMiteDmaSgl.o(.rodata+0x324):F:\tornado2.2\proj\8541gnu\OSLayer\Shared\COSMiniMiteDm
aSgl.cpp:80: multiple definition of `typeinfo for COSDmaSgl'
COSMiniMiteDmaChannel.o(.rodata+0x7c4):F:\tornado2.2\proj\8541gnu\OSLayer\Shared\COSMiniMi
teDmaChannel.cpp:227: first defined here
COSGpibDevice.o(.rodata+0x348):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSGpi
bDevice.cpp:88: multiple definition of `vtable for COSInterruptHandler'
COSDevice.o(.rodata+0x100):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSDevice.
cpp:76: first defined here
COSGpibDevice.o(.rodata+0x3d4):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSGpi
bDevice.cpp:106: multiple definition of `typeinfo for COSInterruptHandler'
COSDevice.o(.rodata+0x114):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSDevice.
cpp:76: first defined here
COSGpibDevice.o(.rodata+0x360):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSGpi
bDevice.cpp:90: multiple definition of `vtable for COSDmaChannel'
COSMiniMiteDmaChannel.o(.rodata+0x780):F:\tornado2.2\proj\8541gnu\OSLayer\Shared\COSMiniMi
teDmaChannel.cpp:224: first defined here
COSGpibDevice.o(.rodata+0x3dc):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSGpi
bDevice.cpp:106: multiple definition of `typeinfo for COSDmaChannel'
COSMiniMiteDmaChannel.o(.rodata+0x7d8):F:\tornado2.2\proj\8541gnu\OSLayer\Shared\COSMiniMi
teDmaChannel.cpp:230: first defined here
COSGpibDeviceManager.o(.rodata+0xd0):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDeviceM
anager\COSGpibDeviceManager.cpp:80: multiple definition of `vtable for COSGpibDevice'
COSGpibDevice.o(.rodata+0x3a8):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSGpi
bDevice.cpp:103: first defined here
COSGpibDeviceManager.o(.rodata+0xfc):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDeviceM
anager\COSGpibDeviceManager.cpp:81: multiple definition of `typeinfo for COSGpibDevice'
COSGpibDevice.o(.rodata+0x3e4):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSGpi
bDevice.cpp:106: first defined here
COSDpc.o(.rodata+0xf8):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDpc\COSDpc.cpp:79: mu
ltiple definition of `vtable for COSInterruptHandler'
COSDevice.o(.rodata+0x100):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSDevice.
cpp:76: first defined here
COSDpc.o(.rodata+0x10c):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDpc\COSDpc.cpp:81: m
ultiple definition of `typeinfo for COSInterruptHandler'
COSDevice.o(.rodata+0x114):F:\tornado2.2\proj\8541gnu\OSLayer\VxWorks\COSDevice\COSDevice.
cpp:76: first defined here
collect2: ld terminated with signal 1 [Signal 1]
ccppc: Internal error: Signal 1 (program collect2)
Please submit a full bug report.
See for instructions.
make: *** [10_OSLayer.out] Error 0x1

Done.


调了好几天一直找不到问题。请教高手,万分感激!

最新回复

友情帮顶友情帮顶  详情 回复 发表于 2010-5-25 12:23
点赞 关注

回复
举报

87

帖子

0

TA的资源

一粒金砂(初级)

沙发
 
multiple definition of `vtable for COSGpibDevice' 感觉应该是重复define,但是用ppc603gnu编译没有问题,改为mpc8540gnu就出现这种问题。这是怎么回事呢
 
 

回复

77

帖子

0

TA的资源

宇宙尘埃

板凳
 
周末好冷清...
 
 
 

回复

50

帖子

0

TA的资源

一粒金砂(初级)

4
 
友情帮顶下!
 
 
 

回复

123

帖子

0

TA的资源

一粒金砂(初级)

5
 
友情帮顶友情帮顶
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/9 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表