Warnings with UNIX build - undefined functions
Bob Bruce
covariance at SHAW.CA
Wed May 11 20:19:19 PDT 2005
I am trying to build MapScript on a Debian UNIX system and am getting an
module that crashes when I am trying to create imagemaps. And it is weird
because the same source code works fine on my Windows 2000 Pro system.
So I have closely scrutinized the build messages on the UNIX system and see
some warnings that I'm not getting on my Windows system, these are:
mapwms.c: In function `msWMSGetStyles':
mapwms.c:2762: warning: implicit declaration of function `msSLDGenerateSLD'
mapwms.c:2762: warning: assignment makes pointer from integer without a cast
mapscript_i.c: In function `mapObj_applySLD':
mapscript_i.c:381: warning: implicit declaration of function `msSLDApplySLD'
mapscript_i.c: In function `mapObj_applySLDURL':
mapscript_i.c:385: warning: implicit declaration of function `msSLDApplySLDURL'
mapscript_i.c: In function `mapObj_generateSLD':
mapscript_i.c:390: warning: implicit declaration of function `msSLDGenerateSLD'
mapscript_i.c:390: warning: return makes pointer from integer without a cast
mapscript_i.c: In function `layerObj_generateSLD':
mapscript_i.c:589: warning: return makes pointer from integer without a cast
these functions are defined in the file: php_mapscript.h
and in this file the following statements enclose the definition of these
functions:
#ifndef _PHP_MAPSCRIPT_H_INCLUDED_
#define _PHP_MAPSCRIPT_H_INCLUDED_
#endif /* _PHP_MAPSCRIPT_H_INCLUDED_ */
I cannot find the value _PHP_MAPSCRIPT_H_INCLUDED_ defined anywhere and I am
mistified as to why these function definitions don't seem to be reached. Do
you have any ideas?
thanks,
Bob Bruce, Winnipeg, Manitoba
More information about the MapServer-users
mailing list