[LC++]linker error LNK2005

choube mehul choube_mehul at yahoo.com
Sat Feb 12 17:37:01 UTC 2005


Hello,

i am getting following linker error 
Linking...
libvxSigFCL2LSU.lib(guid.obj) : error LNK2005:
_iswalnum already defined in LIBCMT.lib(_wctype.obj)
libvxSigFCL2LSU.lib(guid.obj) : warning LNK4006:
_iswalnum already defined in LIBCMT.lib(_wctype.obj);
second definition ignored

i am building a application which statically links 
to libvxSigFCL2LSU.lib (this lib is also wriiten by 
me)

i used dumpbin to get the symbol info.

>dumpbin libvxSigFCL2LSU.lib /SYMBOLS | grep iswalnum
097 00000000 SECT31 notype () External | _iswalnum

the output says iswalnum is defined in SECT31, but 
in my code i have just made a call to iswalnum ().

i tried searching with google
it says this is related to /Mx flags
i am compiling all the source files using /Mt flag.

has anyone encountered this problem earlier?
how did u solve this?

Thanks,
Mehul.


________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony




More information about the tuxCPProgramming mailing list