[求助]安装WINDRIVER.PLATFORM.ID.V2.0后编译pcPentium可启动工程出现的问题
共有5张CD,按nfo说明依次安装。
CD1= Tornado 2.2.1/VxWorks 5.5.1 for Pentium(DISK_ID:TDK-15061-ZC-00)
CD2= BSPs/Drivers for VxWorks 5.5.1: Pentium(DISK_ID:TDK-14631-ZC-02)
CD3= VxWorks 5.5.1 Core O/S Source Products (DISK_ID:TDK-14774-ZC-00)
CD4= PLATFORM ID 2.0 (DISK_ID:TDK-14915-ZC-01)
CD5= SNiFF+/SNiFF+ Pro 4.1.1
安装完毕后,建立一个基于pcPentium BSP的可启动工程,可是编译时提示错误,如下
ccpentium -g -mcpu=pentium -march=pentium -ansi -nostdlib -fno-builtin -fno-defer-pop -I..
-IC:\platid20\target\config\pcPentium -IC:\platid20\target\h -IC:\platid20\target\confi
g\comps\src -IC:\platid20\target\src\drv -DCPU=PENTIUM -DTOOL_FAMILY=gnu -DTOOL=gnu -DPR
J_BUILD -c C:\platid20\target\config\comps\src\dataSegPad.c
ldpentium -X -N -e sysInit -Ttext 00308000 \
dataSegPad.o partialImage.o ctdt.o \
-T C:\platid20\target\h\tool\gnu\ldscripts\link.RAM -o vxWorks
partialImage. In function `usrIfProxyArpInit':
d:\mytorprj\temptest\default\C:\platid20\target\config\comps\src\net\usrNetLib.c:125: unde
fined reference to `proxyArpDefaultOn'
d:\mytorprj\temptest\default\C:\platid20\target\config\comps\src\net\usrNetLib.c:127: unde
fined reference to `proxyArpDefaultOff'
make: *** [vxWorks] Error 0x1
Done.
这种问题很是郁闷啊,一个全新的BSP工程就编译不过。
后来,只好把工程中对网络的调用屏蔽,就可以编译通过了。
再后来,发现,只安装前3张CD,重复上述步骤是没有问题的,从而得以继续对VxWorks的研究。
看来问题出在第4张CD上咯?
发现第4张CD的组件其中有一个为
[Patch 1.a to VxWORKS Ethernet Driver 5.5 Source for TORNADO 2.2.1]
不知道是不是这个组件对网络组件进行了修改引起的?
可是Patch 1.a to VxWORKS Ethernet Driver 5.5 Source for TORNADO 2.2.1又是platform ID的必备组件,不能删除……所以现在没有办法了,权且只安装前3张CD使用,但也不是长久之计。
所以发帖问大家是否过我的类似的情况?
或者Windriver已经针对这个问题提供了补丁了呢?
先谢谢大家。
关键词: 求助 安装 WINDRIVER.PLATFORM.
....一直用PID 2.0...没什么问题。Platform组件装了自然需要根据BSP的CPU类型编译的...到platform目录
make CPU=PENTIUM TOOL=gnu SNMPV3=ON AGENTX=ON
WindML 我一直用到3.0.3也没啥问题。看Platform Getting Start手册才是正道
谢谢,我进入我的PID2.0目录,在
C:\platid20\target\src>
运行make CPU=PENTIUM TOOL=gnu SNMPV3=ON AGENTX=ON
ccpentium -mcpu=pentium -march=pentium -ansi -fvolatile -nostdlib -fno-builtin
-fno-defer-pop -Wall -Ic:\platid20\target/h -Ic:\platid20\target/h/ -DCPU=PENT
IUM -DTOOL_FAMILY=gnu -DTOOL=gnu -c -o c:\platid20\target\lib\pentium\PENT
IUM\common\objdrv/aic7880Lib.o aic7880Lib.c
aic7880Lib.c:230:33: drv/scsi/him/him_scb.h: No such file or directory
aic7880Lib.c:232:33: drv/scsi/him/him_equ.h: No such file or directory
aic7880Lib.c:233:33: drv/scsi/him/seq_off.h: No such file or directory
aic7880Lib.c:234:34: drv/scsi/him/sequence.h: No such file or directory
aic7880Lib.c:235:33: drv/scsi/him/him_rel.h: No such file or directory
aic7880Lib.c:237:25: him/him_init.c: No such file or directory
aic7880Lib.c:238:20: him/him.c: No such file or directory
aic7880Lib.c:239:21: him/himd.c: No such file or directory
aic7880Lib.c:240:25: him/himdinit.c: No such file or directory
aic7880Lib.c:241:25: him/himdiopt.c: No such file or directory
aic7880Lib.c:242:24: him/himdopt.c: No such file or directory
make[2]: *** [c:\platid20\target\lib\pentium\PENTIUM\common\objdrv/aic7880Lib.o]
Error 0x1
make[2]: Leaving directory `C:\platid20\target\src\drv\scsi'
make[1]: *** [scsi] Error 0x2
make[1]: Leaving directory `C:\platid20\target\src\drv'
make: *** [drv] Error 0x2
C:\platid20\target\src>
看来我是遇上rpwt了。难道是由于我安装了第4张CD,然后又卸载又安装cd4引起的?
我先在网上搜搜这几个缺少的文件再说。
另,我的PID里怎么没有Platform getting started呢?只有Tornado Getting Started(Windows Version)之类的:(
参考 google group上的帖子,
“Hi,
There seems to be nothing wrong in your installation procedure.
To the workspace that you have created, add ipProto.c file from the
path (InstallDir)\target\src\netwrs. Just give a build after doing the
above step. The vxWorks image should be built without any errors.
Regards
Swaroop
”
因为编译时提示proxyArpDefaultOn和proxyArpDefaultOff定义找不到,只要把ipProto.c加入工程就可以解决了,因为上述两个函数在该文件中定义的了
/******************************************************************************
*
* proxyArpDefaultOn - Set Default behaviour for all interfaces
*
* This routine sets the default behaviour for an interface to always do proxy
* arp for any reachable IP address. It can be overridden on an interface by
* interface basis with proxyArpDisable().
*
* RETURNS: OK, always.
*
*/
STATUS proxyArpDefaultOn (void)
{
proxyArpDefault = TRUE;
return OK;
}
/******************************************************************************
*
* proxyArpDefaultOff - Set Default behaviour for all interfaces
*
* This routine sets the default behaviour for an interface to not do proxy
* arp for any reachable IP address. This is the original default behaviour.
* Can be overridden on an interface by interface basis with proxyArpEnable().
*
* RETURNS: OK, always.
*
*/
STATUS proxyArpDefaultOff (void)
{
proxyArpDefault = FALSE;
return OK;
}
可是此种方法也不是最终的解决方法,还是认为需要重新编译库来着。
有谁可以把 Platform getting started文档发给偶么?
多谢
hi,all
With the help of WindRiver documents, finally I get the correct way to intall PID2.0.
intallation sequence is as follow,
1. CD1
2. CD2 these 3 cds should be installed in a same new directory.
3. CD4
4. CD5 (optional)
5. CD3 (optional, installed in a seperate directory, and only be used as documents, should not be built)
then go to
/<installdir>/target/srv/make
run the following command
make CPU=PENTIUM TOOL=gnu SNMPV3=ON AGENTX=ON
(this step can take some time, it depends. leave it alone until it completes building)
then you'll get everything ok with pentium architecture.
我已解决,thx FiNALSErAPH老大。但wmit还是没有授权。也找不到pid 的Getting Started。老大能email一份给我吗。7739943@163.com。thx。
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
【笔记】生成报错synthdesignERROR被打赏50分 | |
【STM32H7S78-DK评测】LTDC+DMA2D驱动RGBLCD屏幕被打赏50分 | |
【STM32H7S78-DK评测】Coremark基准测试被打赏50分 | |
【STM32H7S78-DK评测】浮点数计算性能测试被打赏50分 | |
【STM32H7S78-DK评测】Execute in place(XIP)模式学习笔记被打赏50分 | |
每周了解几个硬件知识+buckboost电路(五)被打赏10分 | |
【换取逻辑分析仪】RA8 PMU 模块功能寄存器功能说明被打赏20分 | |
野火启明6M5适配SPI被打赏20分 | |
NUCLEO-U083RC学习历程2-串口输出测试被打赏20分 | |
【笔记】STM32CUBEIDE的Noruletomaketarget编译问题被打赏50分 |