Post Go back to editing

I've got 'cc1458:  Fatal error: could not obtain license'. What is the problem with my license?

I have valid VisualDSP++ license which comes with my ADSP-21262 EZ-Kit Lite.  When I tried to compile the example from Blackfin tutorials, I've got following  error;

cc1458:  Fatal error: could not obtain license

1 catastrophic error detected in the compilation of  ".\dotprod.c".

Compilation terminated.




What is happening on my VisualDSP++ license?

  • This error is expected when you build a project designed for an architecture  other than the one you are licensed to use.
    In this case you are trying to  build a Blackfin Tutorial project with a SHARC license, which does not permit  the use of the Blackfin Compiler
  • Although not the situation when you are trying to compile SHARC code using a Blackfin license, you can get this message even when you have a valid license.

    The problem occurs if you have a floating license that can be used by multiple users over a network. Can be one of two reasons

              1) Somebody else is using the license

    Solution, give the guy some money to go for coffee so he / she can get the "CC 1548" message when they come back as you now have the lecense  :-)

              2) Network issues -- I am arunning a class where we have many flaoting licenses. When the network is busy, VDSP seems to time out when trying to access a license.

                          Solution:  Just try again in a short while

    QUESTION

               Is it possible, as a user, to change this VDSP time-out setting (by a factor or 2 or 4)

  • Hi Mike,

    Our apologies not responding to this message for this long time.
    You are correct that these are the other reasons you will see this error as well.
    As you are aware of, we have encountered customers receiving this error in the past where cause was due to using a floating license over a slow or busy network. Unfortunately, we do not have a selectable time-out setting in VisualDSP++ or FlexLM as you mentioned, instead we have a workaround that you can try for this problem which may be caused by the client PC failing to see your server on the network.

    First, we would suggest that you try specifying which ports our licensing daemons ('lmgrd' and 'analogd') should use in the license.dat files on the server and client machine.
    To configure exactly which ports should be used by these daemons please make the following changes to the license.dat files:
    Modify the SERVER line in both the client and server license.dat files
    From:
    SERVER server-name DISK_SERIAL_NUM=12345678
    To:
    SERVER server-name DISK_SERIAL_NUM=12345678 xxxxx
    Where xxxxx is the port to be used for the lmgrd daemon.
    Add a VENDOR line in both the client and server license.dat files
    VENDOR analogd C:\PROGRA~1\ANALOG~1\VISUAL~1\LMSERVER\analogd.exe PORT xxxx
    Where xxxx is the port to be used for the analogd daemon. The VENDOR line should be placed directly after the SERVER line.
    NOTE: the server must be restarted for this to take effect. You will also need to modify the license.dat file on all other client machines.
    Port numbers can range from 0 - 64000. It is recommended that you choose a port number outside the 27000 through 27009 range. Also some of the lower port numbers are reserved so you should have an idea what ports are not being used before assigning a port. Going with a higher port number is recommended.
  • This question has been closed by the EZ team and is assumed answered.