I got everything to compile and found out two things:
If I revert back to acinclude.m4 1.50 I can compile ColormapEditor.C.
The real problem was that I was still using gcc 2.8.1. After ugrading to
gcc 2.95.2 then everything builds using acinclude.m4 1.51
The latest Image Magick 5.2.2 does indeed work much better for saving IM
Supported formats.
Jeff
On Thu, 6 Jul 2000, Jeff Braun wrote:
> I have been out of town for most of the last 2 weeks and I was trying to
> do an updated build from CVS. My last cvs update was June 20, right
> before Greg updated acinclude.m4. At that time I did not have any
> problems with my machine which uses the gcc compiler. But I was having
> problems with another machine that I use the SGI compiler on:
>
> cc-1070 CC: ERROR File = ColormapEditor.C, Line = 556
> The indicated type is incomplete.
> struct STATSTRUCT statbuf;
>
> Now, I have the opposite problem. Everything builds fine with the SGI
> compiler, but on my SGI I get:
>
> ColormapEditor.C: In method `void ColormapEditor::manage()':
> ColormapEditor.C:556: aggregate `struct _stat statbuf' has incomplete type
> and cannot be initialized
> ColormapEditor.C:558: confused by earlier errors, bailing out
>
> Same problem in DXChild. I believe these are the same problems Randall
> was having IRIX. There are a couple of other differences between the
> machines: on mine I have installed Image Magick 5.2.2 and the other one
> has IM 5.2.0.
>
> Any suggestions?
>
> Jeff
>
>
----------------------------------------------------------------------
Jeff Braun Geophysics Dept.
mailto: [EMAIL PROTECTED] Montana Tech
(406) 496-4206 1300 W. Park St.
Butte, MT 59701