(1) Incorrect behavior in absence of expat.
I built gpsbabel without the expat development package installed, so
'configure' correctly disabled GPX support. However, the build
process still attempts to link against -lexpat. Here's the output
checking for libexpat... -lexpat
checking for XML_ParserCreate in -lexpat... no
In config.h we get:
/* Defined if you have libexpat */
/* #undef HAVE_LIBEXPAT */
But in Makefile, we get:
gpsbabel$(EXEEXT): configure Makefile $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -lm -lexpat $(OUTPUT_SWITCH)$@
Also, the configure script doesn't deal well with "--without-libexpat"
(it simply adds "-Lno" to LDFLAGS).
(2) Converting from GPX to KML loses waypoint descriptions.
When converting KML files to GPX format, gpsbabel transforms the
<description> element into both <desc> and <cmt> elements in the
output document. Unfortunately, if you take a GPX document and
attempt to transform it into KML, all of the waypoint descriptions are
lost (gpsbabel appears to ignore both <cmt> and <desc> elements when
transforming GPX -> KML).
It's obvious that gpsbabel knows about waypoint descriptions in both
formats. Why are they discarded in one direction? I've been grabbing
bicycle route maps online and converting them to KML for display in
Google Earth, and losing the waypoint descriptions makes them much
Thanks for your help!