gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-users] Build Error on RHEL6


From: Andrew Smith
Subject: [gpsd-users] Build Error on RHEL6
Date: Tue, 17 Sep 2013 10:26:20 -0400

Hi,

I'm trying to build the gpsd software on RHEL6.  This release uses kernel 2.6.32 so in order to enable kernel PPS I've added the pps-tools software (chiefly to provide the timepps.h file).  When I compile the software using scons it encounters the following error:

gcc -o gpsd.o -c -D_GNU_SOURCE -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -I/usr/include/libusb-1.0 gpsd.c
In file included from /usr/include/sys/timepps.h:25,
                 from gpsd.h:338,
                 from gpsd.c:52:
/usr/include/linux/pps.h:54: error: expected specifier-qualifier-list before '__s64'
In file included from gpsd.h:338,
                 from gpsd.c:52:
/usr/include/sys/timepps.h: In function 'time_pps_getparams':
/usr/include/sys/timepps.h:124: error: 'struct pps_ktime' has no member named 'sec'
/usr/include/sys/timepps.h:125: error: 'struct pps_ktime' has no member named 'nsec'
/usr/include/sys/timepps.h:126: error: 'struct pps_ktime' has no member named 'sec'
/usr/include/sys/timepps.h:127: error: 'struct pps_ktime' has no member named 'nsec'
/usr/include/sys/timepps.h: In function 'time_pps_setparams':
/usr/include/sys/timepps.h:139: error: 'struct pps_ktime' has no member named 'sec'
/usr/include/sys/timepps.h:140: error: 'struct pps_ktime' has no member named 'nsec'
/usr/include/sys/timepps.h:141: error: 'struct pps_ktime' has no member named 'sec'
/usr/include/sys/timepps.h:142: error: 'struct pps_ktime' has no member named 'nsec'
/usr/include/sys/timepps.h: In function 'time_pps_fetch':
/usr/include/sys/timepps.h:167: error: 'struct pps_ktime' has no member named 'sec'
/usr/include/sys/timepps.h:168: error: 'struct pps_ktime' has no member named 'nsec'
/usr/include/sys/timepps.h:169: error: 'struct pps_ktime' has no member named 'flags'
/usr/include/sys/timepps.h:171: error: 'struct pps_ktime' has no member named 'flags'
/usr/include/sys/timepps.h:177: error: 'struct pps_ktime' has no member named 'sec'
/usr/include/sys/timepps.h:178: error: 'struct pps_ktime' has no member named 'nsec'
/usr/include/sys/timepps.h:179: error: 'struct pps_ktime' has no member named 'sec'
/usr/include/sys/timepps.h:180: error: 'struct pps_ktime' has no member named 'nsec'
gpsd.c: In function 'main':
gpsd.c:1894: warning: unused variable 'dp'
scons: *** [gpsd.o] Error 1
scons: building terminated because of errors.


Any suggestions on how to resolve this?  If this should be sent to the GPSD-DEV list instead please let me know that too...

Thanks!

Andy Smith



reply via email to

[Prev in Thread] Current Thread [Next in Thread]