Hallo!
I try to build flext as a dynamic library (because the stand-alone externals are really big) and use flext0.4.5 and MSVC6 on WinXP.
I've tried to add UFLAGS=/DFLEXT_SHARED in config-pd-msvc, but I got a lot of errors:
flbase.cpp source\flbase.cpp(40) : warning C4273: 'public: static struct flext_hdr * flext_ obj_shared::m_holder' : inconsistent dll linkage. dllexport assumed. source\flbase.cpp(40) : error C2491: 'flext_obj_shared::m_holder' : definition o f dllimport static data member not allowed source\flbase.cpp(41) : warning C4273: 'public: static struct _symbol const * co nst flext_obj_shared::m_holdname' : inconsistent dll linkage. dllexport assumed (... and so on...) source\flbase.cpp(54) : warning C4273: 'flext_obj_shared::flext_obj_shared' : in consistent dll linkage. dllexport assumed. source\flbase.cpp(71) : warning C4273: 'flext_obj_shared::~flext_obj_shared' : i nconsistent dll linkage. dllexport assumed. source\flbase.cpp(76) : warning C4273: 'Init' : inconsistent dll linkage. dllex port assumed. source\flbase.cpp(77) : warning C4273: 'Finalize' : inconsistent dll linkage. d llexport assumed. source\flbase.cpp(78) : warning C4273: 'Exit' : inconsistent dll linkage. dllex port assumed. source\flbase.cpp(81) : warning C4273: 'DefineHelp' : inconsistent dll linkage. dllexport assumed. source\flbase.cpp(99) : warning C4273: 'GetParamSym' : inconsistent dll linkage. dllexport assumed. NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' : return co de '0x2' Stop.
Do I need the additional Processor Pack for MSVC6 to compile flext as a dynamic library? Or is the compiler flag wrong?
Thanks for any advice, LG Georg