make: *** No rule to make target `clean'(archive). Stop.

本文介绍了解决VxWorks环境下因缺少PPC相关库导致的编译错误的方法。通过调整prj文件中的BUILD_LIST配置,仅保留必要的SIMNTgnu和SIMNTgnu_Debug选项,成功解决了编译失败的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

if I add an new includepath into the configuration, the compilable project would become uncompilable which reports:

  “make: *** No rule to make target `archive.  Stop.” Whenright click and choose Build ‘ *.a’

Or

 “make: *** No rule to make target `clean'.  Stop.”  When Right click and choose  Rebuild all‘*.a’.


This problem has beed solved, the root reason is that  Idon’t have the PPC related libraries which causes the failure of  makefilegeneration.

               I solved it by deleting all the unnecessary items in the  BUILD__LIST in the prj file ,only SIMNTgnu & SIMNTgnu_Debug are left, then the compilation is good now.







Steps to check the makefile generation.

1. Open a command prompt and then set WIND_BASE env.variable.

 

set WIND_BASE=C:\Vx55ppc

 

put your VxWorks 5.5 PPC installation root path there

 

2. Set PATH

 

set PATH=c:\vx55ppc\host\x86-win32\bin:%PATH%

 

3. jump to mcoews_offs_00 directory

 

cd eXtremeDB\target\mcoews_offs_00

 

put your eXdb installation here

 

4. remove your Makefile

 

5. run makegen.bat. If everything is ok it runs quiet butmay tell you something in case of error

 

6. the Makefile should be generated in the directory

 

I guess you will get an error on some point. If your systemwill not be able to find makegen.bat check PATH settings, if it will blame thatit can not find /host/…/makegen.tcl check WIND_BASEsettings. Send me all other error messages.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值