View Single Post
  #16  
Old 08-18-2022, 19:47
Gede Gede is offline
Friend
 
Join Date: Jun 2022
Location: Some place where the sun shines
Posts: 17
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 17
Thanks Rcvd at 6 Times in 3 Posts
Gede Reputation: 0
Exclamation SDK 9.2

Hi,

I am trying to setup SDK9.2 from full source.
So far I got:


Quote:
How To Setup Flexlm SDK 9.2.0.0 kit for x86

Found some cryptic txt file on Internet and changed it to this :

By Gede 2022-08-18


2. Create a Directory "fnp_9.2.0.0_x86" on "C:\" >>> C:\fnp_9.2.0.0_x86

3. Copy all the content from X:\fnp_9.2_Full_Source_x86_x64 folder to
C:\fnp_9.2.0.0_x86

4. Copy all the content from C:\fnp_9.2.0.0_x86\certicom\lib\i86_n3\include
to C:\h

5. Copy all the content from C:\fnp_9.2.0.0_x86\certicom\lib\i86_n3\lib to
C:\fnp_9.2.0.0_x86\i86_n3

6. Copy all the content from C:\fnp_9.2.0.0_x86\flexlm-java-tng\c\i86_n3 to
C:\fnp_9.2.0.0_x86\src

7. Replace the "?" in line 41 in file C:\fnp_9.2.0.0_x86\src\l_ctype.c for a "*".

8. Open Visual Studio 2005 Command Prompt
CD to C:\fnp_9.2.0.0_x86\src
nmake /f pc.mak >>> lmgr.lib etc.

9. Open VisualStudioCommandPrompt if not done so yet start over from the beginning.
CD to C:\fnp_9.2.0.0_x86\app
nmake /f pc.mak >>> lmgras.lib etc.

10. Open VisualStudioCommandPrompt if not done so yet start over from the beginning.
CD to C:\fnp_9.2.0.0_x86\server
nmake /f pc.mak >>> lmgrs.lib etc.

11. Edit C:\fnp_9.2.0.0_x86\machind\lm_code.h with the VN VK1 VK2 VK3 VK4 CK1 CK2
For VN "demo" use the following values :

#define VENDOR_NAME "demo"
#define VENDOR_KEY1 0x4054cac1
#define VENDOR_KEY2 0x4500538e
#define VENDOR_KEY3 0x542a6830
#define VENDOR_KEY4 0x3951f9f9
#define VENDOR_KEY5 0x0b165dca
#define CRO_KEY1 0x83f480c3
#define CRO_KEY2 0x771cc02c

Change the default LM_SEEDS to :

#define LM_SEED1 0x1234567A
#define LM_SEED2 0x8765432A
#define LM_SEED3 0xabcdef0A

12. Do the same for C:\fnp_9.2.0.0_x86\h\lm_code.h

13. Edit C:\fnp_9.2.0.0_x86\examples\vendor_info\lm_code.h with the VN VK1 VK2 VK3 VK4 ES1 ES2
For VN "demo" use the following values :

#define VENDOR_NAME "demo"
#define VENDOR_KEY1 0x4054cac1
#define VENDOR_KEY2 0x4500538e
#define VENDOR_KEY3 0x542a6830
#define VENDOR_KEY4 0x3951f9f9
#define VENDOR_KEY5 0x0b165dca
#define CRO_KEY1 0x83f480c3
#define CRO_KEY2 0x771cc02c

Change the default ENCRYPTION_SEEDS to :

#define ENCRYPTION_SEED1 0x8765432A
#define ENCRYPTION_SEED2 0x1234567A

14. Edit C:\fnp_9.2.0.0_x86\machind\fl_code.h with the VN VK1 VK2 VK3 VK4 ES1 ES2
For VN "demo" use the following values :

#define VENDOR_NAME "demo"
#define VENDOR_KEY1 0x4054cac1
#define VENDOR_KEY2 0x4500538e
#define VENDOR_KEY3 0x542a6830
#define VENDOR_KEY4 0x3951f9f9
#define VENDOR_KEY5 0x0b165dca
#define CRO_KEY1 0x83f480c3
#define CRO_KEY2 0x771cc02c

Change the default ENCRYPTION_SEEDS to :

#define ENCRYPTION_SEED1 0x8765432A
#define ENCRYPTION_SEED2 0x1234567A

15. Edit C:\fnp_9.2.0.0_x86\vendor\pc.mak if you are using your own Vendor_Name instead of "demo"
line 154 lmnewgen demo -o lm_new.c >>> lmnewgen <Your Vendor_Name> -o lm_new.c
line 181 lmnewgen demo -o lm_new.c >>> lmnewgen <Your Vendor_Name> -o lm_new.c
line 212 lmnewgen demo -o lm_new.c >>> lmnewgen <Your Vendor_Name> -o lm_new.c

16. CD C:\fnp_9.2.0.0_x86\utils
nmake /f pc.mak >>> Build Utils


******** If you change settings in the "lm_code.h" file then VSCP 2005 ********
CD C:\fnp_9.2.0.0_x86\utils
del *.obj
nmake /f pc.mak

******** CD C:\fnp_9.2.0.0_x86
cl makesetup.c
del makesetup.obj
MAKESETUP NONDEBUG i86_n3 STATIC RELEASE MT
setup.bat



Not clear for me !!!!!
Create and run vc.bat
nmake /f lmutil.mak gives me ERROR
They forgot to include the manuals !!!!

Having trouble with lmcrypt............

Does anyone have them ?
Programmers Guide would be a good start.





-------------------------------------------
For Cooking one needs ingredients.

Last edited by Gede; 08-20-2022 at 08:22.
Reply With Quote