problem: compiling mapserver on windows

Thibaut Le Pape cobra13 at GMAIL.COM
Mon Jul 10 02:46:24 PDT 2006


Hello everyone,

I tried to compile mapserver under windows, so I installed all the
librairies needed and I get this error message (I use Visual Studio 8 to
compile it):

LIBC.lib(crt0dat.obj) : error LNK2005: __cinit already defined in LIBCMT.lib
(crt

0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in LIBCMT.lib
(crt0d

at.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __exit already defined in LIBCMT.lib
(crt0

dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __cexit already defined in LIBCMT.lib
(crt

0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __c_exit already defined in
LIBCMT.lib(cr

t0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __C_Exit_Done already defined in
LIBCMT.l

ib(crt0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __C_Termination_Done already defined
in L

IBCMT.lib(crt0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __exitflag already defined in
LIBCMT.lib(

crt0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __wpgmptr already defined in
LIBCMT.lib(c

rt0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __pgmptr already defined in
LIBCMT.lib(cr

t0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: ___winitenv already defined in
LIBCMT.lib

(crt0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __wenviron already defined in
LIBCMT.lib(

crt0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: ___initenv already defined in
LIBCMT.lib(

crt0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __environ already defined in
LIBCMT.lib(c

rt0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: ___wargv already defined in
LIBCMT.lib(cr

t0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: ___argv already defined in LIBCMT.lib
(crt

0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: ___argc already defined in LIBCMT.lib
(crt

0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __winminor already defined in
LIBCMT.lib(

crt0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __winmajor already defined in
LIBCMT.lib(

crt0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __winver already defined in
LIBCMT.lib(cr

t0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __osver already defined in LIBCMT.lib
(crt

0dat.obj)

LIBC.lib(crt0dat.obj) : error LNK2005: __umaskval already defined in
LIBCMT.lib(

crt0dat.obj)

LIBC.lib(crt0dat.obj) : warning LNK4006: __cinit already defined in
LIBCMT.lib(c

rt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: _exit already defined in LIBCMT.lib
(crt

0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __exit already defined in
LIBCMT.lib(cr

t0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __cexit already defined in
LIBCMT.lib(c

rt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __c_exit already defined in
LIBCMT.lib(

crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __C_Exit_Done already defined in
LIBCMT

.lib(crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __C_Termination_Done already
defined in

 LIBCMT.lib(crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __exitflag already defined in
LIBCMT.li

b(crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __wpgmptr already defined in
LIBCMT.lib

(crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __pgmptr already defined in
LIBCMT.lib(

crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: ___winitenv already defined in
LIBCMT.l

ib(crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __wenviron already defined in
LIBCMT.li

b(crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: ___initenv already defined in
LIBCMT.li

b(crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __environ already defined in
LIBCMT.lib

(crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: ___wargv already defined in
LIBCMT.lib(

crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: ___argv already defined in
LIBCMT.lib(c

rt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: ___argc already defined in
LIBCMT.lib(c

rt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __winminor already defined in
LIBCMT.li

b(crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __winmajor already defined in
LIBCMT.li

b(crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __winver already defined in
LIBCMT.lib(

crt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __osver already defined in
LIBCMT.lib(c

rt0dat.obj); second definition ignored

LIBC.lib(crt0dat.obj) : warning LNK4006: __umaskval already defined in
LIBCMT.li

b(crt0dat.obj); second definition ignored

   Creating library mapserver_i.lib and object mapserver_i.exp

LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs;
use

/NODEFAULTLIB:library

maprasterquery.obj : error LNK2001: unresolved external symbol
___security_cooki

e

mapogcfilter.obj : error LNK2001: unresolved external symbol
___security_cookie

mapogcsld.obj : error LNK2001: unresolved external symbol ___security_cookie

layerobject.obj : error LNK2001: unresolved external symbol
___security_cookie

mapgdal.obj : error LNK2001: unresolved external symbol ___security_cookie

mapdrawgdal.obj : error LNK2001: unresolved external symbol
___security_cookie

mapjoin.obj : error LNK2001: unresolved external symbol ___security_cookie

mapgraticule.obj : error LNK2001: unresolved external symbol
___security_cookie

maplayer.obj : error LNK2001: unresolved external symbol ___security_cookie

maporaclespatial.obj : error LNK2001: unresolved external symbol
___security_coo

kie

mapgd.obj : error LNK2001: unresolved external symbol ___security_cookie

mapoutput.obj : error LNK2001: unresolved external symbol ___security_cookie

mapraster.obj : error LNK2001: unresolved external symbol ___security_cookie

mapogr.obj : error LNK2001: unresolved external symbol ___security_cookie

maptemplate.obj : error LNK2001: unresolved external symbol
___security_cookie

mappostgis.obj : error LNK2001: unresolved external symbol
___security_cookie

maputil.obj : error LNK2001: unresolved external symbol ___security_cookie

mapscale.obj : error LNK2001: unresolved external symbol ___security_cookie

maplabel.obj : error LNK2001: unresolved external symbol ___security_cookie

maperror.obj : error LNK2001: unresolved external symbol ___security_cookie

mapstring.obj : error LNK2001: unresolved external symbol ___security_cookie

mapsymbol.obj : error LNK2001: unresolved external symbol ___security_cookie

mapfile.obj : error LNK2001: unresolved external symbol ___security_cookie

maplegend.obj : error LNK2001: unresolved external symbol ___security_cookie

mapshape.obj : error LNK2001: unresolved external symbol ___security_cookie

mapxbase.obj : error LNK2001: unresolved external symbol ___security_cookie

mapparser.obj : error LNK2001: unresolved external symbol ___security_cookie

maptree.obj : error LNK2001: unresolved external symbol ___security_cookie

maprasterquery.obj : error LNK2001: unresolved external symbol
@__security_check

_cookie at 4

mapogcfilter.obj : error LNK2001: unresolved external symbol
@__security_check_c

ookie at 4

mapogcsld.obj : error LNK2001: unresolved external symbol
@__security_check_cook

ie at 4

layerobject.obj : error LNK2001: unresolved external symbol
@__security_check_co

okie at 4

mapgdal.obj : error LNK2001: unresolved external symbol
@__security_check_cookie

@4

mapdrawgdal.obj : error LNK2001: unresolved external symbol
@__security_check_co

okie at 4

mapjoin.obj : error LNK2001: unresolved external symbol
@__security_check_cookie

@4

mapgraticule.obj : error LNK2001: unresolved external symbol
@__security_check_c

ookie at 4

maplayer.obj : error LNK2001: unresolved external symbol
@__security_check_cooki

e at 4

maporaclespatial.obj : error LNK2001: unresolved external symbol
@__security_che

ck_cookie at 4

mapgd.obj : error LNK2001: unresolved external symbol
@__security_check_cookie at 4



mapoutput.obj : error LNK2001: unresolved external symbol
@__security_check_cook

ie at 4

mapraster.obj : error LNK2001: unresolved external symbol
@__security_check_cook

ie at 4

mapogr.obj : error LNK2001: unresolved external symbol
@__security_check_cookie@

4

maptemplate.obj : error LNK2001: unresolved external symbol
@__security_check_co

okie at 4

mappostgis.obj : error LNK2001: unresolved external symbol
@__security_check_coo

kie at 4

maputil.obj : error LNK2001: unresolved external symbol
@__security_check_cookie

@4

mapscale.obj : error LNK2001: unresolved external symbol
@__security_check_cooki

e at 4

maplabel.obj : error LNK2001: unresolved external symbol
@__security_check_cooki

e at 4

maperror.obj : error LNK2001: unresolved external symbol
@__security_check_cooki

e at 4

mapstring.obj : error LNK2001: unresolved external symbol
@__security_check_cook

ie at 4

mapsymbol.obj : error LNK2001: unresolved external symbol
@__security_check_cook

ie at 4

mapfile.obj : error LNK2001: unresolved external symbol
@__security_check_cookie

@4

maplegend.obj : error LNK2001: unresolved external symbol
@__security_check_cook

ie at 4

mapshape.obj : error LNK2001: unresolved external symbol
@__security_check_cooki

e at 4

mapxbase.obj : error LNK2001: unresolved external symbol
@__security_check_cooki

e at 4

mapparser.obj : error LNK2001: unresolved external symbol
@__security_check_cook

ie at 4

maptree.obj : error LNK2001: unresolved external symbol
@__security_check_cookie

@4

mapgraticule.obj : error LNK2001: unresolved external symbol __ftol2_sse

mapimagemap.obj : error LNK2001: unresolved external symbol __ftol2_sse

maprasterquery.obj : error LNK2001: unresolved external symbol __ftol2_sse

mapogcsld.obj : error LNK2001: unresolved external symbol __ftol2_sse

maporaclespatial.obj : error LNK2001: unresolved external symbol __ftol2_sse

mapdraw.obj : error LNK2001: unresolved external symbol __ftol2_sse

mapgd.obj : error LNK2001: unresolved external symbol __ftol2_sse

mapdrawgdal.obj : error LNK2001: unresolved external symbol __ftol2_sse

maplegend.obj : error LNK2001: unresolved external symbol __ftol2_sse

maplabel.obj : error LNK2001: unresolved external symbol __ftol2_sse

maperror.obj : error LNK2001: unresolved external symbol __ftol2_sse

mapogr.obj : error LNK2001: unresolved external symbol __ftol2_sse

mapshape.obj : error LNK2001: unresolved external symbol __ftol2_sse

mapxbase.obj : error LNK2001: unresolved external symbol __ftol2_sse

mapsymbol.obj : error LNK2001: unresolved external symbol __ftol2_sse

mapfile.obj : error LNK2001: unresolved external symbol __ftol2_sse

mapgraticule.obj : error LNK2001: unresolved external symbol __wassert

mapmygis.obj : error LNK2001: unresolved external symbol __wassert

maprasterquery.obj : error LNK2001: unresolved external symbol __wassert

mapoutput.obj : error LNK2001: unresolved external symbol __wassert

mapgdal.obj : error LNK2001: unresolved external symbol __wassert

mapwfslayer.obj : error LNK2001: unresolved external symbol __wassert

mapdrawgdal.obj : error LNK2001: unresolved external symbol __wassert

mappostgis.obj : error LNK2001: unresolved external symbol __wassert

maplayer.obj : error LNK2001: unresolved external symbol __wassert

maporaclespatial.obj : error LNK2001: unresolved external symbol __wassert

mapdraw.obj : error LNK2001: unresolved external symbol __wassert

mapshape.obj : error LNK2001: unresolved external symbol __wassert

mapprimitive.obj : error LNK2001: unresolved external symbol __wassert

mapsde.obj : error LNK2001: unresolved external symbol __wassert

mapogr.obj : error LNK2001: unresolved external symbol __wassert

mapparser.obj : error LNK2001: unresolved external symbol __alloca_probe_16

maptemplate.obj : error LNK2001: unresolved external symbol ___iob_func

mapgd.obj : error LNK2001: unresolved external symbol ___iob_func

mapgdal.obj : error LNK2001: unresolved external symbol ___iob_func

mapimagemap.obj : error LNK2001: unresolved external symbol ___iob_func

maplexer.obj : error LNK2001: unresolved external symbol ___iob_func

maptree.obj : error LNK2001: unresolved external symbol ___iob_func

maperror.obj : error LNK2001: unresolved external symbol ___iob_func

cgiutil.obj : error LNK2001: unresolved external symbol ___iob_func

maputil.obj : error LNK2001: unresolved external symbol __time64

maperror.obj : error LNK2001: unresolved external symbol __time64

maptemplate.obj : error LNK2001: unresolved external symbol __time64

maperror.obj : error LNK2001: unresolved external symbol __ctime64

mapraster.obj : error LNK2001: unresolved external symbol _get_row

mapraster.obj : error LNK2001: unresolved external symbol _position

mapraster.obj : error LNK2001: unresolved external symbol _clrclose

mapraster.obj : error LNK2001: unresolved external symbol _clrget

mapraster.obj : error LNK2001: unresolved external symbol _clrreset

mapraster.obj : error LNK2001: unresolved external symbol _eppclose

mapraster.obj : error LNK2001: unresolved external symbol _eppreset

maptime.obj : error LNK2001: unresolved external symbol __ftime64

maptemplate.obj : error LNK2001: unresolved external symbol __stat64i32

mapogcfilter.obj : error LNK2001: unresolved external symbol
_CPLSearchXMLNode

mapogcsld.obj : error LNK2001: unresolved external symbol
_msOWSLookupMetadata

mapogcsld.obj : error LNK2001: unresolved external symbol
_msOWSGetSchemasLocati

on

mapregex.obj : error LNK2001: unresolved external symbol _regcomp

mapregex.obj : error LNK2001: unresolved external symbol _regerror

mapregex.obj : error LNK2001: unresolved external symbol _regexec

mapregex.obj : error LNK2001: unresolved external symbol _regfree
thanx in avdance for your help,


greets,

Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060710/3c592ebc/attachment.htm>


More information about the MapServer-users mailing list