[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] ppsthread broken if no TIMEPPS
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] ppsthread broken if no TIMEPPS |
Date: |
Thu, 12 Feb 2015 14:26:52 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hal Murray <address@hidden>:
> (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.
Fixed, thanks.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>