gpsd-dev
[Top][All Lists]
Advanced

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

[gpsd-dev] ppsthread broken if no TIMEPPS


From: Hal Murray
Subject: [gpsd-dev] ppsthread broken if no TIMEPPS
Date: Thu, 12 Feb 2015 11:03:21 -0800

(or maybe something else.  I haven't looked carefully.)

>From HEAD a few minutes ago

gpsd_config.h:/* #undef HAVE_SYS_TIMEPPS_H */
S_SPLINT_S is also involved, but I haven't figured out where it does/doesn't 
come from.

gcc -o ppsthread.os -c -Wmissing-prototypes -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wstrict-prototypes -Wpointer-arith -Wreturn-type -pthread 
-Wmissing-declarations -O2 -pthread -fPIC ppsthread.c
ppsthread.c: In function 'gpsd_ppsmonitor':
ppsthread.c:342:2: error: 'pthread_err' undeclared (first use in this 
function)
  pthread_err = pthread_mutex_lock(&ppslast_mutex);
  ^
ppsthread.c:342:2: note: each undeclared identifier is reported only once for 
each function it appears in
scons: *** [ppsthread.os] Error 1
scons: building terminated because of errors.


-- 
These are my opinions.  I hate spam.






reply via email to

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