[Gpsbabel-misc] GCC doesn't recognize "-lexpat" when compiling GPSBabel 1.3.3
GPSBabel converts and transfers data like waypoints, tracks & routes.
Brought to you by:
robertl
|
From: KWTm <kwt...@ta...> - 2007-05-23 14:28:30
|
Robert: Thank you for informing me that I should proceed further with attempting to get GPSBabel 1.3.3 working. Since the v1.3.3 RPM did not work, I tried the v1.3.2 Deb on the newest Feisty Ubuntu, without success (it depended on a newer libusb). So, I decided to compile it from source. After "./configure" and "make", everything seemed to compile to object files okay. But when it tried to link, it stopped with an error: gcc main.o globals.o [... insert about four dozen other filenames here ...] transform.o -lm -lexpat -o gpsbabel /usr/bin/ld: cannot find -lexpat collect2: ld returned 1 exit status make: *** [gpsbabel] Error 1 It appears to me that "-lexpat" is actually a command-line option, but for some reason gcc doesn't recognize it as such, and is trying to treat it as a filename. However, neither the man page nor Googling reveals what this option does and how I can get around it. I'm using gcc 4.0.3. Is my interpretation correct? What does the "-lexpat" option do, and what happens if I edit the makefile to leave it out? On Tuesday 22 May 2007 11:16 pm, Robert Lipe wrote: > > Hi, all. Have question; unable to search archives (clicking on > > "Archives" on mailing list web page results in "no archive specified" message). > > Works for me. Can you provide a specific URL, please? Certainly. From this page: http://www.gpsbabel.org/lists.html I go to this page: https://sourceforge.net/mailarchive/forum.php?forum=gpsbabel-misc which says: ERROR / No Forum Chosen Is that the link which you say works for you, or are you using a different link? Thanks. -- KWTm Garmin GPSMAP 76CSx This message sent on Ubuntu Linux (Kubuntu 6.06) |