[Xastir-Dev] Undefined references to ImageMagick 5.3.9

Dave Burnett wd8krv at arrl.net
Sun Oct 27 13:30:20 EST 2002


When attempting to compile the 24 October tarball, the following
warnings are reported from maps.c:

maps.c: In function `draw_geo_image_map':
maps.c:5617: warning: implicit declaration of function `LevelImage'
maps.c:5717: warning: int format, long int arg (arg 2)
maps.c: In function `draw_tiger_map':
maps.c:6413: warning: int format, long int arg (arg 2)

This section of maps.c is a series of if statements whose execution is
dependent upon the version of ImageMagick libraries, and is particularly
dependent on version 5.3.9.  These warnings will cause the linker to
blow chunks:

maps.o: In function `draw_geo_image_map':
/usr/local/xastir113-2002-Oct-24/src/maps.c:5617: undefined reference to
`LevelImage'
maps.o: In function `draw_tiger_map':
/usr/local/xastir113-2002-Oct-24/src/maps.c:6247: undefined reference to
`LevelImage'
collect2: ld returned 1 exit status


I'm currently compiling ImageMagick 5.4.9 to see if the problem goes
away (since the if block is specific to  5.3.9).  Environment is Debian
2.2, 2.2.15 kernel.

Cheers,
Dave
WD8KRV



More information about the Xastir-dev mailing list