gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 +


From: Gary E. Miller
Subject: Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15
Date: Thu, 5 Jul 2018 15:19:54 -0700

Yo Gr!

On Thu, 05 Jul 2018 15:27:09 -0600
Gr Hudy <address@hidden> wrote:

> >> I didn't actually "mess with" any include directories or paths; I
> >> merely switched the cpp being used from cpp-4.8 to cpp-6, to match
> >> the version of gcc.>Maybe not messing with the include directories
> >> directly, but certainly  
> >indirectly when you are flipping between cpp.  gcc should do that
> >automagically, so if you touched that I'd double check what you
> >did.Sorry; my bad. Switching the default cpp doesn't actually
> >change  
> anything. As you pointed out, gcc automagically uses the correct cpp.

OK.

> >Why don't you just turn off HAVE_STDATOMIC_H?  Comment out lines 783
> >to 794 in SConstruct.  You lose a bit of reliability in SHM export
> >and time hinting.In the copy I have (gpsd-3.17), the tests for
> >std_atomic are lines 764 -  
> 775 of SConstruct. I commented them out, and the build fails with:
[...]


> 'atomic_thread_fence' is not a member of 'std'

You also need to turn off HAVE_STDATOMIC.

gpsd_config.h:#define HAVE_STDATOMIC_H 1

Change the 1 to a 0.

Or, figure out why your stdatomic.h is not getting included.

Can you send me a copy of your stdatomic.h?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgpRkmE_47xfP.pgp
Description: OpenPGP digital signature


reply via email to

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