首页
社区
课程
招聘
[求助]flexlm 9.2 sdk 自定义vendor编译问题
发表于: 2015-5-7 17:41 7693

[求助]flexlm 9.2 sdk 自定义vendor编译问题

2015-5-7 17:41
7693
大家好,我在编译9.2 sdk的时候发现改变vendor name以后很多pc.mak要改,里面的demo都是写死在里面的。请问编译成功的大侠怎么处理这个问题的,我用默认的demo可以编译成功,改了vendor的还在挣扎,11.4的方便多了。

编译过程参考如下链接
http://bbs.pediy.com/showthread.php?t=40190&highlight=flexlm

谢谢

[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!

收藏
免费 0
支持
分享
最新回复 (9)
雪    币: 18
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
新人贴,请大家分享下经验啊
2015-5-10 09:31
0
雪    币: 57
活跃值: (88)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
dionysosww,are you building the vendor under linux or Windows...???
under windows, you need to compile the lm_code.h and the lm_code2.h if you are using SIGN2 in the machind folder
Then you need to compile the file makefile with the right vendor in the i86_n3..
Now move the c++ compiler dos windows in the i86_n3 and write: build DLL.

Under linux the pc.mak in inside the 'vendor' folder
2015-5-10 23:20
0
雪    币: 18
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
Hi istigatore,
    Thanks for the suggestion. Finally after chaing all the demo in pc.mak/makefile in all subdir, I'm able to compile the source code successfully. The platform is windows. For the new VS, afxres.h is not included, need to copy it manually in src.
    What do you mean "Under linux the pc.mak in inside the 'vendor' folder", Do you have experience to compile windows flexlm sdk in linux?

Thanks
2015-5-11 22:24
0
雪    币: 57
活跃值: (88)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
5
dionysosww, i do not have linux, but i have also the sdk for linux and i read the files inside the sdk folder, under windows & Linux..
I guess you cannot build windws vendor under linux unless you have a virtual machine or dual boot Windows/Linux.. For Windows you need a c++ compiler...
2015-5-12 00:22
0
雪    币: 18
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
6
Hi istigatore,
    Yes, I use vmware to create different os, visual studio in windows as compiler. win7_x64 is not good candidate for sdk compile, tanker's script can't find pubkey even for compiled 9.2 sdk daemon. XP looks OK.
    What linux sdk do you have? I only find 10.8 version for linux.

Thanks
2015-5-12 07:33
0
雪    币: 57
活跃值: (88)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
7
dionysosww, i have VS 2012 U4 and no problems with flexlm sdk, even with the very old v7.. You need to read the programmes guide to make a good vendor and to learn the sdk..
Linux i have 9.2..
It' s easy to find with ida or olly the pubkey, even  with the last version 11.13
2015-5-13 00:23
0
雪    币: 55
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
8
hello boy,in some flex V11.11 and later program,crack the pubkey and prikey  .It can't work any more
2015-5-13 20:58
0
雪    币: 57
活跃值: (88)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
9
langzii, i already wrote that if the program use pure trusted storage, the ecc  patch does not work anymore, and license files in plain text are not allowed .. In the others cases, you maybe patched the targets in the wrong section...
2015-5-14 20:49
0
雪    币: 18
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
10
Hi istigatore,
    I'm able to compile 9.2/11.4/11.9 in xp+vs2008, tanker's script can identify pubkey correctly. In win7_x64, I find that take's script can't find pubkey anymore, so I guess there is something related to the environment even the daemon.exe is also 32bit program. My goal is to have better understanding of flexlm rather than simply cracking, tanker's script can be used as reference when I trace the program manully, that's why I care about this.

thanks
2015-5-15 10:00
0
游客
登录 | 注册 方可回帖
返回
//