Gpsd Make problems (DeLorme Tripmate)
So I found my old Tripmate GPS by DeLorme, and I thought it would be cool if I could start mapping access points with Kismet. I researched it a bit, and found out I needed gpsd to run the GPS.
I downloaded gpsd, and it configured fine. I went to make it, and it came back with an error...
CODE
root@Brian:~/Desktop/gpsd-2.29# make
make all-am
make[1]: Entering directory `/root/Desktop/gpsd-2.29'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -I/usr/X11R6/include -MT xgpsspeed.o -MD -MP -MF ".deps/xgpsspeed.Tpo" -c -o xgpsspeed.o xgpsspeed.c; \
then mv -f ".deps/xgpsspeed.Tpo" ".deps/xgpsspeed.Po"; else rm -f ".deps/xgpsspeed.Tpo"; exit 1; fi
In file included from xgpsspeed.c:12:
/usr/X11R6/include/Xm/XmStrDefs.h:959: error: syntax error before "extern"
xgpsspeed.c:13:25: ltsys/filio.h: No such file or directory
make[1]: *** [xgpsspeed.o] Error 1
make[1]: Leaving directory `/root/Desktop/gpsd-2.29'
make: *** [all] Error 2
It runs the same error when I am running as my user, not just when I am root. I searched google far and Wide, and never found anything relevant. So, I decided to try getting GpsDrive. It said it used a form of Gpsd, so I figured it wouldn’t hurt to try.
GpsDrive made fine, and it runs great, but it won't recognize my Tripmate. I run it on the serial port, and it's device path is /dev/ttys3, I believe. I set this all up, and it still doesn't work. It just stays centered somewhere in Europe, moving at 999 m/h.
Now, there is obviously a version of Gpsd installed on my machine, because it recognizes the command, but it won't recognize the commands of the programs bundles with gpsd, such as xgps. Is the version I have because of installing GpsDrive good enough to run with Kismet? Also, what am I doing wrong? I have the Baudrate set at 4800 and I try running "gpsd" with the -T t specification for the Tripmate, but I never get results. Kismet just keep searching for the Gps.
I am running Slackware 10.1 on an HP Omnibook 4150, so it’s a pretty old computer. Are there any live distros that have gpsd already on them that I could try out?
Any help at all would be great. I have been stuck here for about 4 hours of troubleshooting, and it's starting to bug me. Thanks in advance!
|