[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Can not build git head on ubuntu 12.04
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] Can not build git head on ubuntu 12.04 |
Date: |
Fri, 1 Nov 2013 07:28:08 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
address@hidden <address@hidden>:
>
> Hello,
>
> build fail with
>
> gcc -o ppsthread.os -c -D_GNU_SOURCE -Wextra -Wall -Wno-uninitialized
> -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations
> -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type
> -pthread -Wmissing-prototypes -Wmissing-declarations -O2 -fPIC
> -I/usr/include/libusb-1.0 ppsthread.c
> ppsthread.c: In function 'gpsd_ppsmonitor':
> ppsthread.c:195:22: error: 'pi' undeclared (first use in this function)
> ppsthread.c:195:22: note: each undeclared identifier is reported only once
> for each function it appears in
> ppsthread.c:195:36: error: 'pps_info_t' undeclared (first use in this
> function)
> scons: *** [ppsthread.os] Error 1
> scons: building terminated because of errors.
Fixed in head. You didn't have pps-tools installed, I see. That's actually
good, because Gary and I both do and it affects the build.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>