[Xastir] Xastir 1.9.1 from 21.sept

Luka s57lx at hamradio.si
Tue Sep 25 14:30:37 EDT 2007


Hello!

Today I tried to compile a newer version of xastir but I get this error 
messages:

main.c: In function ‘BuildPredefinedSARMenu_UI’:
main.c:9114: warning: cast to pointer from integer of different size
main.c:9126: warning: cast to pointer from integer of different size
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I../src/shapelib 
-I/usr/local/include -I/usr/include 
-DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"  -g -O2 -pipe -W -Wall 
-Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -pthread -MT 
maps.o -MD -MP -MF ".deps/maps.Tpo" -c -o maps.o maps.c; \
         then mv -f ".deps/maps.Tpo" ".deps/maps.Po"; else rm -f 
".deps/maps.Tpo"; exit 1; fi
maps.c: In function ‘Print_postscript_destroy_shell’:
maps.c:3918: warning: zero-length printf format string
maps.c:3918: warning: zero-length printf format string
maps.c: In function ‘load_alert_maps’:
maps.c:8319: warning: format ‘%d’ expects type ‘int’, but argument 4 has 
type ‘size_t’
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I../src/shapelib 
-I/usr/local/include -I/usr/include 
-DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"  -g -O2 -pipe -W -Wall 
-Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -pthread -MT 
map_cache.o -MD -MP -MF ".deps/map_cache.Tpo" -c -o map_cache.o 
map_cache.c; \
         then mv -f ".deps/map_cache.Tpo" ".deps/map_cache.Po"; else rm 
-f ".deps/map_cache.Tpo"; exit 1; fi
map_cache.c: In function ‘map_cache_put’:
map_cache.c:248: warning: value computed is not used
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I../src/shapelib 
-I/usr/local/include -I/usr/include 
-DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"  -g -O2 -pipe -W -Wall 
-Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -pthread -MT 
map_dos.o -MD -MP -MF ".deps/map_dos.Tpo" -c -o map_dos.o map_dos.c; \
         then mv -f ".deps/map_dos.Tpo" ".deps/map_dos.Po"; else rm -f 
".deps/map_dos.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I../src/shapelib 
-I/usr/local/include -I/usr/include 
-DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"  -g -O2 -pipe -W -Wall 
-Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -pthread -MT 
map_gdal.o -MD -MP -MF ".deps/map_gdal.Tpo" -c -o map_gdal.o map_gdal.c; \
         then mv -f ".deps/map_gdal.Tpo" ".deps/map_gdal.Po"; else rm -f 
".deps/map_gdal.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I../src/shapelib 
-I/usr/local/include -I/usr/include 
-DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"  -g -O2 -pipe -W -Wall 
-Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -pthread -MT 
map_geo.o -MD -MP -MF ".deps/map_geo.Tpo" -c -o map_geo.o map_geo.c; \
         then mv -f ".deps/map_geo.Tpo" ".deps/map_geo.Po"; else rm -f 
".deps/map_geo.Tpo"; exit 1; fi
map_geo.c: In function ‘draw_geo_image_map’:
map_geo.c:1596: warning: value computed is not used
map_geo.c:1928: warning: format ‘%i’ expects type ‘int’, but argument 3 
has type ‘double’
map_geo.c:1928: warning: format ‘%i’ expects type ‘int’, but argument 4 
has type ‘double’
map_geo.c:1928: warning: format ‘%i’ expects type ‘int’, but argument 5 
has type ‘double’
map_geo.c:1948: error: invalid operands to binary <<
map_geo.c:1949: error: invalid operands to binary <<
map_geo.c:1950: error: invalid operands to binary <<
map_geo.c:2296: error: array subscript is not an integer
map_geo.c:2300: error: array subscript is not an integer
make[3]: *** [map_geo.o] Error 1
make[3]: Leaving directory `/opt/xastir-1.9.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/xastir-1.9.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/xastir-1.9.1'
make: *** [all] Error 2

Now I hope that this will help the devs, and I hope this will be fixed soon.

Kind regards,
Luka - s57lx

-- 
BOFH Excuse #27:

radiosity depletion

Luka Goltnik - S57LX, s57lx at hamradio.si

http://lea.hamradio.si/~s57lx



More information about the Xastir mailing list