[Xastir] undefined reference resolving _xmArrowButtonClass

Curt, WE7U archer at eskimo.com
Mon Jan 17 12:51:33 EST 2005


On Mon, 17 Jan 2005, Jason & Kim Conolly wrote:

> Using a clean Cygwin / Xastir download from the Lintronix, including any
> components I noticed from the Readme.W32, adding GDAL, and using
> Xastir-1.4.2 source from CVS, I seem to be making some progress.
>
> Configure now reports ImageMagick and GDAL available; that's heading in
> the right direction.
>
> When running make, I am only seeing one error:
> resolving _xmArrowButtonGadgetClass by linking to
> __imp__xmArrowButtmap_gdal.o(.text+0x3fc5):mag_gdal.c:  undefined
> reference to '_draw_shapefile_map' onGadgetClass (auto-import)
>
> My guess is that I need another library installed to enable GDAL...
> probably shapelib.  Can anyone confirm this?

I'm trying to figure out why xmArrowButtonGadgetClass needs to be
linked to draw_shapefile_map.  That makes no sense to me.  One is a
gadget (a GUI object).  The other is called to draw shapefile maps
to the pixmap and is one of our custom Xastir functions.

It looks to me like there are two messages concatenated together.

> resolving _xmArrowButtonGadgetClass by linking to
> __imp__xmArrowButt

The above looks like an informational or warning message, but
perhaps not an error.


> map_gdal.o(.text+0x3fc5):mag_gdal.c:  undefined
> reference to '_draw_shapefile_map' onGadgetClass (auto-import)

That one looks like there's some information missing in it.  Perhaps
you could look through your make.log file (if you used update-xastir
to compile it) to see what the error message really was.

I think you might need Shapelib in order to compile GDAL.  That
might let you compile it without figuring out the above.

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"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