This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Arm Compiler for Embedded License Activation in Linux

Hello, our company uses the Keil MDK and we're working on supporting cross-development in Linux with Arm's Linux x86 armclang package. 

I downloaded the Arm Compiler for Embedded and am trying to use `armlm` to activate the product using our FlexNet license server which we use for the Keil MDK.

My invocation for `armlm`:

armlm activate -as-user <username> -to-file <file> -server <port>@<ip> -product <product ID>

`armlm` gives the following error:

An error occurred during activation: Invalid license server address '<port>@<ip>'. Please check the address syntax.

I can ping the port of our license server from my Linux environment, I just need support with syntax. An example invocation for `armlm` using a FlexNet server would help.

Parents
  • I found that I can use the env variable `ARMLMD_LICENSE_FILE` to specify my FlexNet license server. Is that the recommended operation?

    The new error I receive implies our Keil MDK license is not compatible with the arm standalone compiler, is this true and if so what type of license does my company need to purchase?

    armclang: error: Failed to check out a license.
    The provided license does not enable these tools.
    Information about this error is available at developer.arm.com/.../m5
    General licensing information is available at developer.arm.com/.../
    If you need further help, provide this complete error message to your supplier or to Arm via services.arm.com/.../contactsupport
    - ARMLMD_LICENSE_FILE: '<port>@<ip>'
    - LM_LICENSE_FILE: unset
    - ARM_PRODUCT_DEF: unset
    - ARM_PRODUCT_PATH: unset
    - ARM_TOOL_VARIANT: unset
    - Product location: /etc/ArmCompilerforEmbedded/sw/mappings
    - Toolchain location: /etc/ArmCompilerforEmbedded/bin
    - Selected tool variant: product
    - Checkout feature: compiler5
    - Feature version: 5.0202304
    - Flex error code: -5
    Product: Arm Compiler for Embedded 6.20 Professional
    Component: Arm Compiler for Embedded 6.20.1
    Tool: armclang [5e9b0600]

    Thanks.

Reply
  • I found that I can use the env variable `ARMLMD_LICENSE_FILE` to specify my FlexNet license server. Is that the recommended operation?

    The new error I receive implies our Keil MDK license is not compatible with the arm standalone compiler, is this true and if so what type of license does my company need to purchase?

    armclang: error: Failed to check out a license.
    The provided license does not enable these tools.
    Information about this error is available at developer.arm.com/.../m5
    General licensing information is available at developer.arm.com/.../
    If you need further help, provide this complete error message to your supplier or to Arm via services.arm.com/.../contactsupport
    - ARMLMD_LICENSE_FILE: '<port>@<ip>'
    - LM_LICENSE_FILE: unset
    - ARM_PRODUCT_DEF: unset
    - ARM_PRODUCT_PATH: unset
    - ARM_TOOL_VARIANT: unset
    - Product location: /etc/ArmCompilerforEmbedded/sw/mappings
    - Toolchain location: /etc/ArmCompilerforEmbedded/bin
    - Selected tool variant: product
    - Checkout feature: compiler5
    - Feature version: 5.0202304
    - Flex error code: -5
    Product: Arm Compiler for Embedded 6.20 Professional
    Component: Arm Compiler for Embedded 6.20.1
    Tool: armclang [5e9b0600]

    Thanks.

Children