License error when using command line linker

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

License error when using command line linker

跳至解决方案
2,699 次查看
stbohne
Contributor II

Hello,

 

I get the following message when linking a simple c (void main() {}) file:

 

### mwldmcf Driver Error:#   License check failed: No such feature exists#   Feature:       Win32_ColdFire_Special_512#   License path:  C:\Programme\Freescale\CodeWarrior for Microcontrollers -#       V6.3\Bin\..\license.dat
#   FLEXlm error:  -5,357#   For further information, refer to the FLEXlm End User Manual,#   available at "www.macrovision.com".Errors caused tool to abort.

 

 

The path to the license file is correct. I can compile using mwccmcf -c, but using mwccmcf without -c causes the same message. I'm also using the same installation via CodeWarrior GUI without problems.

 

Any ideas what I'm doing wrong?

 

Thanks in advance,

Stefan

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,670 次查看
stbohne
Contributor II

I found the solution. I had to set the LM_LICENSE_FILE environment variable. The --use-license-file option did not help. And I only found this documented on the installation CD. The CodeWarrior help files I looked into did not mention this variable.

 

I should add, I'm using CodeWarrior for Microcontrollers V6.3.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,671 次查看
stbohne
Contributor II

I found the solution. I had to set the LM_LICENSE_FILE environment variable. The --use-license-file option did not help. And I only found this documented on the installation CD. The CodeWarrior help files I looked into did not mention this variable.

 

I should add, I'm using CodeWarrior for Microcontrollers V6.3.

0 项奖励
回复
1,670 次查看
stbohne
Contributor II

Correction: It wasn't the environment variable. It was the license file. I used the CodeWarrior for Coldfire Architecture license file instead of the Microcontrollers one. Apparently some features necessary to compile for V1 ColdFires are only defined the V2-4 license file.

0 项奖励
回复
1,670 次查看
J2MEJediMaster
Specialist I

That sure does not sound right. I would suggest submitting a service request to see if we have a license problem. Click here to submit a service request.

0 项奖励
回复
1,670 次查看
J2MEJediMaster
Specialist I

It would probably help if you posted the batch/make file that you are using.

 

---Tom

0 项奖励
回复