gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] gpsd link fail on ubuntu 14.04


From: Jason Azze
Subject: Re: [gpsd-dev] gpsd link fail on ubuntu 14.04
Date: Wed, 14 Feb 2018 07:59:32 -0500

On Tue, Feb 13, 2018 at 3:27 PM, Gary E. Miller <address@hidden> wrote:
> Yo Reinhard!
>
> On Tue, 13 Feb 2018 10:53:48 +0100
> Reinhard Arlt <address@hidden> wrote:
>
>> on ubuntu 14.04 linking gpsd fails with
>
> Try now.  Maybe telling Ubuntu to use POSIX 2011 will solve it.

Hi, Gary,

Still no improvement for me.

Trying with git HEAD at ~1230 UTC 2018-02-14, which includes the
"isfinite(): Another try at getting Ubuntu to see isfinite()" commit,
I still get:

gcc -o gpsd -pthread gpsd.o timehint.o shmexport.o dbusexport.o -L.
-lgpsd -lgps_static -lm -lrt
./libgpsd.a(gpsd_json.o): In function `json_tpv_dump':
gpsd_json.c:(.text+0x44a): undefined reference to `isfinite'
gpsd_json.c:(.text+0x464): undefined reference to `isfinite'
gpsd_json.c:(.text+0x47e): undefined reference to `isfinite'
gpsd_json.c:(.text+0x498): undefined reference to `isfinite'
gpsd_json.c:(.text+0x4b2): undefined reference to `isfinite'
./libgpsd.a(gpsd_json.o):gpsd_json.c:(.text+0x4cc): more undefined
references to `isfinite' follow
collect2: error: ld returned 1 exit status
scons: *** [gpsd] Error 1
scons: building terminated because of errors.

This morning I tried on openSUSE Leap 42.3, which has glibc 2.22, and
it failed. And Ubuntu 14.04 uses glibc 2.19, which I didn't discover
until this morning. So the hypothesis we discussed on IRC that the
problem is glibc <  2.19 appears to be disproved.

The list of distros that gpsd won't build on (that I have observed):

CentOS 6 (glibc 2.12)
CentOS 7 (glibc 2.17
Ubuntu 14.04 (glibc 2.19)
openSUSE Leap 42.3 (glibc 2.22)

It _does_ build for me on:

Ubuntu 16.04.3 (glibc 2.23)
Fedora 24 (glibc 2.23 <--- not positive about this. I don't have the
machine at hand.)

-- 
Jason Azze



reply via email to

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