Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29238 Discussions

lmgr.lib(l_getenv.obj) : error LNK2019: unresolved external symbol __environ referenced in function _xQ3r46BhnKc4DuDiAsw4

subhadram5
Beginner
2,680 Views
Hi I am facing the following issue :

1> Creating library .\\..\\Release/flexv11ipv6.lib and object .\\..\\Release/flexv11ipv6.exp

1>lmgr.lib(l_getenv.obj) : error LNK2019: unresolved external symbol __environ referenced in function _xQ3r46BhnKc4DuDiAsw4m

1>lmgr.lib(lm_getid_typ.obj) : error LNK2019: unresolved external symbol _v0tyoYCUu referenced in function _rXEp3ZRlJa

1>lmgr.lib(lm_getid_typ.obj) : error LNK2019: unresolved external symbol _s_f6ZFHxkTikpCC referenced in function _rXEp3ZRlJa

1>lmgr.lib(lm_getid_typ.obj) : error LNK2019: unresolved external symbol _p5bbMiB2GC01um referenced in function _rXEp3ZRlJa

1>lmgr.lib(lm_getid_typ.obj) : error LNK2019: unresolved external symbol _zmg_dXGeKzHfy5F referenced in function _rXEp3ZRlJa

1>lmgr.lib(leintelid.obj) : error LNK2019: unresolved external symbol _iaKXcwDc4FT referenced in function _xcFc4hbOFp

1>.\\..\\Release/flexv11ipv6.dll : fatal error LNK1120: 6 unresolved externals

1>Build log was saved at "file://c:\\Admin Rational\\LKAD-Localization\\licensing\\flexv11ipv6\\Release\\BuildLog.htm"

1>flexv11ipv6 - 7 error(s), 0 warning(s)

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========



Please help me to resolve this... Clue less abt whats is creating this conflict ...

0 Kudos
5 Replies
Steven_L_Intel1
Employee
2,680 Views
It looks to me as if you are building some sort of FLEXlm-based license management code. I don't see anything in your message to suggest that it is a Fortran-related issue. There seem to be some generated routine names that can't be found (and __environ which is not an Intel Fortran-supplied routine).

I suggest that you contact Flexera, which now owns the FLEXlm line of software.
0 Kudos
poojakhobragade
Beginner
2,680 Views
Hi ,

I am facing the same issue.

4>lmgr.lib(lm_getid_typ.obj) : error LNK2019: unresolved external symbol _sZqwHEEEz referenced in function _koxDAicz6B

4>lmgr.lib(lm_getid_typ.obj) : error LNK2019: unresolved external symbol _l_check_wibu referenced in function _koxDAicz6B

4>lmgr.lib(lm_getid_typ.obj) : error LNK2019: unresolved external symbol _gIIcfXSzce2ECYK referenced in function _koxDAicz6B

4>lmgr.lib(lm_getid_typ.obj) : error LNK2019: unresolved external symbol _n4YdX_LVPuXwqd referenced in function _koxDAicz6B

4>lmgr.lib(lm_getid_typ.obj) : error LNK2019: unresolved external symbol _mB1q5jZK1qywqg0 referenced in function _koxDAicz6B

4>lmgr.lib(leintelid.obj) : error LNK2019: unresolved external symbol _m2vu3O6lPOv referenced in function _kpdW13zq2h


Can you help?

Thanks ,
Pooja

0 Kudos
Steven_L_Intel1
Employee
2,680 Views
See my answer from April, above.
0 Kudos
poojakhobragade
Beginner
2,680 Views

Hi,

FYI
My problem is solved.
I tried building the SDK with MD=1 option.
And coorected the linkgin order
This is the link order I got 0 errors/0 warnings with.using md libs
libFNPload.lib libact_md.lib lm_new_md.obj libsb_md.lib libcrvs_md.lib lmgr_md_trl.lib FNP_Act_Installer.lib oldnames.lib Wbemuuid.lib lmgr_dongle_stub.lib


Regards,
Pooja

0 Kudos
mecej4
Honored Contributor III
2,680 Views
"My problem is solved" -- this confirms that your topic has no relevance to this forum.
0 Kudos
Reply