08-31-2006 05:26 PM - last edited on 01-24-2013 12:12 AM by maikoro
I am working on a build of a proprietary software using Mingw (Gcc compiler) on windows. Our product uses Flexlm for licensing purposes.
Our build process has 2 parts: C build and CPP Build.
I was able to build our security module (C Build) using gcc by linking the module with flexlm library which had been built using VC++ compiler and the build is working fine.
Now in CPP build, i am facing a problem. When i link to the same flexlm library in CPP build, it gives an error of "undefined symbols". In this case, i am linking using g++. I get the following error:
"Cannot export LMGR326B_NULL_THUNK_DATA: symbol not found"
I am using the following linking options:
g++ -fPIC -shared -o output.dll obj1.o obj2.o -llmgr326b
THe Flexlm library name is: "lmgr326b.lib"
How can i build my module using the same flexlm library?
Thanks in advance
P.S. this thread has been moved from HP-UX > General to languages - HP Forums moderator
01-23-2013 12:44 PM
Although this thread was started a long time ago, may I ask if you succeeded in linking your application against FlexLM using MingW?