[Xastir] compile error

Curt Mills, WE7U hacker at tc.fluke.com
Wed Jul 23 13:50:27 EDT 2003


On Wed, 23 Jul 2003, vic wrote:

> now what am I missing:
>
> cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include -I/usr/X11R6/include
> -DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"  -g -O2 -pipe -pthread -c
> `test -f 'map_geo.c' || echo './'`map_geo.c
> map_geo.c: In function `draw_geo_image_map':
> map_geo.c:154: `XpmAttributes' undeclared (first use in this function)
> map_geo.c:154: (Each undeclared identifier is reported only once
> map_geo.c:154: for each function it appears in.)
> map_geo.c:154: parse error before "atb"
> map_geo.c:670: `atb' undeclared (first use in this function)
> map_geo.c:1169: `XpmSuccess' undeclared (first use in this function)

It looks to me like the ifdef's that separate the code into XPM and
ImageMagick pieces are broken in that routine.  It looks like
map_tiger.c and maps.c are broken in a similar manner.

If a system has neither ImageMagick nor XPM, or else just has
ImageMagick but not XPM, things will break.  Is your system in one
of these categories?  If so, don't fix that by installing either of
them.  Let's get this problem fixed the right way first.

-- 
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 mailing list