Quantcast
Channel: Gemalto Sentinel Customer Discussions
Viewing all articles
Browse latest Browse all 1619

Re : Generating a c2v file on a Linux system

$
0
0
Hi Irvin,

It seems that you have not used the library files for the correct vendor code.

Following are the complete steps to build the sample for your vendor code-
1. Introduce your master key by running masterhasp
2. Copy your vendor code string from xxxx.hvc file to vendor_code.h (in same format separated by "...")
3. We can get the string in this format from "Toolbox" on the windows machine where LDK is installed
4. Goto following folder on linux machine after running masterhasp-
            Sentinel LDK 7.4 or below : ../Documents/SafeNet/Sentinel LDK 7.x/API/Runtime/C
            Sentinel LDK 7.4 or above : ../Documents/Gemalto/Sentinel LDK 7.x/API/Runtime/C
5. Copy the contents of this folder to the API folder of Linux LDK package- .../Linux/API/Runtime/C
6. Goto sample folder that you wish to build-  ../Linux/Samples/Runtime/C/gcc/x86/shared
7. Open the makefile "mk" in text editor
8. Replace the name of library "libhasp_linux_demo.so" with "libhasp_linux_xxxxx.so"
            here xxxxx is your numeric vendor code
9. Build the sample


Please let us know if you still face any issues.

Thanks,

Ashish


Viewing all articles
Browse latest Browse all 1619

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>