License error when using command line linker

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

License error when using command line linker

Jump to solution
2,650 Views
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

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,621 Views
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.

View solution in original post

0 Kudos
Reply
4 Replies
1,622 Views
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 Kudos
Reply
1,621 Views
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 Kudos
Reply
1,621 Views
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 Kudos
Reply
1,621 Views
J2MEJediMaster
Specialist I

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

 

---Tom

0 Kudos
Reply