Giter Club home page Giter Club logo

Comments (7)

gregkh avatar gregkh commented on August 19, 2024

Have you built the kernel at /home/bryan/build/linux/ yet?
The tests have "issues" if you don't set up your kernel tree properly, best bet, install 3.17-rc on your machine and run the tests that way, you need to in order to be able to test the code at the moment anyway :)

from kdbus.

bhundven avatar bhundven commented on August 19, 2024

Yes, the 3.17-rc kernel was built and running when I did the kdbus build. I did the build with debian make-kpkg.

from kdbus.

gregkh avatar gregkh commented on August 19, 2024

I have no idea what the debian package does, but it looks like the kernel source headers aren't included properly somehow, sorry, you are on your own here.

from kdbus.

bhundven avatar bhundven commented on August 19, 2024

Ah, I see. I think I found a bug in kernel-package. Thanks!

from kdbus.

bhundven avatar bhundven commented on August 19, 2024

Actually, I spoke too soon. I get the same problems with fresh clones building by hand:

cd ~/build
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux
cp ../current.config .config
make oldconfig
make -j4 && sudo make modules_install && sudo make install
reboot

make install on debian will automatically build the initramfs and update the grub.cfg so next boot will be my new kernel.

cd ~/build
git clone https://github.com/gregkh/kdbus
make

and I am back to the same error in the OP.
So, maybe I need to bisect upstream to see where it broke?

from kdbus.

gregkh avatar gregkh commented on August 19, 2024

try 'make headers_install' and see if that helps. There was an email thread about these issues a few weeks ago on the systemd mailing list, I thought we figured out all the odd combinations, but I guess not,

from kdbus.

bhundven avatar bhundven commented on August 19, 2024

Ah-ha! Ok, so for both builds I've done, neither of them 'make headers_install' to the build directory.
The first build (with make-kpkg) makes a linux-headers package, and does symlink to the location of the installed headers in /lib/modules/<version>/{build,source}, but for some reason kdbus was looking at my actual build directory.

So running headers_install (without setting INSTALL_HDR_PATH) fixed the second build done by hand.
It does seem that the issue is either with the way that the upstream kernel installs headers (when INSTALL_HDR_PATH is set - external to the build directory), or how kernel-package symlinks to the installed header path.
Neither of these have to do with kdbus, so closing this here.

from kdbus.

Related Issues (18)

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.