[Mapserver-users] Problem building the Java Mapscript module
Jean-Henry Berevoescu
bjh at globexplorer.com
Thu Jan 22 14:56:05 PST 2004
Hi,
I've recently read a message about this problem and I tried to
fix the problem with the paches as indicated
(http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?ObtainingAndInstallingTheSoftware)
The problem is still there.
Any hint/tip will be greatly apreciated.
Thanks,
Jean Berevoescu
Here is the output from the build:
======================================
[bjh at localhost java]$ make
/usr/local/swig/bin/swig -java -shadow -package edu.umn.gis.mapscript
mapscript.i
Deprecated command line option: -shadow. Proxy classes are now generated
by default.
gcc -fpic -c -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_TTF -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DGD_HAS_GDIMAGEGIFPTR -I/usr/java/j2sdk1.4.2_03/include
-I/usr/java/j2sdk1.4.2_03/include/linux mapscript_wrap.c
g++ -fpic -shared mapscript_wrap.o -o libmapscript.so -L/usr/local/lib
-L../.. -lmap -lgd -ljpeg -lttf -lpng -lz -ltiff -ljpeg -lpng -lz -ljpeg -lm
/usr/java/j2sdk1.4.2_03/bin/javac -d . *.java
outputFormatObj.java:134: setExtension(java.lang.String) is already
defined in edu.umn.gis.mapscript.outputFormatObj
public void setExtension(String extension) {
^
outputFormatObj.java:138: setMimetype(java.lang.String) is already
defined in edu.umn.gis.mapscript.outputFormatObj
public void setMimetype(String mimetype) {
^
mapObj.java:307: clone() in edu.umn.gis.mapscript.mapObj cannot override
clone() in java.lang.Object; attempting to use incompatible return type
found : edu.umn.gis.mapscript.mapObj
required: java.lang.Object
public mapObj clone() {
^
3 errors
make: *** [mapscript_java] Error 1
=====================================================
More information about the MapServer-users
mailing list