SDE HELP! (fwd)

teb teb at mallit.fr.umn.edu
Wed Feb 14 11:43:09 PST 2001


------------- Begin Forwarded Message -------------

From: "Kuster, Egon" <Egon.Kuster at dsto.defence.gov.au>
To: "'mapserver-info at lists.gis.umn.edu'" 
<mapserver-info at lists.gis.umn.edu>
Subject: SDE HELP!
Date: Mon, 12 Feb 2001 14:46:18 +1030
MIME-Version: 1.0

I am trying to compile mapserver with the SDE support, I get the 
following
compile errors:

C:\mapserver\source\mapserver>nmake Makefile.vc

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cd gd-1.2
        nmake /f makefile.nt OPTFLAGS="/nologo /Zi /W3 /DDEBUG"

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl gddemo.obj -o gddemo /link /LIBPATH:. gd.lib
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 
for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:gddemo.exe
/out:gddemo.exe
/LIBPATH:.
gd.lib
gddemo.obj
        cl giftogd.obj -o giftogd       /link /LIBPATH:. gd.lib
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 
for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:giftogd.exe
/out:giftogd.exe
/LIBPATH:.
gd.lib
giftogd.obj
        cl webgif.obj -o webgif /link /LIBPATH:. gd.lib
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 
for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:webgif.exe
/out:webgif.exe
/LIBPATH:.
gd.lib
webgif.obj
        cd ..
        cd gdft
        nmake /f makefile.vc OPTFLAGS="/nologo /Zi /W3 /DDEBUG"

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cd ..
        cl /nologo /Zi /W3 /DDEBUG -I./gd-1.2   -I../freetype/lib 
-I./gdft
-I./regex-0.12 -IC:\arcgis\arcexe81\arcsde\include 
-DHAVE_STRING_H
-DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP   -DUSE_EPPL  
-DUSE_TTF
-DUSE_GD_1_2 -DUSE_SDE mapserv.c mapserver.lib gd-1.2/gd.lib
../freetype/lib/freetype.lib ./gdft/gdft.lib
C:\arcgis\arcexe81\arcsde\lib\*.lib
mapserv.c
mapserv.c(165) : warning C4018: '!=' : signed/unsigned mismatch
mapserv.c(230) : warning C4244: '=' : conversion from 'double ' 
to 'int ',
possible loss of data
mapserv.c(239) : warning C4244: '=' : conversion from 'double ' 
to 'int ',
possible loss of data
mapserv.c(579) : warning C4244: '=' : conversion from 'double ' 
to 'int ',
possible loss of data
mapserv.c(580) : warning C4244: '=' : conversion from 'double ' 
to 'int ',
possible loss of data
mapserv.c(605) : warning C4244: '=' : conversion from 'double ' 
to 'int ',
possible loss of data
mapserv.c(606) : warning C4244: '=' : conversion from 'double ' 
to 'int ',
possible loss of data
LIBC.lib(crt0init.obj) : warning LNK4098: defaultlib "libcd.lib" 
conflicts
with use of other libs; use /NODEFAULTLIB:library
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_connection_free
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_shape_free
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_stream_free
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_shape_clip
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_shape_is_nil
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_stream_fetch
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_stream_execute
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_stream_describe_column
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_stream_bind_output_column
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_stream_set_spatial_constraints
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_stream_query
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_stream_create
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_sql_construct_alloc
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_shape_generate_rectangle
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_shape_create
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_layerinfo_get_envelope
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_layerinfo_get_coordref
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_coordref_create
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_layer_get_info
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_layerinfo_create
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_connection_create
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_error_get_string
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_shape_get_all_points
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_shape_get_num_points
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_shape_get_type
mapserver.lib(mapsde.obj) : error LNK2001: unresolved external 
symbol
_SE_shape_get_num_parts
mapserv.exe : fatal error LNK1120: 26 unresolved externals
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

What version of the SDE API did you use when writing mapserver, 
do you have
a distribution of mapserver that I can use that contains SDE 
support or do
you have any pointers for trying to run mapserver with connecting 
to the
ESRI SDE.

I have also attached a copy of the make file that I am using. 
<<Makefile.vc>> 

Egon Kuster
Defence, Science & Technology Organisation
Information Technology Division
Australia
Phone: +61 8 8259 5175
Fax: +61 8 8259 5169
Email: egon.kuster at dsto.defence.gov.au

------------- End Forwarded Message -------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.vc
Type: text/x-sun-makefile
Size: 5279 bytes
Desc: Makefile.vc
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20010214/85fd8d0f/attachment.bin>


More information about the MapServer-users mailing list