Hi, I am trying to compile gpsd, a version of it for my earthmate delorme GPS and I get an error on make, I can't seem to figure it out. The website for the version of gpsd that I am using is here
http://trans.civil.northwestern.edu/~jay/gpsd.html
Here are the errors I am getting
gcc -o gpsd gpsd.o -L. -lgpsd -lnsl -lm -lc -lusb
./libgpsd.a(m8.o): In function `takeover_device':
/root/gpsd-1.10_earthmate_usb/m8.c:129: undefined
reference to `usb_get_driver_np'
/root/gpsd-1.10_earthmate_usb/m8.c:135: undefined
reference to `usb_detach_kernel_driver_np'
./libgpsd.a(m8.o): In function `m8_findDevice':
/root/gpsd-1.10_earthmate_usb/m8.c:211: undefined
reference to `usb_get_string_simple'
/root/gpsd-1.10_earthmate_usb/m8.c:201: undefined
reference to `usb_get_string_simple'
/root/gpsd-1.10_earthmate_usb/m8.c:190: undefined
reference to `usb_get_string_simple'
./libgpsd.a(m8.o): In function `handle_M8input':
/root/gpsd-1.10_earthmate_usb/m8.c:361: undefined
reference to `usb_interrupt_read'
collect2: ld returned 1 exit status
make: *** [gpsd] Error 1
I am using redhat 8.0 with stock kernel. I thought it was the libusb so i downloaded the newest version and still get the same error.
HELP
thanks