[ gpsdrive ] [gpsdrive] make error on gps_handler

Kugelblitz Kugelblitz123 at gmx.de
Thu May 20 10:37:31 AKDT 2010


Hey Folks,

 

i tried to run "make" on svn r2551, but it stopped with several errors. I am
using Ubuntu 10.04 with gpsd 2.92

 

[  3%] Building C object src/CMakeFiles/gpsdrive.dir/friends.o

[  3%] Building C object src/CMakeFiles/gpsdrive.dir/geometry.o

[  3%] Building C object src/CMakeFiles/gpsdrive.dir/gpsdrive.o

[  3%] Building C object src/CMakeFiles/gpsdrive.dir/gpsdrive_config.o

[  3%] Building C object src/CMakeFiles/gpsdrive.dir/gps_handler.o

/home/helge/src/gpsdrive-trunk/src/gps_handler.c: In function 'gps_hook_cb':

/home/helge/src/gpsdrive-trunk/src/gps_handler.c:330: error: 'struct
gps_data_t' has no member named 'satellites'

/home/helge/src/gpsdrive-trunk/src/gps_handler.c:348: error: 'struct
gps_data_t' has no member named 'satellites'

/home/helge/src/gpsdrive-trunk/src/gps_handler.c:357: error: 'struct
gps_data_t' has no member named 'hdop'

/home/helge/src/gpsdrive-trunk/src/gps_handler.c:358: error: 'struct
gps_fix_t' has no member named 'eph'

/home/helge/src/gpsdrive-trunk/src/gps_handler.c:372: error: 'struct
gps_data_t' has no member named 'satellites'

/home/helge/src/gpsdrive-trunk/src/gps_handler.c:374: error: 'struct
gps_data_t' has no member named 'satellites'

make[2]: *** [src/CMakeFiles/gpsdrive.dir/gps_handler.o] Fehler 1

 

what i found about that error is described here :

 

10. I got another error, "/src/gps_handler.c:322: error: 'struct gps_data_t'
has no member named

'satellites'". The page at http://gpsd.berlios.de/protocol-transition.html
says this is because

'satellites' has become 'satellites_visible'. I changed the references that
threw errors. Two more

errors also came up:

                                gpsdrive-2.10pre7/src/gps_handler.c:341:
error: 'struct gps_data_t' has no member named 'hdop'

                                gpsdrive-2.10pre7/src/gps_handler.c:342:
error: 'struct gps_fix_t' has no member named 'eph'

The same page tells me that this is because "There is a new substructure,
dop, which holds the

dilution-of-precision factors". Instead of writing a proper fix, I just
changed the two lines to store

zero in the variables, to get it to compile.

http://permalink.gmane.org/gmane.comp.linux.gps/5587

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20100520/1314fff7/attachment.html>


More information about the GPSdrive mailing list