Giter VIP home page Giter VIP logo

Comments (2)

chrisb2244 avatar chrisb2244 commented on July 20, 2024 1

Thank you for the information about the Dockerfile - building that and installing a few extra packages (libncurses-devel for menuconfig, libelf-dev, squashfs-tools) allowed me to successfully build the kernel and modules.

Loading them by following the instructions in KERNEL_SOURCE also worked smoothly and after rebooting into safe mode to disable the startup application (which I think caused some lockup due to the NI drivers not having been reversioned when I first rebooted) I managed to get everything booting, running as before and with a new module compiled.

Thanks for the help!

from nilrt.

chaitu236 avatar chaitu236 commented on July 20, 2024

Yes, nilrt/19.1/4.14 branch in ni/linux is correct.

The kernel sources already contain a defconfig (nati_x86_64_defconfig) that can be used instead of needing to copy config file from target.

I haven't tested gcc 8.3.1 specifically but was able to compile the kernel by running make nati_x86_64_defconfig and make with gcc 7.4.0 and gcc 6.3.0, Some of our team members also had success compiling with gcc version newer than 8.3.1.

If that doesn't work on your machine, there is a Dockerfile in https://github.com/ni/nilrt/tree/nilrt/master/sumo/scripts/docker (that installs gcc 6.3.0 at this time) that I verified works.

from nilrt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.