[Xastir-Dev] Undefined references to ImageMagick 5.3.9

Curt Mills, WE7U hacker at tc.fluke.com
Tue Oct 29 14:52:44 EST 2002


On Sun, 27 Oct 2002, Dave Burnett wrote:

> 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.

Does anyone remember:  Was that the version number that more than
one ImageMagick release reported?

We had trouble with ImageMagick at one point where they changed
their API, but the version reported by "MagickLibVersion" stayed the
same.  We had no way to figure out which API to use in our code
because of this.  If you pick the wrong ImageMagick version, there's
no way around it without hand-tweaking our code to match.  Shame on
the ImageMagick developers for allowing this!

They also keep changing their C API at will, and we keep having to
play catch-up because of it.  As long as they tweak their reported
version number each time they change it, at least there's a way to
recover from it (by changing our code each time and putting #ifdef's
everywhere).


> 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.

Did that fix it?

-- 
Curt Mills, WE7U                    hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math!"
"Windows:  Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir-dev mailing list