Reverse Engineering Team Board

Reverse Engineering Team Board (http://www.reteam.org/board/index.php)
-   Reverse Code Engineering (http://www.reteam.org/board/forumdisplay.php?f=23)
-   -   how to build flexnet common vendor daemon (http://www.reteam.org/board/showthread.php?t=7403)

bgptlmzyh 03-26-2017 04:30 AM

how to build flexnet common vendor daemon
 
I have a program that use flexnet common vendor daemon. and license
like this
INCREMENT atom_core ABC 20180228.0 28-feb-2018 1 SUPERSEDE \
ISSUED=09-Feb-2016 ck=120 AUTH={ ABC=( LK=318CE1A0AF29 \
SIGN="0D72 CBB5 E5D5 C310 8C0E 8A71 DA55 7C06 1179 AFCA 4308 \
5365 A707 5C51 E25A 1E18 BDE6 5A13 2A2E 490F 2BC4 2EF8 261E \
14FE E7C2 B12A 26AD 5D2E 9255 C2DD" SIGN2="0E2E 1A6E 9CC7 F934 \
95F0 D91F FE0B BDE8 B3D9 BA24 F0F7 4F2D 74EA BE57 56F5 0D20 \
E094 4CD5 8D2A 86B7 ADB1 4BEA CAA7 A3CC 9F3F C526 C200 D128 \
6967 AEBA") XYZ=( LK=0DEC89C65D31 SIGN="0475 6744 D83D \
A7E8 AA77 95DE 69D4 3311 042A 7D20 61DA 1FC4 0161 03A7 BF3D \
1567 BB7D E299 E093 1D8B F9AC F422 CD47 F45C C50D 3888 7AEC \
9B1A 5D09 DBF1" SIGN2="0A40 7575 2D5C FE44 830B 89AA B5C4 DEA9 \
78EF 6CF7 94CF 1000 7104 9BC3 57D7 1A5F 3419 E77E 22F7 0801 \
3305 608E BCCA B8F8 2B36 3898 57F5 633C 3A7B 7AE0") }

I want to make cvd lmcrypt by flexnet 11.4 sdk .but cann't generate lmcrypt.exe.
I do like this
1. Use the secondary vendor xyz to make normal compile, and get the lm_code.h /lsvendor.c and lmseeds.h, copy this three files to the folder c:\kg\test1\.
2.Under the folder i86_n3 i make a config.txt. it like this

VENDOR=xyz
{
ALIAS=xyz
CODEFILE=c:\kg\test1\lm_code.h
LMSEEDS=c:\kg\test1\lmseeds.h
LSVENDOR=c:\kg\test1\lsvendor.c
}
3.Modify the machined folder lmcode.h,change the primary vendor abc all information ,and change the i86_n3 folder namke primary vendor abc .
4.Run cvdconfig -f config.txt
5.build md

But it cann't generate cvd lmcrypt.exe, Why?
Please somebody to help me.
Very thanks.

BfoX 03-26-2017 04:55 AM

we can't see your error msg =)
Synopsys is very hard to keygening

bgptlmzyh 03-26-2017 05:30 AM

it don't have any error message for lm, the i86_n3 directory have generate this file but not genetrate

C:\kg\i86_n3>build md

C:\kg\i86_n3>echo off
************************************************** *************************
Build.bat can be used in 3 ways *
build MT - This builds all of the files using the /MT compiler flag *
( Multi-threaded C Runtime as a static library ) *
build MD - This builds all of the files using the /MD compiler flag *
( Multi-threaded C Runtime as a DLL ) *
build DLL - This build all of the files to use the flexlm dll *
************************************************** *************************

Building using the /MT flag



lmrand1 -i ..\machind\lsvendor.c
cl /c /nologo /c /I..\machind /I. /MT -I../h lmcode.c
lmcode.c
..\machind\lm_code.h(85) : warning C4005: “LM_SIGN_LEVEL”:
..\machind\lm_code.h(83) :
LINK /nologo /NODEFAULTLIB /OPT:NOREF /NXCOMPAT /DynamicBase /SAFESEH /
subsystem:CONSOLE lmnewgen.obj lmcode.obj .\activation\lib\libnoact.lib lmgr.li
b libcrvs.lib libsb.lib oldnames.lib kernel32.lib user32.lib netapi32.lib advap
i32.lib gdi32.lib comdlg32.lib comctl32.lib wsock32.lib Rpcrt4.lib oleaut32.l
ib Ole32.lib Wbemuuid.lib lmgr_dongle_stub.lib libcmt.lib /out:lmnewgen.exe
if exist lm_new.c del lm_new.c
lmnewgen.exe prdm_geo -o lm_new.c
Upgrading from v7.2 TRL, using SIGN2= for more security
Generating header file lmprikey.h
cl /nologo /c /I..\machind /I. /MT /Folm_new.obj lm_new.c
lm_new.c
cl /nologo /c /I..\machind /I. /MT /O1 /DNO_ACTIVATION_SUPPORT ..\mac
hind\lmflex.c
lmflex.c
LINK /nologo /NODEFAULTLIB /OPT:NOREF /NXCOMPAT /DynamicBase /SAFESEH /
out:lmflex.exe lmflex.obj lm_new.obj lmgr.lib libsb.lib libcrvs.lib .\activation
\lib\libnoact.lib oldnames.lib kernel32.lib user32.lib netapi32.lib advapi32.li
b gdi32.lib comdlg32.lib comctl32.lib wsock32.lib Rpcrt4.lib oleaut32.lib Ole
32.lib Wbemuuid.lib libcmt.lib lmgr_dongle_stub.lib
if exist lmflex.obj del lmflex.obj
cl /nologo /c /I..\machind /I. /MT /O1 /DNO_ACTIVATION_SUPPORT -I../h
/Folsvendor.obj lsrvend.c
lsrvend.c
..\machind\lm_code.h(85) : warning C4005: “LM_SIGN_LEVEL”:
..\machind\lm_code.h(83) :
cl /nologo /c /I..\machind /I. /MT /O1 /DNO_ACTIVATION_SUPPORT -I../h
/Focvd_daemon_init.obj ../machind/cvd_daemon_init.c
cvd_daemon_init.c
RC -r -fo abc.res abc.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation. All rights reserved.

fatal error RC1110: could not open abc.rc
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0
A\bin\RC.EXE"”: return code “0x1”
Stop.


it can generate cvd_daemon.init.obj but not generate lmcrypt.exe

cadcae 06-23-2018 03:14 PM

Quote:

Originally Posted by BfoX (Post 39089)
we can't see your error msg =)
Synopsys is very hard to keygening

And your answer is ……

BfoX 06-24-2018 03:26 AM

Quote:

Originally Posted by cadcae (Post 39261)
And your answer is ……

I make it before, many time ago...

cadcae 06-24-2018 12:54 PM

job is periodist?
 
Quote:

Originally Posted by BfoX (Post 39262)
I make it before, many time ago...

you do your work, but for you


All times are GMT -4. The time now is 06:20 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.