[Mapserver-users] compile problem, mapserver 4.0.1, gd 2.022, 2.0.17
Robert W. Burgholzer
rburghol at vt.edu
Sun Feb 22 09:13:17 PST 2004
Hello,
I am attempting to compile mapserver 4.0.1 on redhat 7.3 with gd 2.0.22
(upgraded from 2.0.17 cause of errors to no avail).
I had to install and define libiconv due to errors related to gd during
configure.
I am getting the following set of errors during make, during the mapgd.c,
after which it quits:
gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS
-I/usr/include -I/usr/local/pgsql/include mapgd.c -o mapgd.o
mapgd.c: In function `msImageCreateGD':
mapgd.c:79: warning: implicit declaration of function `gdImageCreateTrueColor'
mapgd.c:79: warning: assignment makes pointer from integer without a cast
mapgd.c: In function `msImageInitGD':
mapgd.c:136: warning: implicit declaration of function `gdTrueColorAlpha'
mapgd.c:141: warning: implicit declaration of function `gdTrueColor'
mapgd.c:148: structure has no member named `tpixels'
mapgd.c:133: warning: `tpixels' might be used uninitialized in this function
mapgd.c: In function `createBrush':
mapgd.c:259: warning: assignment makes pointer from integer without a cast
mapgd.c:260: warning: implicit declaration of function `gdImageAlphaBlending'
mapgd.c: In function `ImageFilledPolygonAA':
mapgd.c:333: warning: implicit declaration of function
`gdImageSetAntiAliasedDontBlend'
mapgd.c:334: `gdAntiAliased' undeclared (first use in this function)
mapgd.c:334: (Each undeclared identifier is reported only once
mapgd.c:334: for each function it appears in.)
mapgd.c: In function `msDrawMarkerSymbolGD':
mapgd.c:1021: warning: implicit declaration of function `gdImageCopyResampled'
mapgd.c: In function `msDrawLineSymbolGD':
mapgd.c:1247: warning: implicit declaration of function
`gdImageSetAntiAliased'
mapgd.c:1248: `gdAntiAliased' undeclared (first use in this function)
mapgd.c: In function `msDrawShadeSymbolGD':
mapgd.c:1310: `gdAntiAliased' undeclared (first use in this function)
mapgd.c: In function `RenderCartoLine':
mapgd.c:1635: `gdAntiAliased' undeclared (first use in this function)
mapgd.c: In function `msDrawTextGD':
mapgd.c:2126: structure has no member named `alphaBlendingFlag'
mapgd.c: In function `msSaveImageGD':
mapgd.c:2427: warning: implicit declaration of function `gdImageSaveAlpha'
mapgd.c: In function `msFixedImageCopy':
mapgd.c:2540: `gdAlphaOpaque' undeclared (first use in this function)
mapgd.c: In function `msImageCopyMerge':
mapgd.c:2572: warning: implicit declaration of function `gdTrueColorGetAlpha'
mapgd.c:2575: `gdAlphaTransparent' undeclared (first use in this function)
mapgd.c:2592: warning: implicit declaration of function `gdTrueColorGetRed'
mapgd.c:2595: warning: implicit declaration of function `gdTrueColorGetGreen'
mapgd.c:2598: warning: implicit declaration of function `gdTrueColorGetBlue'
make: *** [mapgd.o] Error 1
Any help would be appreciated.
Robert
Robert W. Burgholzer
rburghol at veetee dot edu
History of Nutrition: "Buddha probably consumed a high-carb diet."
More information about the MapServer-users
mailing list