# Trouble building PREEMPT\_RT for Jetson Orin Nano Jetpack 6.1 R36.4.0

**URL:** <https://forums.developer.nvidia.com/t/trouble-building-preempt-rt-for-jetson-orin-nano-jetpack-6-1-r36-4-0/316426>\
**Category:** Jetson Orin Nano\
**Tags:** preempt\_rt, kernel\
**Created:** [December 11, 2024, 2:54am UTC](https://forums.developer.nvidia.com/t/trouble-building-preempt-rt-for-jetson-orin-nano-jetpack-6-1-r36-4-0/316426 "2024-12-11T02:54:50Z")\
**Posts on this page:** 1\
**Showing post:** 34

<div class="post-metadata">

**Author:** ![crose72](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@crose72](https://forums.developer.nvidia.com/u/crose72)\
**Post date:** [December 26, 2024, 5:38am UTC](https://forums.developer.nvidia.com/t/trouble-building-preempt-rt-for-jetson-orin-nano-jetpack-6-1-r36-4-0/316426/34 "2024-12-26T05:38:34Z")

</div>

Hi @DaneLLL

If you recall from my post on [Dec 19](https://forums.developer.nvidia.com/t/trouble-building-preempt-rt-for-jetson-orin-nano-jetpack-6-1-r36-4-0/316426/25) where I tried your suggestion from that other post and I got an error. I’ve checked my toolchain path and I’m sure that it is correct. You suggested that I may not be on a ubuntu-22.04 or 20.04 system but I am. I get the same error.

```auto
  GEN arch/arm64/include/generated/asm/cpucaps.h
make[1]: Entering directory '/home/crose72/jp61/R36.4.0_3/src/Linux_for_Tegra/source/kernel/kernel-jammy-src'
warning: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
warning: LSE atomics not supported by binutils
make[1]: Leaving directory '/home/crose72/jp61/R36.4.0_3/src/Linux_for_Tegra/source/kernel/kernel-jammy-src'
  CC scripts/mod/empty.o
gcc: error: unrecognized command-line option ‘-mlittle-endian’
make[2]: *** [scripts/Makefile.build:295: scripts/mod/empty.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  CC scripts/mod/devicetable-offsets.s
gcc: error: unrecognized command-line option ‘-mlittle-endian’
make[2]: *** [scripts/Makefile.build:122: scripts/mod/devicetable-offsets.s] Error 1
  HOSTCC scripts/mod/mk_elfconfig
make[1]: *** [Makefile:1265: prepare0] Error 2
make: *** [Makefile:31: kernel] Error 2
make: Leaving directory '/home/crose72/jp61/R36.4.0_3/src/Linux_for_Tegra/source/kernel'

```

I don’t think that creating a `src` folder outside of the main `Linux_for_Tegra` works. No one confirmed that the solution you suggested here works: [No data from Joystick Logitech-f710 - #10 by DaneLLL](https://forums.developer.nvidia.com/t/no-data-from-joystick-logitech-f710/290652/10)

I have just tried it again and it doesn’t work.

---

_[View the full topic](https://forums.developer.nvidia.com/t/trouble-building-preempt-rt-for-jetson-orin-nano-jetpack-6-1-r36-4-0/316426)._
