Need help to compile mapserver-4.2.2 under windows

Ude Shankar u.shankar at NIWA.CO.NZ
Thu Sep 2 14:01:13 PDT 2004


Make sure all your sources are compiled with the same option eg. /MD
or /ML.
Shankar

> 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