[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: |
Gr Hudy |
Subject: |
Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15 |
Date: |
Thu, 05 Jul 2018 14:31:39 -0600 |
Cheers, Gary-
>Ouch. I gave up on my Tk1 a long time ago. Way too many problems with it.
Sometimes I think that would be nice, but our current system is dependent on
it. We make extensive use of the GPU, and run on batteries where the low power
consumption is important. We are working on a new version that uses the Jetson
TX2...
>Which reminds me, I asked, and you did not answer, where is your stdatomic.h?
D'oh! I had a niggling feeling I had forgotten something.
/refsrc/gpsd-3.17 $ find / -name stdatomic.h
/usr/lib/gcc/arm-linux-gnueabihf/6/include/stdatomic.h
/usr/lib/gcc/arm-linux-gnueabihf/5/include/stdatomic.h
/usr/lib/gcc-snapshot/lib/gcc/arm-linux-gnueabihf/4.9.0/include/stdatomic.h
/refsrc/gcc-6.4.0/gcc/ginclude/stdatomic.h
If I correctly read the output of the cpp command I used in the
Jetson_Tk1_info.txt file I attached before, it should be using the one in
/usr/lib/gcc/arm-linux-gnueabihf/6/include/stdatomic.h
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.
I did this by slaving cpp off of gcc in update-alternatives, then selecting
gcc-6 as the default compiler.
-Gr
----- Original message -----
From: "Gary E. Miller" <address@hidden>
To: address@hidden
Subject: Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04
+ ARM Cortex A-15
Date: Thu, 5 Jul 2018 13:09:53 -0700
Yo Gr!
> To answer a few of your questions in one swell foop, some choices are
> forced by nVidia. The Tegra Jetson Tk1 has custom drivers for the
> nVidia hardware, and nVidia does not support versions of Ubuntu later
> than 14.04 on this device. Also, the version of GCC provided by
> nVidia is 4.8, which is required to build some of the nVidia
> components.
Ouch. I gave up on my Tk1 a long time ago. Way too many problems with
it.
> It's possible that my issue is related to the default gcc-4.8
> include directories being used rather than the gcc-6 includes.
There are two basic sets of include that gcc uses. One in /usr/incude,
and another in a compiler/version specific directory. Not a good idea
to mess with that. Always use the matching directories.
In my case:
/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/include/stdatomic.h
Which reminds me, I asked, and you did not answer, where is your
stdatomic.h?
> I am
> looking into that now. UPDATE: Meh. It _was_ using cpp-4.8, and
> reading the 4.8 include directories. I fixed that, and still get the
> same error when using the gcc-6 include directories.
You are not specific about what you did, but you should never mix
compiler specific includes between compiler versions.
> I have attached the output of scons as gpsd_scons.log . Also, I have
> included more information than you probably want about the machine
> environment as Jetson_Tk1_info.txt.
Your compiler says it is C11, and C11 requires stdatomic.h
> With that in mind, I still have a bit of work to do; the INS we use
> is not mainstream, and has a proprietary binary format I will need to
> massage into the proper form.
Ouch.
> Then I will need to implement code in
> our existing INS server to feed properly formatted messages to gpsd
> as a TCP device . No rest for the wicked.
And the gpsd support for INS/IMU is not as mature as the GPS code.
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
Email had 1 attachment:
+ Attachment2
1k (application/pgp-signature)
- [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gr Hudy, 2018/07/03
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gary E. Miller, 2018/07/05
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gr Hudy, 2018/07/05
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gary E. Miller, 2018/07/05
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15,
Gr Hudy <=
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gary E. Miller, 2018/07/05
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gr Hudy, 2018/07/05
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gary E. Miller, 2018/07/05
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gary E. Miller, 2018/07/05
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gr Hudy, 2018/07/05
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gary E. Miller, 2018/07/05
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gr Hudy, 2018/07/05
- Re: [gpsd-dev] gpsd Build Error "stdatomic.h" Not Found; Ubuntu 14.04 + ARM Cortex A-15, Gary E. Miller, 2018/07/05