Need help to compile mapserver-4.2.2 under windows

Jingyu Bai baijingyu at HOTMAIL.COM
Wed Sep 1 13:44:20 EDT 2004


Gayathri:

I searched the archive and found many anwsers from you to help the user
like me. I really appreciate your help.
I managed to have a Regex.obj and change map server nmake.opt to enable
ODBC_LIB , now I can go a step further but still have problem to compile it.
I now get :
...
....

MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _localtime already defined in
LIBC.lib(localtim.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _abort already defined in LIBC.lib
(abort.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _strcspn already defined in
LIBC.lib(strcspn.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: _isalnum already defined in
LIBC.lib(_ctype.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __stricmp already defined in
LIBCMTD.lib(stricmp.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __strnicmp already defined in
LIBCMTD.lib(strnicmp.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __strdup already defined in
LIBC.lib(strdup.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __stat already defined in
LIBCMTD.lib(stat.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __unlink already defined in
LIBCMTD.lib(unlink.obj); second definition ignored
   Creating library mapserver_i.lib and object mapserver_i.exp
   LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other
libs; use /NODEFAULTLIB:library
libmap.dll : fatal error LNK1169: one or more multiply defined symbols found
NMAKE : fatal error U1077: 'link' : return code '0x491'
Stop.
It seems I got a lots of MSVCRT.lib(MSVCRT.dll) warning too but not fatal
though.



More information about the mapserver-users mailing list